Google NaCL - food for thought

General discussion about LÖVE, Lua, game development, puns, and unicorns.
User avatar
kikito
Inner party member
Posts: 3153
Joined: Sat Oct 03, 2009 5:22 pm
Location: Madrid, Spain
Contact:

Google NaCL - food for thought

Post by kikito »

I've just finished reading this article - http://www.infoworld.com/d/application- ... ries-515-0

It's about a google technology that allows you to run executables from the browser, but at the same time they are "platform independent" (they work in linux and vista, apparently you need one x86 and one x64 executables if you want to support both architectures).

I'm just leaving these links here in case someone is thinking about making a LÖVE browser plugin (I'm not) and has overlooked them.
When I write def I mean function.
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Google NaCL - food for thought

Post by bartbes »

I looked at it once, and thelinx has tried bugging me about it, but it seemed like a hassle, and afaik it's not really near production-ready either.
amccampos
Prole
Posts: 3
Joined: Mon Jun 23, 2008 9:39 am

Re: Google NaCL - food for thought

Post by amccampos »

bartbes wrote:...it's not really near production-ready either.
Today, it's already production-ready and it seems quite amazing.
It would be really nice to "publish" a Löve game into a browser with (almost) the same code we produce to desktop.
The engine demo page could run demos directly from the browser.

I saw they already port some Löve libs (SDL, FreeType, libogg,...).
Perhaps, it would not be difficulty to port the missing ones.
solar_plexus
Prole
Posts: 1
Joined: Sun Dec 11, 2011 4:55 pm

Re: Google NaCL - food for thought

Post by solar_plexus »

Exactly, I just finished Bastion demo for native client and the performance is just stunning. There were no crashes, and no glitches at all. Game didn't brake and Chrome didn't either. I even had an impression that it ran smoother than the standard version. Maybe they did some optimisations?
If I could run Love in chrome with NaCl then I would never touch another 2d framework again.
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Google NaCL - food for thought

Post by bartbes »

Sadly, there would be quite some work for us to port it over, most importantly, a new graphics backend. (Which, to be fair, is one we need for a lot of mobile devices too.)
User avatar
slime
Solid Snayke
Posts: 3166
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

Re: Google NaCL - food for thought

Post by slime »

An OpenGL ES 2.0 backend would be nice, but who will do it? :P
User avatar
bartbes
Sex machine
Posts: 4946
Joined: Fri Aug 29, 2008 10:35 am
Location: The Netherlands
Contact:

Re: Google NaCL - food for thought

Post by bartbes »

Let me think..

Slowly raises his hand to point at anjo.

Perhaps someone will do this?
IQuit
Prole
Posts: 7
Joined: Mon Jan 02, 2012 2:51 am

Re: Google NaCL - food for thought

Post by IQuit »

How about porting to javascript with emscripten?
User avatar
slime
Solid Snayke
Posts: 3166
Joined: Mon Aug 23, 2010 6:45 am
Location: Nova Scotia, Canada
Contact:

Re: Google NaCL - food for thought

Post by slime »

Why?
IQuit
Prole
Posts: 7
Joined: Mon Jan 02, 2012 2:51 am

Re: Google NaCL - food for thought

Post by IQuit »

I mean porting LÖVE engine to run on a browser. Games remain written in Lua.
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 3 guests