3 ms·
It's interesting being able to execute the source file like this, by passing in build flags and compilation instructions. But in Emacs I can do this by simply w
by mise_en_place 3y ago
It's interesting being able to execute the source file like this, by passing in build flags and compilation instructions. But in Emacs I can do this by simply writing my code in scratch and then evaluating each piece of it with ctrl-j. I will immediately get output. The LISP read-eval-print loop enables this type of power.
- 7e 3y agoEmacs didn't invent REPL, and it's common everywhere. For Rust: https://github.com/evcxr/evcxr/blob/main/evcxr_repl/README.md https://github.com/evcxr/evcxr/blob/main/evcxr_repl/README.m.... But heck, the compiler is reasonably fast enough that any IDE can REPL by compiling the code. The value here is more in being able to read a script before you run it, then have it run fast, maybe tweaking something here and there. And a compiled script will run 10,000 times faster than LISP, which can be important.
- argiopetech 3y ago> a compiled script will run 10,000 times faster than LISP Putting aside some hyperbole, this depends how long it takes to compile.