Comment by DonHopkins

19 days ago

It is, actually! I didn’t realize that until I read the handwritten WASM s-expression source code of WAForth.

Languages like Lisp or Forth that run on WASM — or even handwritten s-expression-style WASM code like in the WAForth kernel — can dynamically compile and assemble new WASM bytecode and data. They can then call back to the JavaScript host to create and link entirely new WASM modules on the fly, and immediately call into them from the current module or others. A single WASM context can juggle many dynamic modules, large and small, all generated and linked at runtime!

So you can compile new code in Forth or Lisp and immediately link and call it using indirect cross-module calls. It’s not the fastest way to call into WASM, but a metacompiler — like Mitch Bradley’s ForthMacs / OpenFirmware — could recompile the whole system into one efficient, monolithic WASM module that uses direct calls.

Here's the author's blog post about WAForth:

A Dynamic Forth Compiler for WebAssembly

https://www.reddit.com/r/Forth/comments/zmb4eb/waforth_wasmb...

Here's the author's blog post about WAForth: A Dynamic Forth Compiler for WebAssembly

https://www.reddit.com/r/Forth/comments/zmb4eb/waforth_wasmb...

>Yes, I agree FORTH should be probably be on the list, at least if the list was a few languages longer, for as influential as it's been.

Forth has not been influential, at all. If it was your first or second encounter with computers, it might have been influential on you, which is a great thing for you, but it was not influential on the industry.

the late 70's-early 80's was the beginning of the microprocessor era. This opened the door to computers for people who would be interested in computers but had no access prior. But the "leading" people in computer science at that time were the people who did already have access to computers. This created a bifurcation between the people who were, say, pursuing lisp since 1960 because of what they had learned about lambda calculus before, and people pursuing Forth who had never heard of Lisp, but had heard of Pascal but didn't realize that UCSD Pascal was a p-code stack machine just like Forth was; if they had realized it there might have been overlap, there wasn't. Programmable HP calculators were already more advanced since the HP-65

(please don't nitpick me, if you remember that time, you know what i'm talking about.) The much revered Dr Dobbs and Byte magazine were not on the reading list of people who were at MIT or Carnegie or Stanford. If you graduated at that time (hint hint) you had this choice of working at a place like Microsoft (DOShit in the boonies) or Apple (8-bit 6502 nonsense on an OS nobody remembers) or at DEC or HP or Xerox or BBN, companies pursuing excellence based on the already-history of CS.

because microprocessor "ate the world", the early history of microprocessors seems "important": it wasn't, except for what it became

when Apple and Microsoft borrowed ideas from Xerox PARC to create MacOs and Microsoft Windows, they were borrowing from programmable microcode architectures which are still more interesting than amd64

  • >Forth has not been influential, at all.

    Yes, you're right.

    https://www.youtube.com/watch?v=KTFDS-MGFK0

    The answer was, of course, number two! (cut to stock film of Women's Institute applauding) I'm afraid there's been an error in our computer. The correct answer should of course have been number four, and not Katy Boyle. Katy Boyle is not a loony, she is a television personality. (fanfare as for historical pageant; a historical-looking shield comes up on screen) And now it's time for 'Spot the Loony, historical adaptation'. (historical music) And this time it's the thrilling medieval romance 'Ivanoe'... a stirring story of love and war, violence and chivalry, set midst the pageantry and splendour of thirteenth-century England. All you have to do is, 'Spot the Loony'.

    And now a word from our sponsors, Looney Labs, makers of fine card games whose rules and conditions for winning change throughout the game, including the most popular among machine learning AI enthusiasts, Python FLUXX, the first set to have the Meta Rule subtype card, which stemmed from a FLUXX Tournament rule:

    https://www.looneylabs.com/games/monty-python-fluxx

    >Yes, that crazy card game where the rules keep changing has joined forces with Monty Python to create the Looneyest card game ever! Help King Arthur and his Knights find the Holy Grail. Bring a Shrubbery to the Knights Who Say Ni! Lob the Holy Hand Grenade at the Killer Rabbit with Nasty Big Teeth! Just do it quick, before the Goal changes again!

    Doctor Who FLUXX:

    https://store.looneylabs.com/collections/fluxx-games/product...

    >Doctor Who Fluxx takes Fluxx through Time And Relative Dimension In Space. Join with various regenerations of the Doctor, some companions, Gallifreyan tech, and K-9 (but beware of Cybermen, Daleks, Weeping Angels, and the Master) and play the most ever-changingest, timey-wimey version of Fluxx ever created. Doctor Who Fluxx: you'll play it time after time after time after time...

    Stoner FLUX:

    https://store.looneylabs.com/collections/fluxx-games/product...

    >Put on some good music and line up some snacks... Stoner Fluxx is a game about toking with your friends, getting the munchies, and changing the rules.

    >Our country seems to be moving closer to finally legalizing marijuana at the national level, so we have completely removed the warning messages on the cards instead of only adjusting them a bit like we have with each print run in the past.

    MEET THE LOONIES:

    https://store.looneylabs.com/pages/about-us

    >Looney Labs was founded in 1997 by two former NASA engineers named Looney. The husband and wife team have been creating fun ever since, with Andy inventing the games, and Kristin running the company. Along with the help of four other full-time employees, several part-timers, and an army of fans, the Looneys are changing the way you play!

    ABOUT FLUXX:

    https://en.wikipedia.org/wiki/Fluxx

    >Fluxx is a card game published by Looney Labs. It is different from most other card games, in that the rules and the conditions for winning are altered throughout the game, via cards played by the players.