Re:Single-file C/C++ public-domain/open source libraries wit...
by nickez on Saturday December 17, 2016 @06:21PM
(#13203341)
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?
[ Parent
| on HN ]
Re:Single-file C/C++ public-domain/open source libraries wit...
by quinthar on Saturday December 17, 2016 @06:32PM
(#13203388)
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!
Re:Single-file C/C++ public-domain/open source libraries wit...
by BinaryIdiot on Saturday December 17, 2016 @10:24PM
(#13204143)
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.
Re:Single-file C/C++ public-domain/open source libraries wit...
by netheril96 on Sunday December 18, 2016 @09:47PM
(#13209170)
I believe the "any library" should count if it just builds when concatenated. Many won't though.