Y
Hacker News
new
|
ask
|
show
|
jobs
by
tantalor
1394 days ago
"Run TypeScript" is misnomer, unless I'm missing something, it compiles TS -> JS and "runs" that.
1 comments
lioeters
1394 days ago
"Run JavaScript" is a misnomer, it compiles JS -> bytecode and "runs" that.
link
seanw444
1394 days ago
"Run bytecode" is a misnomer, it compiles bytecode -> machine code and "runs" that.
link
cheeselip420
1394 days ago
"Runs machine code" is a misnomer, the CPU will translate machine code to microcode and "run" that.
link
tantalor
1394 days ago
It might, if the code can be optimized. There are all sorts of reasons why it might not. For example, at one point in time, a switch statement with more than 128 cases could not be optimized.
https://github.com/petkaantonov/bluebird/wiki/Optimization-k...
link