Catch up on stories from the past week (and beyond) at the Slashdot story archive

 



Forgot your password?
typodupeerror
×

Comment Re:browser everything (Score 1) 127

On Android your typical "native" app is written in Java and uses GL for graphics if it needs fast 3D graphics. The Java is interpreted (on older Android) or JIT-compiled (Android 2.2 and newer). And this JIT is not exactly like HotSpot in terms of the performance it produces. For audio it uses whatever the system libraries are.

On FirefoxOS your typical app is written in JavaScript and uses WebGL for graphics if it needs fast 3D graphics. The JavaScript is JIT-compiled. The output can be within a factor of 2 of the performance of C++ code for game engines (see http://www.unrealengine.com/html5/ if you've missed it). For audio, it uses the browser's Web Audio implementation.

The two setups are actually a lot more similar than it seems at first glance.

Comment Re:I really like Mozilla but (Score 2) 127

What do you think a browser and an OS do, exactly?

A web browser needs to do render text, various high-performance graphics stuff, show some widgets that a user can interact with, provide a programmable runtime that can be used to create things like gmail or the github UI out of those widgets, do various network access, handle prioritizing things like web workers, painting, layout, and so forth. Oh, and nowadays also audio processing, real-time audio and video communications (WebRTC) and a few other things along those lines.

The non-kernel part of an OS needs to have libraries for high-performance graphics, show some widgets a user can interact with, a modern one will typically provide a programmable runtime for creating UI backed by some logic out of those widgets (C#, Objective C, Dalvik, etc). Pretty similar to a browser, actually.

Oh, and an OS needs to mediate hardware access, which is done by the kernel. Oddly enough, Mozilla is not creating a kernel from scratch; they're using the Android neé Linux kernel in FirefoxOS. Maybe because they figured this was not something they were experts in and maybe using an existing reasonably good solution would be better than trying to create a new thing.

Which is why it was possible to create FirefoxOS by taking a browser and adding a few APIs for touching hardware that the kernel exposes (things like cameras, FM radio, cell radio, etc). Plus a bunch of optimizations to the browser core that are needed no matter what to have a competitive browser.

Comment so their building a surveillance network (Score 1) 860

it has to feed off it's target at certain access points. these can be located and identified. they will also be protected. but each will have a weakness, no matter how many such access points, they can be hurt

let's kill it

it will be a box in a server room, a conduit under street, a transmitter on a roof

let's sabotage these fucking assholes

in the name of the founding principles of this country, fuck these goons

Comment Another false dichotomy (Score 3, Insightful) 434

The abstract and the commentary imply the canard that faith in science and faith in religion must be at odds. This isn't the case in theory or practice. There is no philosophical incompatibility in believing that science and God both work, or even that God works through science. And in practice, most religious believers exhibit plenty of faith that science works and are comfortable with it.

Comment Re:All we ever wanted... (Score 1) 77

Leaked IE11 builds support WebGL.

Chrome has some pretty bad bugs with the element in gaming contexts. But the real solution to audio in HTML5 games is the Web Audio API. This is still a work in progress, but we'll get there. The Citadel demo uses it. If you stand on the bridge over the river and turn around 360 degrees, you should get a nice stereo effect.

Slashdot Top Deals

The moon is made of green cheese. -- John Heywood

Working...