3 ms·
You would have to first port the ruby interpreter to the Zilog Z80 which could be a challenge because it is only an 8bit CPU! The GBA actually has a 32 bit ARM
by jiggy2011 12y ago
You would have to first port the ruby interpreter to the Zilog Z80 which could be a challenge because it is only an 8bit CPU!
The GBA actually has a 32 bit ARM CPU, although a very slow one (16 Mhz) so perhaps it would be possible to build a very minimal Ruby VM for that. I wonder if it would be possible to optimize by building a JIT compiler and JITing on an emulator before installing on the cartridge?
- vegedor 12y agolibruby, if that is the core of the interpreter, weighs 2MB. That's not gonna fly, even with heavy size optimization it would be unbearably slow, even on just a subset.