Pharo 14

(pharo.org)

190 points by xkriva118 hours ago

15 comments

  • flavio814 hours ago
    This is exciting news, and I would like to say "hello" to Richard Kenneth Eng, the sole user of Pharo in the world.
    • zerr3 hours ago
      It's getting harder to pick between Pharo vs Eiffel for a new project :)
    • sourdecor1 hour ago
      Somebody has never used ENVY[0].<p>[0]: <a href="https:&#x2F;&#x2F;paulhammant.com&#x2F;2017&#x2F;09&#x2F;01&#x2F;smalltalk-envy&#x2F;" rel="nofollow">https:&#x2F;&#x2F;paulhammant.com&#x2F;2017&#x2F;09&#x2F;01&#x2F;smalltalk-envy&#x2F;</a>
    • creichenbach1 hour ago
      I know <i>at least</i> 5 Pharo users, and one of them wrote a book about it (for the other 4 :P). They were part of a research group at university and made us students use it. I get why it&#x27;s nice and all, but honestly it feels a bit like Crossfit, or Vim. There are a small handful of excited users who try to convice everyone else how amazing it is. (Sorry, Oscar et al.)
    • __sy__2 hours ago
      tbh im not sure what the value of this comment is here; also not a fan of talking down on other people&#x27;s work (irrespective of how much you might dislike them). the most charitable explanation is that this was sarcasm?
  • dharmatech4 hours ago
    Niva is a Smalltalk-like language with static types:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;gavr123456789&#x2F;Niva" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;gavr123456789&#x2F;Niva</a><p>An implementation of Boids for Niva:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;dharmatech&#x2F;boids-niva" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;dharmatech&#x2F;boids-niva</a>
  • thelazydogsback4 hours ago
    Like many here, I&#x27;ve always been a language buff -- programming in assmebly, C(++), Java, various Lisps, Prolog, O&#x27;Caml&#x2F;F#&#x2F;Hask, etc. - and a fan of Smalltalk. (Used Tektronix ST and Smalltalk-V, but never Pharo.)<p>One thing that AI programming has done is made me care much less what programming language is being used. This is slightly regrettable, but for the most part very freeing, as I don&#x27;t need to worry about what language is easier for me (as a human) to use for a particular problem, or make me inclined to use one of my &quot;pet&quot; programming languages over one that may be a better fit for more pedestrian reasons.
    • black_knight56 minutes ago
      For me it has the opposite effect. Now I can finally use whatever programming language I want! Is my language missing a library? No worries Opus will write one!
    • cardanome4 hours ago
      I am sorry to hear that, I hope you will rediscover the joys of programming one day again!<p>Humans haven&#x27;t given up playing chess just because computers are able to do it better, there is still a point in recreational programming.<p>I am fondly remembering actually using Smalltalk in production for a small web project. I think I used Squeak with the Seaside framework. The image based workflow made deploying it surprisingly easy.
      • thelazydogsback2 hours ago
        What I was trying to focus on was &quot;getting the job done&quot;. If I want to program for pure enjoyment, I can certainly still do that. Although some people may play chess for a living, most that play chess don&#x27;t.
    • linsomniac3 hours ago
      &gt;One thing that AI programming has done is made me care much less what programming language is being used<p>I&#x27;m right there with you. I really like programming in Python, the language. Now that I&#x27;m not writing much if any code, the rough edges in building and deployment have come to the forefront. Even &quot;uvx run&quot; has become a sticky wicket (I have some machines that don&#x27;t have Internet access).
  • ElevenLathe4 hours ago
    Does anyone know the current state of agent-assisted Smalltalk, Pharo or otherwise? Intuitively it seems like a match made in heaven, since the agent can directly manipulate the running program, but I also assume that there is very little training data available for Smalltalk.
    • whacked_new4 hours ago
      I spent some time exploring Glamorous Toolkit [1] for agent-assisted custom UI development, in an emacs fashion, where you&#x27;d modify the interface you&#x27;re working with on the fly. It was a pretty good experience and the built-in data exploration was top notch.<p>Ironically after watching glamorous toolkit videos on youtube, I was recommended a talk by Geoffrey Litt about dynamic documents [2] and at the end of his talk I learned about bb [3], which has much better agent integration compared to GT. Like @thelazydogsback said, with agents, the programming language matters less.<p>[1] <a href="https:&#x2F;&#x2F;gtoolkit.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;gtoolkit.com&#x2F;</a><p>[2] <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=MccJdr61xnc" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=MccJdr61xnc</a><p>[3] <a href="https:&#x2F;&#x2F;getbb.app&#x2F;" rel="nofollow">https:&#x2F;&#x2F;getbb.app&#x2F;</a>
      • pmkary2 hours ago
        I was talking at around a year ago with Tudor Girba and asked him what is his opinion towards AI---I somehow believed it to be conflicting with his world view, but then he showed me some amazing demos of llms walking inside of the GT, making tools and molding it. It was way before these new agentic plugin-based IDEs.<p>I think Girba&#x27;s really amazing idea of &quot;language = ui = software = data&quot; has a huge win in terms of AI that is not used anywhere else (maybe only in Chris Granger&#x27;s Eve), but to work with data and build live on it, is something way better than BB.
        • whacked_new1 hour ago
          I agree, it&#x27;s an awesome concept in principle (and Girba is graciously welcoming people in discord). Working with an agent in GT, the agent will just look at the data and figure out how to express it in the graphical framework.<p>But in practicality, at least at this point, bb wins out by sheer expansiveness of ecosystem. I was working on a mishmash of an editor interface that combined obsidian with heptabase, directly in GT. It kind of worked. And the amazing thing is, everything has just a single representation: window positions displayed as text automatically have 2 way bindings across widgets, because they are the same data. But even with agents doing everything, 2 things creep up.<p>First is in JS&#x2F;TS, all these binding problems are solved 1000x already. You can fake shared memory with callbacks and the agent won&#x27;t lose track. In GT you move the cursor around, and have to decide at what point do you convert a widget representation to source representation, and when to restore the widget: is it a delay? is it after changing lines? is it after you move off the text? before or after the whitespace? There&#x27;s a package for that somewhere in npm that answered all these questions, and it has tables, and it&#x27;s performant. It doesn&#x27;t do the 2% stuff that GT does using its magical shared memory representation (which also makes TS-&gt;smalltalk porting not straightforward), but you can still tape over it with sheer optimized code.<p>The second thing is that GT got really slow with all the data structure re-interpreting and rerendering. As &quot;dirty&quot; as bb is in reloading dynamic code, the runtimes are so optimized, I wanted the markdown nodes to be GPU-accelerated in bb, and it turns out they already were.
    • Smalltalker-801 hour ago
      SmallJS ( <a href="https:&#x2F;&#x2F;small-js.org" rel="nofollow">https:&#x2F;&#x2F;small-js.org</a> ) is a file based Smalltalk with full agent support. Here&#x27;s a vid of Claude converting a Counter app into a Tic-tac-toe game in a single shot: <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=4_ir6h2MIRg" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=4_ir6h2MIRg</a> PS The context loading step is not even necessary anymore. The reason why this works so well, is that Claude knows its way around VSCode well. And all SmallJS projects (apps) have full unit tests and GUI tests that run in a couple of seconds. Claude also reads these tests and can make new ones, maintaining coverage. In tradtional live Smalltalks like Pharo, modifying stuff is easy, but running full tests not so much..
    • kvgr4 hours ago
      It got me interested so i ashed ChatGpt about the options andit found this repo: <a href="https:&#x2F;&#x2F;pharo-llm.github.io&#x2F;pharo-mcp" rel="nofollow">https:&#x2F;&#x2F;pharo-llm.github.io&#x2F;pharo-mcp</a><p>Sounds pretty cool. Never heard about Pharo before, but i will try it in spare time.
    • flavio814 hours ago
      &gt;Intuitively it seems like a match made in heaven, since the agent can directly manipulate the running program<p>This should be a BIG benefit for agent-driven development, but sadly it seems that few people is taking advantage of it.
    • xkriva114 hours ago
      It works well, I mostly use Pi with MCP.
  • __rito__2 hours ago
    I have tinkered with Pharo before, but I have come across quite a few entries on HN front page where I encountered projects, releases and I had no idea what the thing was! It could be anything from a networking library to LLM wrapper, from a music band to an programming language.<p>Clicking on this page, one finds:<p>&gt; What is Pharo? &gt; &gt; Pharo is a pure object-oriented programming language and a powerful environment focused on simplicity and immediate feedback.<p>I really appreciate these one liner introductions on any project.
  • logancbrown4 hours ago
    Reading stuff like this continue to make advances and new releases is like a fever dream when everything else is all AI.
    • phforms27 minutes ago
      I wonder if it’s a bubble thing. People carry on and do what they always did, or just began thinking about what to do with LLMs. Big tech companies and startups may have to move fast and adapt, but I guess many other companies and organisations do not have to rush or fear immediate extinction, just because the wind blows in the other direction elsewhere in the world. I see that Hacker News and X are very &quot;noisy&quot; about LLMs (naturally), but that doesn’t mean the whole tech industry must react in the same way.
    • ramesh314 hours ago
      &gt;&quot;Reading stuff like this continue to make advances and new releases is like a fever dream when everything else is all AI.&quot;<p>Do the advances mean anything though? Alan Kay is a personal hero of mine, I love the aesthetic of Smalltalk, and the dream-that-was once upon a time of such a system was a real missed opportunity for the evolution of programming environments. But is it anything more than a neat hobby at this point?
      • logancbrown4 hours ago
        &gt; But is it anything more than a neat hobby at this point?<p>It effectively already is. It may end up in the same domain as Haiku OS, Plant 9, or Squeak, but they are all still interesting domains of research.
      • red_candle_wax4 hours ago
        &gt; But is it anything more than a neat hobby at this point?<p>When was it anything else? The 80s? I&#x27;ve can count the number of Smalltalk jobs I&#x27;ve seen in my career on my hand (but I have seen them)
      • rfgplk3 hours ago
        &gt; But is it anything more than a neat hobby at this point?<p>The opposite. With LLMs you can now pick up any one of these obscure language and write a full blown AAA game engine in them. Or a database. Or a web framework. Or... anything you set your mind to. The language no longer matters. btw LLMs are exceptionally good at Smalltalk&#x2F;Haskell&#x2F;Perl&#x2F;FORTRAN and other old&#x2F;uncommon languages.
        • sanderjd3 hours ago
          But would doing any of that be anything more than a neat hobby? I don&#x27;t mean that in a disparaging way, I&#x27;m genuinely curious.
  • juancn4 hours ago
    It&#x27;s like a protestant Smalltalk!<p>(Smalltalk is a religion, I will die on this hill!)
    • ModernMech2 hours ago
      Interesting they seem to avoid mentioning Pharo is a smalltalk on the website, really only one passing mention on the about page.
  • bmacho4 hours ago
    Why don&#x27;t they make a DOM&#x2F;SVG front-end for the browsers? (Not canvas!)<p>It could serve as the engine for new, fun, interactive websites!
    • d-us-vb4 hours ago
      If you love that idea but don&#x27;t mind the switching out the language, CLOG [1] does this on Common Lisp.<p>[1] <a href="https:&#x2F;&#x2F;github.com&#x2F;rabbibotton&#x2F;clog" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;rabbibotton&#x2F;clog</a>
    • em-bee4 hours ago
      you mean like amber smalltalk?<p><a href="https:&#x2F;&#x2F;www.amber-lang.net&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.amber-lang.net&#x2F;</a><p><a href="https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Amber_Smalltalk" rel="nofollow">https:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;Amber_Smalltalk</a><p>or more like <a href="https:&#x2F;&#x2F;squeak.js.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;squeak.js.org&#x2F;</a> ?
      • bmacho3 hours ago
        <a href="https:&#x2F;&#x2F;squeak.js.org&#x2F;demo&#x2F;simple.html" rel="nofollow">https:&#x2F;&#x2F;squeak.js.org&#x2F;demo&#x2F;simple.html</a> this is canvas not DOM&#x2F;SVG. It doesn&#x27;t support fonts&#x2F;text. Its text support feels less janky than I expected, select, copy, paste work, but it is still not browser-native.<p>I don&#x27;t know how to start Amber in the browser and couldn&#x27;t find demos.
    • vfclists2 hours ago
      PharoJS?<p><a href="https:&#x2F;&#x2F;pharojs.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;pharojs.org&#x2F;</a>
  • wonks4 hours ago
    The fact that the page says that this version was made by &quot;more than [X] contributors&quot; makes me think that maybe they don&#x27;t have enough contributors?
  • phegler3 hours ago
    Why does it look like something from 2012 tho :`)
    • andai3 hours ago
      You&#x27;re right. They should add more soul, and make the next one look like it&#x27;s from 2003!
  • anthk4 hours ago
    Pharo with a GTK4+Libadwaita adapted IDE:<p><a href="https:&#x2F;&#x2F;github.com&#x2F;pharo-pulsar&#x2F;pulsar" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;pharo-pulsar&#x2F;pulsar</a><p>Almost &quot;Pharo for Gnome&quot;.
  • argentier3 hours ago
    C-f Smalltalk<p>Nothing found. Weird.
    • frou_dh1 hour ago
      I imagine that&#x27;s a deliberate decision of the overall project to try and get people to evaluate it on its merits, rather than associating it with something old and unfashionable.
    • ModernMech2 hours ago
      I did the same thing! I thought it was strange as I always heard it referred to as “pharo smalltalk”, at first I was confused if this was the right project.
  • tudorizer4 hours ago
    Has anyone pointed CC at Pharo? Or is the UI and IDE a limit in this case?
  • measurablefunc4 hours ago
    All it needs now is an MCP server.
  • throwaway6137464 hours ago
    7 minutes of Pharo Smalltalk for Rubyists: <a href="https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=HOuZyOKa91o" rel="nofollow">https:&#x2F;&#x2F;www.youtube.com&#x2F;watch?v=HOuZyOKa91o</a>