Experiments in NES JIT Compilation
bheisler.github.io
Experiments in NES JIT Compilation
1–10 of 11 posts
Re: Experiments in NES JIT Compilation
#2Re: Experiments in NES JIT Compilation
#3Re: Experiments in NES JIT Compilation
#4I've been meaning to do something similar, except by generating C code which is compiled JIT. This way the compiler can optimize blocks of 6502 in more efficient ways than just a direct mapping between opcodes and registers. Of course there's no real purpose to doing this, but it's on my backlog of "projects to do if I'm ever really bored" - one of my first ever C++ projects was writing a dynamic recompiler for 6502,…
Re: Experiments in NES JIT Compilation
#5For anyone who hasn't written a JIT I'd recommend writing a Brainfuck runtime one day. It's a tractable and strait forward project that will teach you how to do all of this. Start with implementing a direct interpreter and think of ways to make it faster.
Re: Experiments in NES JIT Compilation
#6No, that's a compiler.
Re: Experiments in NES JIT Compilation
#7> Broadly speaking, a JIT (or just-in-time) compiler is a piece of code that translates some kind of program code into machine instructions for the host CPU. No, that's a compiler.
Re: Experiments in NES JIT Compilation
#8> Broadly speaking, a JIT (or just-in-time) compiler is a piece of code that translates some kind of program code into machine instructions for the host CPU. No, that's a compiler.
Re: Experiments in NES JIT Compilation
#9> Broadly speaking, a JIT (or just-in-time) compiler is a piece of code that translates some kind of program code into machine instructions for the host CPU. No, that's a compiler.
compilers can be used to make machine instructions for a none host CPU. he just missed out the runtime part for a jit.
Re: Experiments in NES JIT Compilation
#10> Broadly speaking, a JIT (or just-in-time) compiler is a piece of code that translates some kind of program code into machine instructions for the host CPU. No, that's a compiler.