from Hacker News

Ruby on the Apple II (2019) [video]

by nf3 on 2/10/24, 11:02 AM with 9 comments

  • by DonHopkins on 2/11/24, 6:20 PM

    Design a byte code like Sweet 16 or UCSD Pascal, and compile Ruby to that.

    It would certainly be more space/time efficient than Manx Aztec C, which was terrible.

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

    Hilarious discussion on the talk page -- I used Aztec C but I have not vanished yet:

    https://en.wikipedia.org/wiki/Talk:Aztec_C#WHO_vanished%3F

    I had a Legend Industries 128KDE memory expansion card on my Apple ][+ -- that would help!

    Washington Apple PI, January 1982, p. 12, "I CAN'T REMEMBER HOW MUCH MEMORY I HAVE" by David Morganstein:

    https://www.wap.org/journal/showcase/washingtonapplepijourna...

  • by glimshe on 2/10/24, 11:35 AM

    Pointless, time waste, unnecessary.

    I love it!

  • by ufmace on 2/11/24, 8:02 PM

    This is very cool. I wonder how much of Ruby was actually implemented. Obviously a few things work, but I'm pretty sure you'd never get regex and hashtables and all the other piles of complex stuff in the standard lib working under those constraints.
  • by LeonardoTolstoy on 2/11/24, 5:55 PM

    I suppose coincidentally I just got my old IIc from my dad. Pretty fun. Just kind of working out how best to backup the disks I got, so the journey is just beginning.

    Maybe eventually I'll get around to making a game or doing something weird like this. Great talk.

  • by backspace_ on 2/11/24, 4:52 PM

    Pretty cool.

    Can the Apple II run rust?