Slashdot is powered by your submissions, so send in your scoop

 



Forgot your password?
typodupeerror
×

Comment Re:Shame (Score 1) 102

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) 102

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.)

Comment Re:Oh god so what? (Score 1) 193

Clang has some builtins that allow you to get the carry bit, so you can cheaply write code that branches on carry. We (mostly CERT, I helped a bit) had a proposal for inclusion in C11 that would have added qualifiers on integers explicitly defining their overflow behaviour as trapping or wrapping, along with a model that let this be implemented cheaply (e.g. allowing a set of side-effect-free code to propagate temporary results and only trap if one of them along the way overflowed). Sadly, it didn't make it into the standard.

Comment Re:Ready in 30 years (Score 1) 305

Past performance (also known as experimental results) are the ONLY reliable indicator of future results.

So you're saying that the bulletproof way of making something complicated work is to employ people who did something simple that worked? I'm really not sure what your sentence is supposed to mean. I would have thought that future technological results depend mostly on inherent problems with the goals that we're not aware of yet.

Comment Re: Fusion Confusion (Score 4, Insightful) 305

I find it hilarious that the supposed downside of having a future-proof source of energy is that on the unlikely occasion that a terrorist group gets their hand on plutonium, the resulting threat is going to be in the 50kt class instead of 20kt. Any larger entity most likely wouldn't have a problem with generating it for themselves anyway.

Slashdot Top Deals

Old programmers never die, they just hit account block limit.

Working...