• VINTAGE HARDWARE

Dave's Things and Stuff

  • about me
  • amiga graphical editor library
  • other software projects
  • cv
  • publications
Home › Blogs › david's blog

Ruby Port for AROS

david — Tue, 11/03/2009 - 09:06

A couple of weeks back, I had a some success with creating a port of Ruby to AROS operating system with the help from mazze of the aros-exec.org forum.

I started with a port of miniruby, which is a bootstrap ruby interpreter used in the ruby distribution compile process.  This worked splendidly once mazze helped me chase down fixes for the last few missing symbols in the compile process.

AROS miniruby

Once I got that running, I started the full ruby compilation process and found that about a quarter of the native extensions compiled without modifications.  Sadly 'Socket' was not one of them

 

Items on my agenda for this port include:

  1. Porting a newer version of ruby 1.8.x
  2. Creating an extension to the Amiga/AROS GUI libraries 'Intuition' and 'MUI'

I had a go at porting over Mazze's SiAmiga LUA code to Ruby, but I found LUA C extensions differ somewhat from Ruby C extensions and stopped rather early.  However, using a bit of botching, which I'm not particularly proud of I managed to get a quick intuition extension written and built that opens a window.  I will have a go at writing a more robust intuition extension, but this may take some time whilst I take the time to learn intuition properly. At least it will be a good learning experience as I ordered an original 'Commodore Business Machines - Amiga Intuition Reference Manual'.

AROS Intuition GUI

 

 

  • amiga
  • aros
  • Ruby
  • ruby
  • david's blog
  • Add new comment

From Elsewhere on the Interwebs

  • 07/24/09 PHD comic: 'Definition of Vacation'
  • Measure for Measure: Quantifying the Effect of TDD
  • Google I/O 2009: The Myth of the “Genius Programmer”
more

Recent blog posts

  • Ruby Port for AROS
  • Muston Scarecrow Festival
  • Move over to Drupal
  • Game Reviews - Bioshock (Xbox 360)
  • Productivity in the Mordern Desktop Computing Environment
  • Something new that I had missed in Vista
  • Biting another Bullet
  • Book Reviews - Naruto Issue 1
  • Finally Decided on my next Console
  • The End of the Beginning
more

Poll

What retro game should I play next?:
  • about me
  • amiga graphical editor library
  • other software projects
  • cv
  • publications