Forgot your password?
typodupeerror

Comment: Re:Shame (Score 1) 98

by K. S. Kyosuke (#47717227) Attached to: Interviews: Bjarne Stroustrup Answers Your Questions

No, because in Java you declare variables to have types.

But if those types are not final, you don't know the dynamic subtype of concrete values (and the concrete methods to call) in advance, and you're forced to do the same kinds of optimizations that Javascript does. Seriously, look at current VM tech again. Type feedback and speculative inlining are of legal drinking age in the US by now.

Comment: Re:Shame (Score 1) 98

by K. S. Kyosuke (#47714233) Attached to: Interviews: Bjarne Stroustrup Answers Your Questions
Of course, how else would you suggest to build a high-performing implementation of JS? These days, just about everyone is using either the Self-93 implementation model or something suspiciously similar. (BTW, technically, *all* Javascript functions are anonymous functions, it's just that some of them happen to be bound to global variable names, very much like in Scheme. Optimizing the calls of anonymous JS functions is no different from optimizing calls to any other JS functions.)

"Well, social relevance is a schtick, like mysteries, social relevance, science fiction..." -- Art Spiegelman

Working...