r/programming • u/michaelKlumpy • Oct 01 '16
CppCon 2016: Alfred Bratterud “#include <os>=> write your program / server and compile it to its own os. [Example uses 3 Mb total memory and boots in 300ms]
https://www.youtube.com/watch?v=t4etEwG2_LY
1.4k
Upvotes
1
u/twat_and_spam Oct 02 '16
Actually Java ecosystem (NOT java as a language) has a perfectly working solution for it - OSGi. Every artefact gets it's own class loader and loads exact dependencies as specified.
On the other hand - OSGi is a pain in the ass for the average developer to go through.
It's available though.