Hacker News new | ask | show | jobs
by nickez 3475 days ago
It is a 6MB file produced from several source files.. Does any library count if I concatenate all the source files to a single file?
3 comments

Well if the rules are:

- Libraries must be usable from C or C++, ideally both

- Libraries should be usable from more than one platform (ideally, all major desktops and/or all major mobile)

- Libraries should compile and work on both 32-bit and 64-bit platforms

- Libraries should use at most two files

Then ya, I think it'd fit. I'm not sure why size matters here: the goal is to have libraries that are easily embedded. Anyway, I was mainly curious for the reason. If size is the reason, then that's that. Thanks!

Sure, why not? It's just another distribution method of a library and it seems to fit the criteria.

Why would it matter if the original developer coded everything in a single, huge file or multiple small ones that get distributed as one? Seems arbitrary.

I believe the "any library" should count if it just builds when concatenated. Many won't though.