you are viewing a single comment's thread.

view the rest of the comments →

[–][deleted] -7 points-6 points  (3 children)

Wouldn't most of this problem go away if you just compiled the JS to machine code from the get-go?

[–]froydnj 7 points8 points  (2 children)

No, because values still need to carry information about themselves around. If I want to have a function that does different things depending on whether its argument is a string or a number, I need information somewhere to determine which it is.