News for hackers. Stuff that matters.
Re:Show HN: Bic – a C interpreter and API explorer by sshb on Thursday September 12, 2019 @09:17AM (#20951056)
Reminds me of CERN’s ROOT which has C/C++ interpreter https://root.cern.ch/
Re:Show HN: Bic – a C interpreter and API explorer by kzrdude on Thursday September 12, 2019 @09:44AM (#20951340)
Their new repl is called cling: https://github.com/root-project/cling (They had an old one called C-INT or something like that).
Re:Show HN: Bic – a C interpreter and API explorer by amirmasoudabdol on Thursday September 12, 2019 @11:24AM (#20952528)
One 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.
Re:Show HN: Bic – a C interpreter and API explorer by sigjuice on Thursday September 12, 2019 @03:10PM (#20955189)
So repeating something like 'int i = 42;' causes problems?
Re:Show HN: Bic – a C interpreter and API explorer by hexagonal-sun on Thursday September 12, 2019 @09:30AM (#20951189)
Huh, I didn't know about that tool. Looking through the docs this looks impressive, especially since it can do C++ too.