←back to thread

142 points todsacerdoti | 1 comments | | HN request time: 0.232s | source
Show context
HexDecOctBin ◴[] No.44379731[source]
Is WASM a good target for REPL-driven programming? I haven't studied it in detail, but I do remember that it was Harvard architecture. Would that mean that code can't be updated at runtime in real implementations?
replies(4): >>44379836 #>>44379878 #>>44379907 #>>44385905 #
1. jackdaniel ◴[] No.44379836[source]
ECL features native code and bytecodes vm for targets without incremental compilation support - both native and bytecode can be freely mixed at runtime.

That means that you may interactively use repl to call functions that were compiled ahead of time and to add new functions even on uncooperative targets.

After you've finished prototyping you may compile the finished library to native ahead of time.