3 ms·
Isn't this what Cerns ROOT does for C++? https://en.wikipedia.org/wiki/ROOT https://en.wikipedia.org/wiki/ROOT Or maybe more correctly the (currently) cling pa
by throwawai9997 4y ago
Isn't this what Cerns ROOT does for C++? https://en.wikipedia.org/wiki/ROOT https://en.wikipedia.org/wiki/ROOT
Or maybe more correctly the (currently) cling part?
https://root.cern/cling/ https://root.cern/cling/
- wdfx 4y agoor https://github.com/ddovod/jet-live https://github.com/ddovod/jet-live ?
- unsafecast 4y agoThe author specifically mentioned that their linker-loader doesn't require separating reloadable code into a separate shared object, but jet-live does.
- unsafecast 4y agoAs I understand it from the webpage you linked, Cling is an interpreter for C++. OP's linker is supposed to take actual native object code, link it, patch it to try to keep the data in memory and continue running.
- unwind 4y agoThat project looks vastly more complicated, as the mention of a "C++ interpreter" loudly flags. The OP's project looks rather minimal in contrast, and very cool. I think I have had this thought too but I (semi-sadly) don't work with big enough compiled codebases to focus on it now. Epic to see Andreas Fredriksson [1] mentioned as inspiration. I used to work with him in my distant gamedev past, and he certainly keeps knows a thing or two about performance and working with big codebases. Edit: typo. [1] https://deplinenoise.wordpress.com/ https://deplinenoise.wordpress.com/
- pritambaral 4y agoReloading a file in cling requires unloading all dependent files first. That includes destroying objects created from structs/classes in defined dependent files.