4 ms·
Reminds me of CERN’s ROOT which has C/C++ interpreter https://root.cern.ch/ https://root.cern.ch/
by sshb 7y ago
Reminds me of CERN’s ROOT which has C/C++ interpreter https://root.cern.ch/ https://root.cern.ch/
- hexagonal-sun 7y agoHuh, I didn't know about that tool. Looking through the docs this looks impressive, especially since it can do C++ too.
- kzrdude 7y agoTheir new repl is called cling: https://github.com/root-project/cling https://github.com/root-project/cling (They had an old one called C-INT or something like that).
- amirmasoudabdol 7y agoOne of the biggest problem with these repl for complied languages is that they panic as soon as you rerun a command. `cling` integrates with Jupyter notebook too but as soon as you rerun a declaration of a variable, everything collapse and you have to reset the kernel. Maybe I didn’t dig deep enough and there is a way around this but if not, this is quite painful to deal with and a deal breaker.
- sigjuice 7y agoSo repeating something like 'int i = 42;' causes problems?