3 ms·
Especially with upcoming features like GC, threads, exceptions, polymorphic inline cache, and more[1]. Looks somewhere in between ASM and something like byteco
by tyingq 9y ago
Especially with upcoming features like GC, threads, exceptions, polymorphic inline cache, and more[1]. Looks somewhere in between ASM and something like bytecode for a VM.
[1]http://webassembly.org/docs/future-features/ http://webassembly.org/docs/future-features/
- littlestymaar 9y agoWell, ASM is a bytecode for a VM too … CPU are really complex theses days and you definetly don't run your asm on a dumb piece of silicon, as the phrase “bare metal” seams to imply. And, as a reminder, there's often bugs in that VM. Meltdown was one of them, but there's tons of them.
- pjmlp 9y agoTo add to that, that it was always how most CPUs were developed. Pure RISC CPUs were the outliers, but coupling RISC ideas with micro-code turned out to win the match. Even modern ARM versions use micro-code on their CPUs.
- tyingq 9y agoI see your point, but threading, PIC, exceptions, DOM access, etc, are a level above ASM.