Hacker News new | ask | show | jobs
by meain 2355 days ago
There will still be a need for a non compiled language as we might have to change stuff on the fly.
2 comments

Not true at all. See "Handmade Hero 021: Loading Game Code Dynamically" https://youtu.be/WMSBRk5WG58
We could do that with a compiled language.
Hmm ... how would you do that and keep the level of entry low?

Julia would come close to that - script while prototyping and compile when done.

Several Common Lisp implementations do it, ej. SBCL. Why do you think interactivity is opposed to compilation?

I'm not too familiar with Julia but afaik it compiles the forms entered in the REPL as well.

I've never done it and have never heard of it being done but you could replace the code a bit like a JIT compiler does it.