Persistent virtual graphical environment for Janet à-la-Smalltalk
|
|
||
|---|---|---|
| jpm_tree/lib | Initial push | |
| src | Whitespace trim | |
| enter.sh | Initial push | |
| hib.stage0.jimage | Added togglable shape with 't' to show statedness gets saved | |
| README.md | Wrote readme (incomplete) | |
| shell.nix | Initial push | |
morpheus
Persistent virtual graphical environment for Janet à-la-Smalltalk
Primer
Smalltalk is a pure object-oriented (no wait don't leave) language. One of its particularities is that it runs inside a virtual machine that is restartable from any given execution point with images.
While this may seem useless to someone used to a compile-run-debug manual development loop, it allows image-driven development, in which you:
- don't restart a program to check for buggy code that you then go modify in the source code, but pause it at the error and redefine the failing code at runtime then resume it to test it immediately
- don't have to write persistence layers with SqlAbstractDatabaseFactoryFactoryMethodInterfaceClass, but simply keep the objects around in memory and hibernate the image then resume/wake it to retreive the data (ie. the programmer stops handling persistence manually like it's the 70s)
- don't "resume" or "reestablish" network connections, but transparently define them then the VM connects/disconnects them when sent into hibernation/awaken up
- .. and more
Janet, a language related to the lisp family of languages, implements just enough tooling to write image-