You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
execute cling code to change callbacks & variables
nested cling::Interpreter with multiple cling::MetaProcessor
IDK how to do it, but you can create child cling::Interpreter
I know it's possible to use cling as C++ runtime compiler indeed. Originally I did not want to follow this path because JIT compilation was available only in clang, not in other compilers, like Visual studio or gcc. But recently I've noticed that Visual studio 2019 introduced support for cmake & also for clang cross compilation.
From my perspective open source compiler like clang (with scripting cling capability) is always better than closed source code / proprietary compiler, like MS VC, but will it become industry wide - that's the question.
Activity
tapika commentedon Aug 25, 2019
I know it's possible to use cling as C++ runtime compiler indeed. Originally I did not want to follow this path because JIT compilation was available only in clang, not in other compilers, like Visual studio or gcc. But recently I've noticed that Visual studio 2019 introduced support for cmake & also for clang cross compilation.
From my perspective open source compiler like clang (with scripting cling capability) is always better than closed source code / proprietary compiler, like MS VC, but will it become industry wide - that's the question.
But I've noticed that clang took already step towards binary compatibility with MS VC compiler
https://clang.llvm.org/docs/MSVCCompatibility.html
which is always plus to clang (and cling).
I will take a closer took at the repository.
Thank you for providing this link, I was not aware of that one. (Studied indeed quite many alternatives)