3 ms·
You can do that right now with Love2D and a stub game loop that sources the actual implementations every second or two.
by CyberDildonics 11y ago
You can do that right now with Love2D and a stub game loop that sources the actual implementations every second or two.
- davexunit 11y agoThat is a far cry from a REPL.
- CyberDildonics 11y agoIt's better than a REPL, that allows you to write a game completely live. I'm not sure what you think is lost since you didn't back up what you are saying with anything.
- davexunit 11y agoIt is strictly less powerful than a REPL. Claiming that you can't live code a game at a REPL is false, because I do it on a regular basis. When I write games in Scheme, I use a REPL to write the game live, doing all of my editing within Emacs. I do not have to save files for the code to be evaluated, I just press a keystroke to evaluate the specific form I'm interested in. I can evaluate more fine-grained sections of code, not only entire files.
- CyberDildonics 11y agoPressing a keystroke is all it takes to save a file. Also if you are selectively executing parts of files, how is it that you are editing the live running source code?