Squeak 6.1

(squeak.org)

197 points by fniephaus10 hours ago

10 comments

  • avaer9 hours ago
    Just like learning Lisp will make you rethink programming languages, and learning Erlang will make you understand the true power of concurrency: learning Smalltalk will make you understand what &quot;object oriented&quot; actually means.<p>I haven&#x27;t used Squeak since college but I&#x27;m glad it was part of the cirriculum.<p>Btw, almost all of Javascript&#x27;s good parts come from Smalltalk.
    • kitd7 hours ago
      For me, Smalltalk&#x27;s &quot;wow&quot; moment was the concept of a persistently running image, with the developer&#x27;s job being to mould and manipulate it into the shape s&#x2F;he wants.
      • whartung4 hours ago
        Ive always &quot;dreamed&quot; of having something like the ST image but backed by persistent virtual memory, not simply RAM.<p>(Crudely) mmap the ST image to a 100GB file and just change pages. Let the OS flush the pages back and forth.<p>Maybe full boat, heap sweeping GCs would be Bad as it pages the entirety of the heap in and out. But we have (had) lots of RAM these days. We have generational GCs that leave idle stuff alone. Its no doubt impractical, but I think it would be neat to have the entirety of my historical email in the global &quot;mailbox&quot; array, and I can build indexes off it as I wished. But the mail isn&#x27;t &quot;on disk&quot;, it&#x27;s all marshalled up as first class objects.<p>I don&#x27;t know enough about it, no doubt it &quot;won&#x27;t work&quot;, but the idea of simply mapping the entire, large, ST VM heap to a persistent backing store, just be interesting I would think.<p>Dangerous too, as there is a demarcation between &quot;running image&quot; and &quot;saved image&quot;. But, still think it could be interesting.
        • unignorant4 hours ago
          I&#x27;m also interested in this and made decent progress on a git-style content addressed image where everything is identified by hash and residency determines what&#x27;s in memory. For example, there&#x27;s a filesystem on the image that works this way and you can page over the &quot;cold&quot; non-resident bytes for very large files that you would not want to hold in memory.<p>You don&#x27;t persist the state of the full image continuously to the host disk, but any given state (new programs, new runtime state, filesystem) can be saved via a delta, not a full rewrite, due to this representation.<p>So this is a little different than what you are talking about, but I&#x27;d say it&#x27;s possible.
        • actionfromafar2 hours ago
          Sounds a somewhat like GemStone&#x2F;S<p>I think also IBM has or had somewhat similar concepts.<p><a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;GemStone&#x2F;S" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;GemStone&#x2F;S</a>
      • packetlost6 hours ago
        There are Lisps with similar semantics. It faded (further) out of popularity for a number of reasons, but it still has its niche.
        • pjmlp4 hours ago
          Additionally, although not the same, this kind of relates to JIT caches as well.
        • Quitschquat6 hours ago
          Which Lisps were those? I&#x27;m kinda interested in this space.
          • jlokier1 hour ago
            It&#x27;s not widely known, but GNU Emacs works like this.<p>When you launch the Emacs editor, you&#x27;re loading an Emacs Lisp image that was populated at build time by running Lisp code, with the resident Lisp definitions &quot;dumped&quot; to make an image file.<p>The image file used to actually be the `emacs` executable you&#x27;d run, using a clever but non-portable mechanism called `unexec` to make an executable.<p>But as of version 27.1 (in 2020), the image file is separate from the executable for portability reasons.
          • mike_ivanov6 hours ago
            All Common Lisps can do that, though it is not a part of the standard. See e.g. (sb-ext:save-lisp-and-die)
          • packetlost4 hours ago
            CL and Janet both come to mind as supporting image-based deployment.
      • waldrews4 hours ago
        The only mainstream-ish language where that still happens? R. Too bad, there&#x27;s a lot more use cases for this sort of thing now - versioning, anything non-persistent agents touch, collaboration, auditable enterprise LOB. It&#x27;s 2026, why are we (or our agents) still writing serialization code? Even if the AI&#x27;s write the boilerplate, the state management fragility is often a tax&#x2F;risk.
        • NetMageSCW56 minutes ago
          Is APL no longer mainstream-ish?
        • e12e3 hours ago
          You could argue that a Claude code session also works like a lisp&#x2F;smalltalk image.
      • TheTaytay6 hours ago
        I wish this didn’t go out of fashion as much as it did. An environment that you perturb makes more sense in a lot of ways than a “tear it down and restart” model.
        • fidotron5 hours ago
          I think the gnarlier part is that it reveals how much (and how error prone) initialization code is. When objects start glued together in the right structure a lot becomes magically easier to deal with.
        • lilbigdoot5 hours ago
          I&#x27;m considering this for my language but it&#x27;s a lot more complex to implement (especially with today&#x27;s ecosystems) and I keep wondering if it&#x27;s worth it.
        • xjdjdkdjn5 hours ago
          Imagine inheriting not your colleague’s code, but his entire machine. Then you discover this machine also is the production environment.
    • uncircle7 hours ago
      Lisp, Forth, Erlang, Smalltalk, and Rebol, so easily forgotten.<p>All languages that multiply your insight into the nature of computer programming. A bit sad that many just stop at the first of these, and many more don’t even venture past their Pythons and Javascripts.
      • iLemming1 hour ago
        Lisp is not &quot;forgotten&quot;. It&#x27;s quite alive, kicking and running [big] circles.<p>Nubank (the largest digital bank in the world) using Clojure as their primary driver grew from ~12M customers in 2019 to 131M in 2025 - almost 1000% growth in less than a decade. JPMorgan that has about 80M customers took around 150 years and dozens of acquisitions.<p>Apple, Walmart, Netflix, Cisco, Amazon - they all use Clojure. Google and Grammarly use Common Lisp.<p>Check the GitHub language stats and be surprised to see Emacs Lisp among the visible top. There&#x27;s so much Elisp on GitHub alone - it&#x27;s just effing crazy. That fact alone at least should be surprising. Remember? This is a not a general-purpose language - it&#x27;s made for one and only thing, tis a damn configuration language for a text editor. And no, it isn&#x27;t &quot;some old stuff&quot;, check r&#x2F;emacs - new packages get announced daily! I&#x27;m not even exaggerating - new stuff for Emacs comes every single day. Who the heck are all these psychos? Have they not realized how &quot;forgotten&quot; and &quot;dead&quot; Lisp was?<p>Seriously though, Lisp dialects are enormously practical, it is inconceivable today to find a runtime where you just can&#x27;t run stuff built with a Lisp. And Lispers keep adding more - Janet, Jank, Jolt, Fennel, Clojure-Dart, Cljbang, Squint - all are pretty young, yet already not some &quot;useless toys&quot; - they&#x27;re used to build real stuff.
      • ux2664787 hours ago
        I find that lamentation a bit funny, because the list in practice is never really complete. For instance, you forgot the mighty Prolog. Surely, tcl belongs on there too.
        • Qem6 hours ago
          Also SNOBOL&#x2F;Icon.
        • zelphirkalt4 hours ago
          The more of them you explore, the more insight you get. The list does not have to be complete. It just needs to list some languages, that are truly different in how they work and what the ideas behind them are.
        • uncircle6 hours ago
          I blame the unknown unknowns. I don’t haven’t learned Prolog yet. Alas, enlightenment still eludes me.<p>(Agreed that TCL is pretty cool)
      • konart7 hours ago
        And that&#x27;s completely natural. Compare it with woodworking.<p>Yes, some people would dive deep into the craft and create works of art, exquisite furniture and tools they need to make it even better.<p>But those are the few. For the most of woodworkers this is just something they somehow learned to do on a level needed to be able to get a job and make living.
      • tvink7 hours ago
        Wouldn&#x27;t you just do elixir now? It&#x27;s like erlang but even wilder.<p>I think smalltalk and erlang are so interesting because they model the idea of small computers so differently.<p>Lisp just feels like the purest way to understand what the units of a programming language really is.
        • sbuttgereit6 hours ago
          From what I&#x27;ve seen... I think if I were writing business applications, I&#x27;d reach for Elixir... if I were writing something lower level like communication software, I&#x27;d reach for Erlang.<p>I have written a fair amount of Elixir (and targeting business applications) and I think Elixir&#x27;s expressiveness lends itself well to making more abstract models of the business processes and data seen in solving business problems. However, writing Elixir I find you end up reading a lot of Erlang and in certain problem spaces I could imagine the appeal over Elixir. I could absolutely see where if I were writing more technically oriented programs.... programs closer to the hardware in some ways or programs designed to communicate with other programs (protocols, etc.) I could see Erlang as being a more clear and direct language in these circumstances.<p>All of this is very hand-wavy, but it&#x27;s my impression.
        • ux2664787 hours ago
          For me, Elixir misses the mark. If you&#x27;re an unc with a background in Ruby or that era of webdev, I can see the appeal. It&#x27;s a familiar set dressing. I don&#x27;t have that background, I much prefer the syntactic structure of Erlang&#x27;s psuedo-horn clauses. Both for similar familiarity reasons (I knew Prolog before I touched Erlang), as well as a general preference for the simplicity.
          • vanderZwan2 hours ago
            &gt; <i>If you&#x27;re an unc with a background in Ruby or that era of webdev</i><p>Millennials catching strays I see.
          • uncircle6 hours ago
            The similarity of Ruby and Elixir is only extremely superficial and betrays your lack of familiarity with the language.
            • ux2664785 hours ago
              I didn&#x27;t imply otherwise, nor is the story different on the Erlang-Prolog axis (actually it&#x27;s even more pronounced there.) I literally called it &quot;set dressing&quot;. Where I think you go off the rails is that you&#x27;re conflating surface-level things with irrelevance. Which isn&#x27;t really true, especially in matters of taste.<p>I find this to be a very strange thing to get defensive about. It&#x27;s not exactly a subtle part of Elixir&#x27;s history. It was pretty well documented to be born out of the creator&#x27;s dissatisfaction with concurrency in Ruby, and simultaneously, for a more Ruby-like language on the BEAM. That doesn&#x27;t mean it&#x27;s literally Ruby-on-the-BEAM (which was originally attempted, and didn&#x27;t work out), however mistaking that as cause to dismiss the link between the two and the carry-over appeal for developers is an unsound overcorrection.
          • foldr4 hours ago
            Phoenix is a big part of the appeal of Elixir, independently of the differences between Elixir and Erlang.
        • pjmlp4 hours ago
          While I appreciate guest languages for bringing new ideas to specific language platforms, at the end of the day I rather use those that are developed alonside the platform, hence Erlang instead of Elixir, at least if I would be ever doing something with it again.<p>Last time I touched Erlang, &quot;Learn you some Erlang for great good!&quot; was fresh out of the printers.
          • doublerabbit3 hours ago
            I loved Erlang. I want to use it, those who can master mnesia natively are a powerful wizard&#x2F;ess. I&#x27;ve only touched the surface and seen it&#x27;s raw power.<p>I&#x27;ve just not had time to learn further. As swapping between languages when trying to complete my original Tcl project is tricky. I&#x27;m now poking around with Crystal.<p>A rookie example of erlang and converting strings to base16. I posted in haste a while ago on Tcl&#x27;s IRC but fun. Never did implement the teddy bear colour.<p><a href="http:&#x2F;&#x2F;paste.tclers.tk&#x2F;6165" rel="nofollow">http:&#x2F;&#x2F;paste.tclers.tk&#x2F;6165</a>
        • phplovesong5 hours ago
          Elixir brings mostly a new syntax, and little more. I rather use Gleam IF i really need to use the BEAM.<p>Other than that, vanilla Erlang is THE way to go.
      • NetMageSCW54 minutes ago
        No love for APL?
      • andsoitis7 hours ago
        And Prolog and Assembly!
        • uncircle5 hours ago
          Assembly is very useful to learn, but does not bring as strong a paradigm shift, as it is similar to most other imperative, procedural languages.
          • vanderZwan1 hour ago
            Bootstrapping a Forth in assembly is probably a better option, two birds with one stone.
    • addaon9 hours ago
      &gt; almost all of Javascript&#x27;s good parts come from Smalltalk<p>Is this underselling the role of Self in JS’s prototype-based object system, or saying that a prototype-based object system is not one of the good parts?
      • sscaryterry8 hours ago
        Prototypical inheritance has caused so many, many vulnerabilities...
    • sebastianconcpt5 hours ago
      And some months ago I was flirting with the idea of &quot;Smalltalk and Erlang had a baby&quot; and have Smalltalk syntax to an actor environment ran by a Erlang VM style. Plus some insanely cool ideas about a causal debugger for distributed bugs.<p>The problem is that as beautiful as programing in that sound, we&#x27;re not even coding anymore, AIs will take the fun of it.<p>Although, thinking long term and for understendabilitymaxxin and reliabilitymaxxin it might still be worth having something like that.<p>Since Smalltalk can be so close to english and Erlang VM so reliable, humans and LLMs should thrive on it.
      • jonjacky4 hours ago
        <i>I was flirting with the idea ... Plus some insanely cool ideas ... The problem is that as beautiful as programing in that sound, we&#x27;re not even coding anymore, AIs will take the fun of it.</i><p>We&#x27;ve come to this. The mere existence of AI is discouraging people from pursuing creative ideas. This is a catastrophe! It&#x27;s not just taking the fun out of life, it&#x27;s destroying alternative futures we might have built.<p>There is this advice for dealing with tyrants and would-be tyrants: &quot;Do not obey in advance.&quot; In your case that means pursuing and implementing your exciting ideas.<p><i>... it might still be worth having something like that.</i><p>Yes! Good luck with it!
        • moomoo114 hours ago
          i think it’s a good thing.<p>experts will emerge from this convenience focused paradigm we are entering so the output quality will certainly improve imo.
      • mncharity2 hours ago
        &gt; we&#x27;re not even coding anymore, AIs will take the fun of it.<p>Or... Writing a compiler from a large language test suite is already an LLM sweet spot. Writing code which is atypically pretty and readable isn&#x27;t... but there&#x27;s at least a possibility of that changing someday.<p>Imagine a future Lisp-ish culture of &quot;write code to communicate <i>with humans</i> - prioritize readability - machine execution is incidental&quot; and &quot;don&#x27;t merely solve a problem - write a language for the problem space (and keep it cleanly updated)&quot;... but moving at LLM-catalyzed speed. So <i>much</i> fun.
      • gliall_err5 hours ago
        Metalworking, lathes, precision tooling, are all way more valuable skills and tools today than they ever were before the industrial revolution.<p>I suspect that over time a good grasp of fundamentals and great tooling will only get more valuable in software as well as automation expands, in whichever form.<p>Automation expands the demand for skills. It can never diminish it. Required variety indicates that complexity doesn&#x27;t go away with automation, and at some level someone will have to understand and make decisions about complex issues. You can&#x27;t automate all the way down. Or, put another way, everything is already automated all the way down. The expansion of automation as we perceive it is merely the growth of complexity over new dimensions.<p>Or put a third way: automation means two different things: constraint and liberty. The confusion arising from not discerning which one is in force makes it seems like one can grow unbounded. Liberty requires constraint and vice versa.
    • brap1 hour ago
      I also had Squeak in my curriculum! From what I remember it had a unique object hierarchy or something like
    • WillAdams7 hours ago
      I would give a lot for a version of Squeak which could instantiate standard GUI controls and easily compile to a stand-alone binary or HTML page w&#x2F; included JavaScript.
      • Qem6 hours ago
        This looks like Gilad Bracha&#x27;s Newspeak: <a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Newspeak_(programming_language)" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Newspeak_(programming_language...</a>
      • mpweiher4 hours ago
        Objective-Smalltalk with Interscript. <a href="https:&#x2F;&#x2F;objective.st" rel="nofollow">https:&#x2F;&#x2F;objective.st</a><p>It ain&#x27;t a version of Squeak, though.
      • Smalltalker-806 hours ago
        SmallJS (<a href="https:&#x2F;&#x2F;small-js.org" rel="nofollow">https:&#x2F;&#x2F;small-js.org</a>) does what you want mostly. In the sense that a standalone desktop app can be made with NW.js.
      • pasc18785 hours ago
        For the HTML&#x2F;JS side see <a href="https:&#x2F;&#x2F;amber-lang.net" rel="nofollow">https:&#x2F;&#x2F;amber-lang.net</a> but not updated for a few years
    • rahoulb6 hours ago
      I didn&#x27;t understand programming at all until I read about (not even tried) Smalltalk. And it&#x27;s because of Smalltalk I write Ruby today.<p>My favourite thing about it is the lack of &quot;reserved words&quot; - just a handful of punctuation marks. It&#x27;s incredibly pure - almost all of the syntax is &quot;send this message to this object&quot;.
      • gosukiwi1 hour ago
        I learned about Smalltalk from Ruby, because DHH recommended a book about Smalltalk back in the day. I really enjoy Smalltalk-style OOP, but at the same time it can be so different to Java enterprise OOP with all its patterns.<p>Nowadays I write a lot of TypeScript and prefer having a type system (especially for agentic coding), but Ruby is one of my favorite languages to write myself :)
    • vanderZwan5 hours ago
      &gt; <i>Btw, almost all of Javascript&#x27;s good parts come from Smalltalk.</i><p>That&#x27;s E and Self erasure.
    • throwatdem123117 hours ago
      As a Ruby developer this video about Pharo smalltalk made me a smalltalk believer — not surprising because Ruby was heavily inspired by smalltalk.<p><a href="https:&#x2F;&#x2F;youtu.be&#x2F;HOuZyOKa91o" rel="nofollow">https:&#x2F;&#x2F;youtu.be&#x2F;HOuZyOKa91o</a>
      • Fervicus5 hours ago
        Thanks for sharing. This piqued my interest.
    • kar11815 hours ago
      If you think of it as message oriented it makes so much more sense.
    • CobrastanJorji3 hours ago
      Georgia Tech in the Mark Guzdial days?
      • Jtsummers3 hours ago
        That was going to be my guess, too. Looking through some syllabi over the years it looks like they used Scala for it for a while and Python, more recently.
    • lilbigdoot5 hours ago
      I thought JS had a lot of Scheme inspiration?
      • Jtsummers5 hours ago
        Scheme and Self were both major influences, along with Java&#x27;s syntax (by fiat).<p><a href="https:&#x2F;&#x2F;dl.acm.org&#x2F;doi&#x2F;10.1145&#x2F;3386327" rel="nofollow">https:&#x2F;&#x2F;dl.acm.org&#x2F;doi&#x2F;10.1145&#x2F;3386327</a>
    • ramesh319 hours ago
      &gt;Btw, almost all of Javascript&#x27;s good parts come from Smalltalk.<p>Like what, exactly? I&#x27;m genuinely curious. There is no root object or message passing in JS, and the OO aspects are only incidentally bolted on (classes don&#x27;t actually exist, prototypal inheritance was an afterthought), named params are newer sugar, and polymorphism is a struggle due to all of the above. I&#x27;ve always thought of JS as what Crockford himself said: &quot;a Lisp in C&#x27;s clothing&quot;.
      • tl8 hours ago
        Ignore the syntax for a moment. Minus Javascript, HTML + CSS is a green screen terminal with better fonts and image support. Message passing (fetch, XMLHttpRequest, polling, streaming, etc...) is how you build something that feels like a real tool out a system where the sandbox gets in the way of everything you want to hold locally.
      • Smalltalker-806 hours ago
        I agree, but JS has evolved so far, that when using TypeScript, you can mostly ignore the underlying mismatch.
      • tvink7 hours ago
        A big influence for modern js is chained enumeration, like forEach
    • bowsamic7 hours ago
      The main thing you’ll learn is that actually the static and inflexible abstractions of an operating system do a lot to protect the system integrity and prevent everything from blowing up. Many smalltalk VMs rely on recovery features for a reason
      • codesnik6 hours ago
        recovery features? how do they work? and what smalltalk runtime do you have in mind? I still have a very vague understanding on how changes could be applied to a production running images, or if there is one and preferable way to do that.
        • igouy4 hours ago
          For example:<p><a href="https:&#x2F;&#x2F;drcuis.github.io&#x2F;TheCuisBook&#x2F;The-Change-Log.html" rel="nofollow">https:&#x2F;&#x2F;drcuis.github.io&#x2F;TheCuisBook&#x2F;The-Change-Log.html</a>
  • taolson4 hours ago
    Congrats to the Squeak 6.1 team! I was an early contributor to Squeak from when Alan Kay&#x27;s group was at Apple (I see that SameGame, the first game implemented in Morphic is still in the image), and still enjoy following the progress of Squeak and all of its spinoffs.
  • Decabytes6 hours ago
    one thing I love about Smalltalk is being able to inspect the code as it&#x27;s running. Especially from the GUI. You can just be like Oh I wonder where the code for this button is from, inspect it, and it takes you right to the code. It&#x27;s a shame we can&#x27;t have this level of introspection without negative performance implications.
    • eitland6 hours ago
      We could in Java Swing (and Visual basic, but lets not talk about that) as well. Well, not runtime, but we could design applications and just right click on the objects in the IDE and go directly to the click (or double click or right click) handlers.<p>Then again, not having to disable this for runtime is a feature if you ask me.<p>Yes, current web applications are prettier and easier to upgrade but we lost a lot on the way wrt developer experience and ux.
  • davexunit8 hours ago
    What are the best books&#x2F;papers&#x2F;blog posts to learn about Morphic&#x27;s architecture? I&#x27;m not a user of any Smalltalk implementation but I&#x27;d like to learn more as the Smalltalk approach to UI is very interesting.
    • pjmlp8 hours ago
      Morphic started on Self actually, maybe start there?<p>I am unaware how it evolved since then, especially given the differences between Self and Smalltalk.<p><a href="https:&#x2F;&#x2F;handbook.selflanguage.org&#x2F;2017.1&#x2F;morphic.html" rel="nofollow">https:&#x2F;&#x2F;handbook.selflanguage.org&#x2F;2017.1&#x2F;morphic.html</a><p><a href="https:&#x2F;&#x2F;sin-ack.github.io&#x2F;posts&#x2F;morphic-intro&#x2F;" rel="nofollow">https:&#x2F;&#x2F;sin-ack.github.io&#x2F;posts&#x2F;morphic-intro&#x2F;</a>
      • srean4 hours ago
        @DonHopkins your comment is flagged dead.<p>Is it because of its length giving false signals ?
        • DonHopkins4 hours ago
          After Self, the short lineage is Self (~1992, Smith &amp; Maloney) -&gt; Squeak port (Maloney &amp; Ingalls, Etoys&#x2F;Scratch 1) -&gt; two independent JavaScript reimplementations, plus Squeak-in-the-browser via SqueakJS. I dug into this same question a decade ago and posted a longer treatment -- my email exchange with Alan Kay on MVC vs Morphic vs watchers, plus replies on Self&#x27;s &quot;soup of objects&quot; UI. Good philosophical complement to the architectural links below:<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=8841428">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=8841428</a><p>Self Morphic is not a classical class hierarchy. The handbook describes parallel traits objects (shared behavior) and prototypes (structure), with instances delegating via parent* slots and &quot;copy-down&quot; differential prototypes. Bottom-up: morph copy, tweak, factor shared behavior into a traits object. Worth reading section 7.3 alongside pjmlp&#x27;s links.<p><a href="https:&#x2F;&#x2F;handbook.selflanguage.org&#x2F;2017.1&#x2F;morphic.html" rel="nofollow">https:&#x2F;&#x2F;handbook.selflanguage.org&#x2F;2017.1&#x2F;morphic.html</a><p>The Squeak port is single-inheritance Smalltalk classes -- closer to what most people mean by &quot;OOP UI toolkit.&quot; Etoys is Morphic. Full Squeak Morphic in a browser, no install:<p><a href="https:&#x2F;&#x2F;try.squeak.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;try.squeak.org&#x2F;</a><p>Squeak 6.1 release notes (Objectland, tree morph overhaul):<p><a href="https:&#x2F;&#x2F;squeak.org&#x2F;release_notes&#x2F;6.1&#x2F;" rel="nofollow">https:&#x2F;&#x2F;squeak.org&#x2F;release_notes&#x2F;6.1&#x2F;</a><p>In JavaScript there are two Morphic implementations people often conflate. Same family, not the same code.<p>Dan Ingalls&#x27;s Lively Kernel &#x2F; Lively Web (~2008, Sun) is the full live system: modular core&#x2F;lively&#x2F;morphic&#x2F; (Halos, Serialization, Scrubbing, Connectors, constraints), plus IDE, parts bin, world persistence. JSConf 2012 demo:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;LivelyKernel&#x2F;LivelyKernel" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;LivelyKernel&#x2F;LivelyKernel</a><p><a href="https:&#x2F;&#x2F;github.com&#x2F;LivelyKernel&#x2F;LivelyKernel&#x2F;tree&#x2F;master&#x2F;core&#x2F;lively&#x2F;morphic" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;LivelyKernel&#x2F;LivelyKernel&#x2F;tree&#x2F;master&#x2F;cor...</a><p><a href="http:&#x2F;&#x2F;youtu.be&#x2F;QTJRwKOFddc" rel="nofollow">http:&#x2F;&#x2F;youtu.be&#x2F;QTJRwKOFddc</a><p>Jens Monig&#x27;s morphic.js (~2010, BYOB4&#x2F;Snap!) is a separate codebase: single-file Canvas kernel (~13k lines), World&#x2F;Hand&#x2F;stepping&#x2F;dirty rects, template peel-off, ScrollFrame inertial pan. Jens names Ingalls&#x27;s LK as the gold standard but says it is not a direct port -- though fullCopy() was ported almost literally from Squeak, comments included. Snap bundled it from day one (2013-03-16). Standalone extract:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;jmoenig&#x2F;Snap&#x2F;blob&#x2F;master&#x2F;src&#x2F;morphic.js" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;jmoenig&#x2F;Snap&#x2F;blob&#x2F;master&#x2F;src&#x2F;morphic.js</a><p><a href="https:&#x2F;&#x2F;github.com&#x2F;jmoenig&#x2F;Snap&#x2F;blob&#x2F;master&#x2F;docs&#x2F;morphic.txt" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;jmoenig&#x2F;Snap&#x2F;blob&#x2F;master&#x2F;docs&#x2F;morphic.txt</a><p><a href="https:&#x2F;&#x2F;github.com&#x2F;jmoenig&#x2F;morphic.js" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;jmoenig&#x2F;morphic.js</a><p><a href="https:&#x2F;&#x2F;wiki.squeak.org&#x2F;squeak&#x2F;6550" rel="nofollow">https:&#x2F;&#x2F;wiki.squeak.org&#x2F;squeak&#x2F;6550</a><p><a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Morphic_(software)" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Morphic_(software)</a><p>On multiple inheritance: neither JS port uses it, and Self Morphic didn&#x27;t really either. LK cheats with an explicit Trait composition layer (Object.subclass plus Trait(...) mixins). Snap cheats with Squeak-style copying (fullCopy, isTemplate peel-off). The live feel comes from copyable morph trees and shared behavior, not MI.<p>If you want one more readable architecture tour beyond sin-ack&#x27;s intro, the Self handbook chapter 7 is still the root document; everything else is commentary on it.
          • srean4 hours ago
            I had vouched for your comment but it did not have any effect. Please email Dang, it seems to be a false positive of some sort.<p>Love your long comments.<p>&gt; Oh I&#x27;ve posted much longer than that (see the one I linked) without getting flagged<p>Those were simpler times
            • Jtsummers4 hours ago
              I vouched as well, but it&#x27;s [flagged][dead] not just [dead] which is usually the result of user moderation, not the mods or auto moderation (which typically will just render as [dead] in either case). Which was odd because it was [flagged][dead] by the time it was 4 minutes old (maybe earlier, that&#x27;s just when I saw it).
            • DonHopkins4 hours ago
              I am just hoping and praying somebody will post something about Bakelite. Hold my beer!<p>Oh shit, I just missed a Bakelite discussion 17 days ago!<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=49026992">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=49026992</a><p>But there&#x27;s a comment from 9 days ago that&#x27;s still replyable. ;)
      • DonHopkins5 hours ago
        After Self, the short lineage is Self (~1992, Smith &amp; Maloney) -&gt; Squeak port (Maloney &amp; Ingalls, Etoys&#x2F;Scratch 1) -&gt; two independent JavaScript reimplementations, plus Squeak-in-the-browser via SqueakJS. I dug into this same question a decade ago and posted a longer treatment -- my email exchange with Alan Kay on MVC vs Morphic vs watchers, plus replies on Self&#x27;s &quot;soup of objects&quot; UI. Good philosophical complement to the architectural links below:<p><a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=8841428">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;item?id=8841428</a><p>Self Morphic is not a classical class hierarchy. The handbook describes parallel traits objects (shared behavior) and prototypes (structure), with instances delegating via parent* slots and &quot;copy-down&quot; differential prototypes. Bottom-up: morph copy, tweak, factor shared behavior into a traits object. Worth reading section 7.3 alongside pjmlp&#x27;s links.<p><a href="https:&#x2F;&#x2F;handbook.selflanguage.org&#x2F;2017.1&#x2F;morphic.html" rel="nofollow">https:&#x2F;&#x2F;handbook.selflanguage.org&#x2F;2017.1&#x2F;morphic.html</a><p>The Squeak port is single-inheritance Smalltalk classes -- closer to what most people mean by &quot;OOP UI toolkit.&quot; Etoys is Morphic. Full Squeak Morphic in a browser, no install:<p><a href="https:&#x2F;&#x2F;try.squeak.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;try.squeak.org&#x2F;</a><p>Squeak 6.1 release notes (Objectland, tree morph overhaul):<p><a href="https:&#x2F;&#x2F;squeak.org&#x2F;release_notes&#x2F;6.1&#x2F;" rel="nofollow">https:&#x2F;&#x2F;squeak.org&#x2F;release_notes&#x2F;6.1&#x2F;</a><p>In JavaScript there are two Morphic implementations people often conflate. Same family, not the same code.<p>Dan Ingalls&#x27;s Lively Kernel &#x2F; Lively Web (~2008, Sun) is the full live system: modular core&#x2F;lively&#x2F;morphic&#x2F; (Halos, Serialization, Scrubbing, Connectors, constraints), plus IDE, parts bin, world persistence. JSConf 2012 demo:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;LivelyKernel&#x2F;LivelyKernel" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;LivelyKernel&#x2F;LivelyKernel</a><p><a href="https:&#x2F;&#x2F;github.com&#x2F;LivelyKernel&#x2F;LivelyKernel&#x2F;tree&#x2F;master&#x2F;core&#x2F;lively&#x2F;morphic" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;LivelyKernel&#x2F;LivelyKernel&#x2F;tree&#x2F;master&#x2F;cor...</a><p><a href="http:&#x2F;&#x2F;youtu.be&#x2F;QTJRwKOFddc" rel="nofollow">http:&#x2F;&#x2F;youtu.be&#x2F;QTJRwKOFddc</a><p>Jens Monig&#x27;s morphic.js (~2010, BYOB4&#x2F;Snap!) is a separate codebase: single-file Canvas kernel (~13k lines), World&#x2F;Hand&#x2F;stepping&#x2F;dirty rects, template peel-off, ScrollFrame inertial pan. Jens names Ingalls&#x27;s LK as the gold standard but says it is not a direct port -- though fullCopy() was ported almost literally from Squeak, comments included. Snap bundled it from day one (2013-03-16). Standalone extract:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;jmoenig&#x2F;Snap&#x2F;blob&#x2F;master&#x2F;src&#x2F;morphic.js" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;jmoenig&#x2F;Snap&#x2F;blob&#x2F;master&#x2F;src&#x2F;morphic.js</a><p><a href="https:&#x2F;&#x2F;github.com&#x2F;jmoenig&#x2F;Snap&#x2F;blob&#x2F;master&#x2F;docs&#x2F;morphic.txt" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;jmoenig&#x2F;Snap&#x2F;blob&#x2F;master&#x2F;docs&#x2F;morphic.txt</a><p><a href="https:&#x2F;&#x2F;github.com&#x2F;jmoenig&#x2F;morphic.js" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;jmoenig&#x2F;morphic.js</a><p><a href="https:&#x2F;&#x2F;wiki.squeak.org&#x2F;squeak&#x2F;6550" rel="nofollow">https:&#x2F;&#x2F;wiki.squeak.org&#x2F;squeak&#x2F;6550</a><p><a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Morphic_(software)" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Morphic_(software)</a><p>On multiple inheritance: neither JS port uses it, and Self Morphic didn&#x27;t really either. LK cheats with an explicit Trait composition layer (Object.subclass plus Trait(...) mixins). Snap cheats with Squeak-style copying (fullCopy, isTemplate peel-off). The live feel comes from copyable morph trees and shared behavior, not MI.<p>If you want one more readable architecture tour beyond sin-ack&#x27;s intro, the Self handbook chapter 7 is still the root document; everything else is commentary on it.
  • brabel8 hours ago
    How does this compare to Glamorous Toolkit[1]?<p>[1] <a href="https:&#x2F;&#x2F;gtoolkit.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;gtoolkit.com&#x2F;</a>
    • efficax6 hours ago
      Glamorous Toolkit is built on Pharo, which I think is a fork of Squeak or shares lineage with it.
    • ioasuncvinvaer7 hours ago
      It&#x27;s not about AI
      • brabel7 hours ago
        Are you joking? GTK is not about AI either (though yeah they put LLMs in it if you want), it&#x27;s another Smalltalk environment.
        • flowardnut26 minutes ago
          i mean look at the site linked. It&#x27;s beating you over the head with AI immediately
  • mikeegg12 hours ago
    I remember enjoying Smalltalk.
  • broswell6 hours ago
    I just downloaded on Windows 11. My antivirus (Symantec Endpoint Protection) did not like it and erased the executable. I reinstalled and got it working.<p>Question? Does this work with Etoys? If so, how? I tried following various directions online without success. Thanks!
    • goodthink5 hours ago
      Help&#x2F;Useful Expressions has some EToys instructions. The Squeakland images stopped getting upograded when Squeeak went 64-bit (I think). You can get a &quot;halo&quot; on any object, click the Inspector icon (the eye) and create an etoys script from there. Also, under Extras&#x2F;Themes and Colors there is a Set Etoys Mode option. You can try that but, it didn&#x27;t work last night. Lastly, files.squeak.org&#x2F;etoys has a 6.0beta image you can download. Drop the image&#x2F;changes into SqueakJS [1] (that is the only way to run a 32bit image).<p>[1]<a href="https:&#x2F;&#x2F;github.com&#x2F;codefrau&#x2F;SqueakJS" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;codefrau&#x2F;SqueakJS</a>
  • atemerev9 hours ago
    And after all these years, still no fixes for high-DPI displays. The UI is still pixely and slow. Perhaps I should take Fable and try myself, this was the only bug I cared about and it is not solved after 10 years at least.
    • sswezey9 hours ago
      Same, I&#x27;ve been tracking this and Pharo for high-DPI fixes. Pharo is working on a new graphics stack that is intended to address this as well, but until then no high-DPI support.
      • sczi6 hours ago
        Does Glamorous Toolkit work for you? It&#x27;s pharo with a different rust based GUI stack, and some batteries included for making custom inspector views and such. I don&#x27;t have a high DPI display so I&#x27;m not completely confident, but my understanding is that their rust based GUI works fine with high DPI.
      • mparrett8 hours ago
        I see some movement on high-DPI in the latest release. What are the current gaps? I&#x27;m not familiar with the project, just curious.<p>&gt; Improves high-DPI support for buttons, scroll panes, sliders, menus, multi-selection lists, trees, drop-shadows, the scratch pad, the keyboard exerciser, and others.<p><a href="https:&#x2F;&#x2F;squeak.org&#x2F;release_notes&#x2F;6.1&#x2F;#:~:text=and%20dialog%20windows.-,Improves%20high%2DDPI%20support,-for%20buttons%2C%20scroll" rel="nofollow">https:&#x2F;&#x2F;squeak.org&#x2F;release_notes&#x2F;6.1&#x2F;#:~:text=and%20dialog%2...</a>
        • sswezey8 hours ago
          I opened the Squeak image on my Mac, and everything looks good that I checked.
    • adius1 hour ago
      Cuis Smalltalk has full high-DPI support as its GUI is based on vector graphics: <a href="https:&#x2F;&#x2F;cuis.st&#x2F;" rel="nofollow">https:&#x2F;&#x2F;cuis.st&#x2F;</a>
    • AdmiralAsshat8 hours ago
      The UI has been a huge impediment in my getting into Squeak development. Every couple years I decide I will try it again, and then see that very little has changed.<p>It&#x27;s a shame. Smalltalk&#x2F;Squeak&#x2F;Pharo was supposed to be the future, but it feels like an IDE stuck in the 90&#x27;s.
      • morphle14 minutes ago
        I have at least eight different GUIS implemented in Squeak and also native Xwindows, macOS, iPhone and Windows. Plus several through the FFI interface. And three&#x2F;seven Web GUI interfaces. We used to run (around 2009) Squeak on more platforms than Linux, they all still work in the 32 versions. I&#x27;ll make the old bitrotted GUI&#x27;s work again in the latest Squeak 6.1 if you pay me a few thousand euro&#x27;s.<p>I count many more native GUI support in all Smalltalk versions <a href="https:&#x2F;&#x2F;github.com&#x2F;jeceljr&#x2F;SmalltalkSurvey" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;jeceljr&#x2F;SmalltalkSurvey</a><p>Squeak goes back all the way to 1972, we ran on most GUIs in existence. <a href="https:&#x2F;&#x2F;smalltalkzoo.computerhistory.org" rel="nofollow">https:&#x2F;&#x2F;smalltalkzoo.computerhistory.org</a><p>See many of my old comments on my 18 years on HN <a href="https:&#x2F;&#x2F;news.ycombinator.com&#x2F;threads?id=morphle">https:&#x2F;&#x2F;news.ycombinator.com&#x2F;threads?id=morphle</a><p>I even have the most scalable (massively parallel) GUI written in a few thosand lines of code: <a href="https:&#x2F;&#x2F;youtu.be&#x2F;f1605Zmwek8?t=3100" rel="nofollow">https:&#x2F;&#x2F;youtu.be&#x2F;f1605Zmwek8?t=3100</a><p>And several 3D GUIs <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=1s9ldlqhVkM&amp;t=4s" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=1s9ldlqhVkM&amp;t=4s</a> and the highly scalable <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=uQTeWJNkylI" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=uQTeWJNkylI</a>
      • pjmlp4 hours ago
        It should not be a problem, given how many love to use CLI and TUI workflows stuck in the 1960-80&#x27;s. :)
    • pmkary5 hours ago
      Use the Glamorous Toolkit.
  • hns86vq0nb8 hours ago
    [dead]
  • KitN6 hours ago
    [flagged]