nit
nit copied to clipboard
Shared libraries, C side
Currently, each module can be independently compiled in C, then in a .o file, then all of them linked into a single executable.
It could be useful to enable the separate compilation of a whole Nit library in a .so file that could be used into programs.
The gain will be smaller executable. Compilation time shoul not be impact because ccaches does a good job and avoid the recompilation of already compiled c files.
The difficulties are
- where to put so files?
- how to deal will user/system things?
- how to manage versionning ie updated libraries and old compiled programs that require old version of the library?
This one is far more complicated that expected, so remove the v1.0 flag