#glamoroustoolkit — Public Fediverse posts
Live and recent posts from across the Fediverse tagged #glamoroustoolkit, aggregated by home.social.
-
CW: scheme envy
Experimenting with #GlamorousToolkit (AKA #pharo with more bling). Slowly getting the hang of things by exploring the interactive examples, inspecting things, fixing code, creating new methods, etc. Then I come across a seemingly innocent example of #smalltalk message syntax using basic arithmetic:
3 factorial raisedTo: 2 squared; squared
I expect it to return a huge number, but instead it's 36. Eventually it dawns upon me that I may have an integer overflow, so I spend around 10 minutes working around it, eventually manage to figure out how to promote the intermediate result to a LargeInteger, evaluate it and the IDE locks up and is killed by an OoM error...
Never expected to miss #scheme and its numeric tower after being handed everything else it lacks on a silver platter, but here we go :blobcatoh:
-
GlamorousToolkit and Pharo are incredible. I've been hacking together a simple DSL for synths (for constructing CSound/SuperCollider synths in Pharo/Smalltalk), and it's taken me around an hour to prototype something surprisingly sophisticated.