Comment

Comment by joe_the_user

A shell that reruns the entirety of a compiled language each time you enter a line.

"This has obvious performance disadvantages if you're actually doing computation inside your REPL instance—for each new line, you'll have to redo all old computation. However, this technique has other distinct advantages that make it very desirable for certain use cases."

Are there any cleaver increment compile/run tricks that could speed this up?

Discussion

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton