Zag Smalltalk (2022) [video]
vimeo.com
vimeo.com
"Smalltalk VM Written in Zig with methods stored as type-annotated ASTs"
i see that Pharo is implemented 99.5% in smalltalk, which seem like a more reasonable target, implementing a language in itself is usually desirable
or is zig used just to bootstrap this implementation, and if so, how will this be better than Pharo
That alone is something C failed to improve in 50 years of history, features already provided by other languages of similar vintage and older.
If Zig manages to take a few developers away from C, that is already a win.
[~/ghq/github.com/dvmason/Zag-Smalltalk]$ cloc .
Language files blank comment code
--------------------------------------------------------------------------------
Smalltalk 306 4483 2203 18669
Zig 46 137 1000 10959
Minimal images without UI and a kick-ass package management system should be the foundation of whatever else you want to build with it.
I know there are tools and workarounds, and I'm quite familiar with how things are done there, and I used to be a huge advocate of the Smalltalk style approach. But over time, I've come to see two sides to this discussion.
I need Smalltalk for a lot of backends that have nothing to do with UI.
I saw Pharo 6 and 7 and some 10 instances serving dozens of thousands operations per second in production reliably for years.
Related:
ST 4U 282: Preparing a Pharo Image for Production - https://www.youtube.com/watch?v=TQfKnSR6izY
Overview of Pharo Web Stack [W4S7-EN] - https://www.youtube.com/watch?v=okHHUu9jsw0
How to setup a Pharo project - https://www.youtube.com/watch?v=Wnt3OBhR18I (although for CI I recommend using GitHub workflows these days)
Application development with Pharo - ESUG 2022 - https://www.youtube.com/watch?v=FdZUAWH__vk
Lastly, I'm working in using htmx and use Smalltalk stateless - https://www.youtube.com/watch?v=4_gmvN0pimI
but there is also a commandline repl: https://github.com/svenvc/NeoConsole
and other tools: https://github.com/svenvc/minimal-pharo-server-tools
and thank you for all those links. i hope other readers will find them as well
The guys there enjoy being helpful.