Hacker News new | ask | show | jobs
by noncoml 639 days ago
"is like asking which syntax (letters) is faster - syntax of Rust, Java or C++"

Language syntax does affect the speed of the parser

1 comments

Correct, but I meant the performance of generated program.
I got that, but it's not a good analogy. It's the parser that is to the language what the CPU is to the instruction set
I see your point, but isn't decoder part of implementation for ISA just like compiler, runtime/vm, stdlib and more... are for programming language?
Yeah, I guess neither of them is a great analogy