Re:Libsass – C implementation of a Sass compiler
by ufo on Monday November 25, 2013 @09:29PM
(#6798703)
What do you mean by "written in the correct way"?
Re:Libsass – C implementation of a Sass compiler
by colechristensen on Monday November 25, 2013 @09:45PM
(#6798769)
Written 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.
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.