Re:Famo.us – JavaScript engine and framework (Livestream today)
by Kenji on Wednesday April 09, 2014 @12:12PM
(#7560231)
Yes, I'm aware of that, but at soon as you interact with the DOM, a canvas, etc, you reintroduce all the overhead that you wanted to circumvent with compilation. And JavaScript without DOM interaction is rarely useful in a browser. For node.js, on the other hand, it sure is awesome. I didn't want to imply that JavaScript itself is necessarily slow, it isn't.
[ Parent
| on HN ]
Re:Famo.us – JavaScript engine and framework (Livestream today)
by nawitus on Wednesday April 09, 2014 @02:12PM
(#7561112)
Well, DOM and the canvas elements empirically are somewhat slow, but there's no inherent reason that makes them slow. Besides, if we're talking about something like a game, you can draw the final output to the canvas at a single step which is not the bottleneck.