nit icon indicating copy to clipboard operation
nit copied to clipboard

Shared libraries, C side

Open privat opened this issue 10 years ago • 1 comments

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?

privat avatar May 14 '15 22:05 privat

This one is far more complicated that expected, so remove the v1.0 flag

privat avatar Jul 22 '15 20:07 privat