Posted December 24, 2015
rtcvb32: But i know a lot of assembly language.. You can call me 'Sensei'. :P
Alas Java isn't one of the languages that likes you to mix asm with code, it's 'compile once run anywhere' tries to go hardware generic. Still, after much assembly language it's only really relevant for either bottleneck sections, boot-strapping and other low-level stuff the language can't properly describe, or for huge memory restrictions where every byte counts.
That's when you write your own compiler and make sure your optimizer is up to the task. Alas Java isn't one of the languages that likes you to mix asm with code, it's 'compile once run anywhere' tries to go hardware generic. Still, after much assembly language it's only really relevant for either bottleneck sections, boot-strapping and other low-level stuff the language can't properly describe, or for huge memory restrictions where every byte counts.
Good example, when Clint Pulley ported "Small-C" to the TI-99/4a, a little computer with only 16k of memory and you had to really shell out money for 32k more. But if you didn't care about structs, unions or floating point numbers without a 3rd party library, you could (using some inline assembly) write a pretty cool game.
Post edited December 24, 2015 by JDelekto