Pharo in the Browser with WebAssembly

(massimo-nocentini.github.io)

61 points | by xkriva11 2 hours ago

8 comments

  • ajasmin 13 minutes ago
    Nice!

    So I assume this is the byte code interpreter compiled with Emscriptem? Did’t Squeak have a similar try it out page?

    I would assume there’s no attempt at Jitting or pre-compiling some of the image code, which would be a feat given Smalltalk dynamic nature and webassembly limited execution model.

    I was hopping to have something like this to play with. How can you build the code?

  • simonsarris 37 minutes ago
    I was hoping it was the 1999 video game alas
    • nathell 11 minutes ago
      That one's spelled Pharaoh.
  • popcar2 57 minutes ago
    It seems to break when zooming in/out on Firefox (Linux). Zooming in reduces the size of the viewport and makes clicking the mouse happen somewhere else.
  • simultsop 1 hour ago
    I wandered about this a while ago, when VSCode went into Web. Later, after realizing how much download had to take place to have a remote OS ran, again the experience is very hacky with current hardware to software friction. It needs lots of drivers and resources to align experience with an actual OS.
  • AdmiralAsshat 59 minutes ago
    Neat concept for playing with Pharo...but doesn't having it in the browser kinda defeat the purpose?
  • treyd 1 hour ago
    This webapp seems to break the back button on Android.
    • stronglikedan 1 hour ago
      It never goes forward, so there's nothing to go back to, even on Chrome for Windows.
  • rvz 1 hour ago
    Obviously this post has been boosted quickly and mysteriously in 16 mins and it feels quite premature and it doesn't even look remarkable at all.

    Use with caution.

    • xkriva11 1 hour ago
      As the author of this post, I have to say that I, too, was surprised by how well it's doing. But people at HN are generally very receptive to Lisp/Smalltalk posts, and lately, at least one Smalltalk-related post has appeared on the front page every week.
      • DTrejo 46 minutes ago
        Great post! Doing anything with moose? Looking forward to a post :)
        • xkriva11 19 minutes ago
          I only did the post on HN, not the project ;)
    • echelon 1 hour ago
      It's Pharo, which has a small but loving community.

      Several of my friends love it.

      • da02 53 minutes ago
        What do they use it for?
        • jrootabega 17 minutes ago
          BESIDES European conference presentations. Seriously, that's all I can ever seem to find.