Skip to content

Comment on Smalltalk simplicity and consistency vs. other languages (2022) [video]parent

Comments

you are suggesting that it'd be the other way around, and I don't see why that'd be the case.

That's just what I observed, and I concluded from the observations that Smalltalk - like Python - must be more difficult to JIT compile than Self or JS for some reason. I asked Stefan Marr for his most recent measurement results, and he was so friendly to post some reports: https://github.com/smarr/are-we-fast-yet/issues/85. As it seems the Graal/Truffle based implementation of SOM (a Smalltalk dialect) is now as fast as Node.js (V8), at least the AST version on the Graal enterprise edition; the Graal community editions of the SOM VMs are still slower though (about the same performance as Cog/OpenSmalltalk by estimate).

SOM stands for "Simple Object Machine". It is not a high performance implementation, nor is it intended as one.

Subhead: "A minimal Smalltalk for teaching of and research on Virtual Machines."

Key characteristics:

"clarity of implementation over absolute performance"

Straight from the SOM home page:

http://som-st.github.io

Thanks. I know SOM and Smalltalk pretty well and have implemented several VMs myself (see https://github.com/rochus-keller/Som/ and https://github.com/rochus-keller/Smalltalk/). SOM was originally designed and implemented by Bak and Lund at Aarhus university. It's very well suited for performance experiments and shares with Smalltalk the relevant features. There is an implementation of the Are-we-fast-yet suite for both SOM and Smalltalk.

I find that hard to believe given the various claims you’ve made.

If it’s true, it makes those claims even more staggering.

“Both SOM and Smalltalk” is a category error.

"Be kind. Don't be snarky. Converse curiously; don't cross-examine."

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.