Hacker News new | ask | show | jobs
by harry8 3119 days ago
This is how I'm doing C++ rapid interactive. Combined shell and C++ in a single file that compiles itself and either runs itself or runs objdump on itself. I find it really useful and fast to test something in junkcode. Not quite the same problem as interactive C++ with Jupyter but there's some overlap. Overlap with godbolt as well - find this quicker perhaps because I'm more used to it?

https://github.com/hal88/junkcode/blob/master/template_scrip...

I post in the hope that it is a useful idea to someone and also that people respond with their similar ideas that might be useful to me.