4 ms·
How so? That's how programs were written back in the day(and some still are, see for example Demoscene), which arguably were somewhat simpler than what we have
by zxcdw 13y ago
How so? That's how programs were written back in the day(and some still are, see for example Demoscene), which arguably were somewhat simpler than what we have these days(but that's more because of vast libraries than languages, imo).
The awesomeness of assembly language is that it's perfectly exact, deterministic and thus very predictable and efficient. No unnecessary indirection unless you build it yourself. No implicit type casting(infact, no types at all). Nothing. Just plain instructions with very specific semantics to build from.
Now how does JS(or even asm.js) fare with it's tons of indirection and ambiguous implicit typecasts compared to an actual assembly language? From a technical standpoint for a compile target the comparison is embarrassingly unfair, but hey, this is something which is supposedly "OK" and acceptable, right?
- jiggy2011 13y agoThe ambiguity comes from the diversity and complexity of modern platforms, nobody would seriously consider using x64 assembler to write a modern application from the ground up.