Emscripten and New Javascript Engine Bring Unreal Engine To Firefox
MojoKid writes "There's no doubt that gaming on the Web has improved dramatically in recent years, but Mozilla believes it has developed new technology that will deliver a big leap in what browser-based gaming can become. The company developed a highly-optimized version of Javascript that's designed to 'supercharge' a game's code to deliver near-native performance. And now that innovation has enabled Mozilla to bring Epic's Unreal Engine 3 to the browser. As a sort of proof of concept, Mozilla debuted this BananaBread game demo that was built using WebGL, Emscripten, and the new JavaScript version called 'asm.js.' Mozilla says that it's working with the likes of EA, Disney, and ZeptoLab to optimize games for the mobile Web, as well."
Emscripten was previously used to port Doom to the browser.
What's the average lifetime of a Javascript engine in Firefox?
Are they all forks of each others?
I like it.
NB: The message above might reflect my opinion right now, but not necessarily tomorrow or next year.
Looks like Chrome is looking to do this as well.
The unreal Engine is quite the powerhouse, running games like Bioshock and Tribes. This could be a web based game changer... (Pun intended).
-DW
How much is your data worth? Back it up now.
To the average Slashdot user, it is apparent that Firefox fans who are turned off by frequent browser updates aren’t alone. Pushing out updates with asinine and confusing chances to the UI every six weeks or so because it shows users that Mozilla developers were always working to improve the browser doesn't go over well with us. But at some point Mozilla began simply pushing out updates for the sake of having updates, which started to really grate on the browser’s core user base.
"Ironically, by doing rapid releases poorly, we just made Firefox look like an inferior version of Chrome," a developer writes. "And by pushing a never-ending stream of updates on people who didn’t want them, we drove a lot of those people to Chrome; exactly what we were trying to prevent. And Chrome has a reputation for being the browser of choice for homosexuals, the really rowdy and nasty ones. "
While users loved Firefox as a browser, they found the constant request for updates to be invasive, especially since Mozilla implemented them using “queer and fucking stupid intrusive dialog boxes” rather than coming up with a system to install them automatically and without interrupting users’ experience with the browser as Google Chrome has done.
A lot of plugins are only built for 32-bit browsers. It is a lot more work to get 32-bit plugins working in a 64-bit browser than in a 32-bit browser. Plus, there is no real advantage to using a 64-bit browser unless you want it to use more than 2gb of memory, and I thought one of the common complaints was that Firefox uses too much memory?
I'm not sure what you think the big deal is.
Asm.js is *not* a "new JavaScript version". Asm.js is to JavaScript what Squeak Slang is to Smalltalk, what Richard Kelsey's Pre-Scheme is to RxRS Scheme, and, more remotely, what RPython is to Python (although RPython is much richer in comparison with the other restricted languages, and really not all that JITtable - the translation process is very slow).
Ezekiel 23:20
I've ued 64bit builds of nightly for some time now.
The issue is getting plugins to play nice.
You can't really blame Mozilla for not wanting to jump the shark, when they will catch all the flames for plugin makers who refuse to make their plugins 64bit friendly.
Right now, it's "whaaaaaa! I want 64bit builds!"
They offer a 64bit build, and then its "whaaaa! Flash plugin doesn't work! Noscript doesn't work! Adblock Plus doesn't work! Its horrible, and it crashes to boot!"
The market has to build up enough pressure to push out the colonic obstructions in the way of 64bit adoption as the new standard. It will take awhile.
When "browsers" were used for "browsing" the web, instead of being crappy application platforms with endless non-browsing-related features shoehorned into them? What happened to just browsing well instead of doing everything else poorly?
Cress, cress, lovely lovely cress
The link : https://developer.mozilla.org/en-US/demos/detail/doom-on-the-web/
Gives me a DMCA "takedown" notice...
Re: DOOM on browser available on Mozilla website - Cease and Desist Notice - DMCA Notice of Copyright Infringement
To the average Slashdot user, it is apparent that Firefox fans who are turned off by frequent browser updates
I'm sorry, as a [I like to think better ;)] than average Slashdot User...or at least not an AC. I have to say Users love the silent background updating of Mozilla, [Business Users less so], as it allows large features to hit users sooner [I'm loving the new PDF reader]. In fact most users here prefer *release often* strategy its part of their culture [it is mine]. Hell my whole OS gets updated every six months, perhaps you live on a stagnant platform, with occasional releases [read years apart].
Did anyone notice the takedown notice posted where "Doom-on-the-web" used to be in the previous Slashdot article linked above? That's a shame ... Is it available anywhere else, or is it just gone now? (The linked source tar ball doesn't seem to be working for me at the moment either ...)
I for one won't ever buy any games that run in the cloud and/or you have to play through a browser.
I wouldn't use Java to download so much as an email... even if it came from the Nigerian royal family.
Happiness in intelligent people is the rarest thing I know.
Ernest Hemingway
You're wrong! 64 bit is better because the number is bigger! It has more bits! AC learned this when he got his MBA.
Support the EFF and Creative Commons. The war is coming, and they're supporting you...
Plus, there is no real advantage to using a 64-bit browser unless you want it to use more than 2gb of memory
ASLR (Address Space Layout Randomization) is far more effective in a 64-bit address space than in a 32-bit address space. Browsers need all the layers of protection they can get from exploits.
On the other hand, WebGL gives any website in the world nearly direct access to exploit bugs in GPU drivers, significantly increasing the attack surface of the browser. I say nearly, because the browser does check all parameters for possible buffer overflow conditions before passing them onto OpenGL calls, but any other type of exploit is still possible.
I would definitely prefer that Firefox prioritize features that increase security over those that decrease it.
Adobe had a 64-bit version of Flash.
There is a 64-bit version of Java.
There is a 64-bit version of Silverlight.
What plugin is exactly stopping Firefox from making a 64-bit browser build? They started the 64-bit build project in 2003. Ten years later they apparently struggle to figure it out, even though community members roll their own 64-bit builds all the time.
http://blindscribblings.com - Tasty pop-culture in conceptual fashion.
64-bit browsers are inherently more secure, and can access more memory. Native 64-bit apps also run faster. You're trying to call someone an idiot without realizing that you don't know what you're talking about in claiming there are no advantages.
http://arstechnica.com/information-technology/2012/11/64-bit-firefox-for-windows-should-be-prioritized-not-suspended/
http://blindscribblings.com - Tasty pop-culture in conceptual fashion.
The Mozilla folks didn't speak kindly of Google Native Client, but asm.js is not much different than PNaCl (portable native client) ..... LLVM bitcode
PNaCl compiles LLVM bitcode to native code
asm.js uses code generated with Emscripten from
Devs can easily target both platforms. If somebody ports the Pepper API to asm.js, converting a PNaCl application to asm.js can be an automated task.
OP was bitching for the sake of bitching. He did not appear concerned for improvements in ASLR (which might not even be that effective according to some papers I've seen), and, as was already stated, if anything, Firefox should use LESS memory than it does, not more.
I'm calling OP an idiot because not for his position, but for his delivery.
Support the EFF and Creative Commons. The war is coming, and they're supporting you...
"this is to notify you of activity occurring on the Mozilla site listed below which infringes on the exclusive intellectual property rights of Id Software LLC .. The copyrighted work at issue is .. DOOM
The link below offers an unauthorized derivation or version of Id Software's DOOM game". link
AccountKiller
Firefox these days uses less memory than Chrome.
http://www.ghacks.net/2012/06/21/chrome-uses-way-more-memory-than-firefox-opera-or-internet-explorer/
Mind you, Chrome is still my everyday browser, but Firefox has gotten really good at being efficient with memory.
http://blindscribblings.com - Tasty pop-culture in conceptual fashion.
Will it be quicker to play throught the browser, compared to downloading the demo and installing? I think it will take on but needs to be quicker and easier than traditional methods. At least, I can see it encouraging people to play more demos.
Generally from a maintenance / scaling point of view, it seens like a good idea... gaming as a service has been on the cards for some time. The fact that so many updates are required as gaming companies kep releasing beta versions, then running a series of 'updates' means it's better for general internet traffic to reduce the data used when millions of clients download updates (as opposed to 3 / 4 server updates). Also, not testing properly saves a lot of time and effort. Gamers will do it for free!
Flash, Noscript and Adblock have been available in 64bit browsers for "ages".
I've been using Firefox exclusively compiled to 64bit for 3-4 years now (the default in the Debian sid repo) and never had came across incompatible plugin after they released Flash for 64bit. Though... I need only around 15 plugins, so heavier user may have a legitimate reason to use a 32bit browser.
Could you point out some of the plugins that actually don't support a 64bit binary? Windows is 64bit per default now too, isn't it... so you'd expect vendors to keep up.
It says that it's twice as slow as native c code. This must be a new definition of the word "near".
The distinction between installed-software and software that's being run from your browser cache is becoming subtle.
RMS's views on the problem: The JavaScript Trap
https://www.gnu.org/philosophy/javascript-trap.en.html
A solution: The LibreJS plugin for IceCat, Firefox etc. disables javascript if it is non-trivial and doesn't have a notice about using a free software licence:
https://www.gnu.org/software/librejs/
("trivial" is defined as "defines functions")
Expert in software patents or patent law? Contribute to the ESP wiki!
Why do we continue to try and make 3D games run in the web browser when these games lack the required controls? Where's the controller/joystick API for the web browser?
WebGL is just VRML version 2. We have too many layers of cruft/abstraction layers/API's to deal with. I'm not saying WebGL is a problem (though it has problems like how to run untrusted shader code on the GPU) but we really should not be doing this.
A properly designed "world browser" that actually starts in the 3D environment and perhaps renders flat 2D web pages as such would make a lot more sense instead of trying to shoehorn 3D into a 2D "web page"
"At least some at Google want to embrace a Mozilla-backed project to speed up Web apps written with JavaScript -- even though it competes directly with Google's own Native Client and Dart programming technology. "
Perhaps equally exciting to me is that asm is going to be used to speed up Firefox's Ionmonkey JIT.
Devs will compile asm code and compare it to native to find inefficiencies, thereby learning where to optimize the compiler.
So even if you don't use asm.js, we all get faster Javascript.
Relax, you are an AC. It's not like your honor and reputation will be tarnished.
No, x86 is clearly bigger and better than x64!
Help I am stuck in a signature factory!
For such a blatantly erroneous equation.
https://wiki.mozilla.org/Legal/Infringement_Notices/3_June_2011
So, that's it then...
I like oatmeal but it gives me gas.
I'm sure they can supply you a list of some examples if you ask them nicely.
New things are always on the horizon
Except that if you're running a 64-bit OS, odds are most or all of the 64-bit library code is already loaded into RAM, but when you launch the first 32-bit app, the operating system has to page in an entire 32-bit library stack.
So by being 32-bit-only in an increasingly 64-bit world, Firefox is, in fact, using too much memory.
Check out my sci-fi/humor trilogy at PatriotsBooks.
Actually, you are saying that you do prefer to have sex with 70year old woman without the need of all these fancy protection (AdBlock)......
Bored, mostly, I guess?
Support the EFF and Creative Commons. The war is coming, and they're supporting you...
Flash works. No Script works. Adblock Plus works.
Mozilla/5.0 (Windows NT 6.1; Win64; x64; rv:22.0) Gecko/20130329 Firefox/22.0 ID:20130329030904 CSet: 8693d1d4c86d
Now, if you want to crash 64-bit Nightly, this is the way to do it.
http://deshommesetdeschatons.tumblr.com/
Keep scrolling. And it's nice that the crash reports are null and invalid.
Bryan
Right now, it's "whaaaaaa! I want 64bit builds!"
They offer a 64bit build, and then its "whaaaa! Flash plugin doesn't work! Noscript doesn't work! Adblock Plus doesn't work! Its horrible, and it crashes to boot!"
But that is not Mozilla's problem, it is the plugin maker's problem. Mozilla needs to change. Now. (and yes, I want my noscript plugin to work but if it does not, I will blame the noscript author, not Mozilla).
nice post Soccer Team Uniforms