I think it would be more interesting to expose how the bytecode becomes JS.
But I guess I'll dig through at some point...
nm, that breakout (that you could run on a 6502) maxxes a 15W modern CPU core. That's 10.000x less efficient.
But I guess I'll dig through at some point...
nm, that breakout (that you could run on a 6502) maxxes a 15W modern CPU core. That's 10.000x less efficient.
> I think it would be more interesting to expose how the bytecode becomes JS.
There's no bytecode emitted -- Kotlin is unique among JVM languages in that it acts more like a frontend, similar to LLVM or GCC.The Kotlin code is translated from an IR/AST into JS directly. The JS is one of many target languages for the Kotlin compiler.
Kotlin Source Code
|
Kotlin Compiler
|
IR
/ / \ \
JVM WASM Native JS"Unique among JVM languages" lol. Like most of the good parts of Kotlin, this was actually copied from Scala.
oh i forgot, 2000 fps is good for bragging rights