3 ms·
With a C binding, this library is usable in more or less every language under the sun without messiness. Written in the correct way, a library like this will c
by colechristensen 13y ago
With a C binding, this library is usable in more or less every language under the sun without messiness.
Written in the correct way, a library like this will compile and run on a 15 year old OS, and will probably run on plenty of OSes in 15 years. The dependency hell of building old language binaries with a dozen badly supported other libraries doesn't exist when you link to libc/libstdc++/etc.
There ought to be a speed advantage, but it definitely isn't the only motivation.
- ufo 13y agoWhat do you mean by "written in the correct way"?
- colechristensen 13y agoWritten in a way to make the second half of that statement true :) This involves things like keeping linked libraries to a minimum (and only to use ones which are commonly part of a default unix install), actually testing on a few different platforms, using standard build tools (despite their wonkiness), avoiding (compiler|architecture|OS)-specific features, and all sort of other guidelines that one should follow when trying to write portable software.