Run old games in DOSBox in the browser
naclbox.com
naclbox.com
This needs Chrome and the Native Client.
From the page:
Please Note:
You must have Native Client enabled in Chrome 12 or 13 for this game to work in your browser.
To enable Native Client, do the following:
Go to "about:flags" in your address bar (without quotes)
Click "Enable" next to Native Client
Go to "about:plugins" in your address bar (again, without quotes)
Occasionally you will find that you have to click "Enable NaCl" here too
Restart Chrome
Have fun![1]http://src.chromium.org/viewvc/native_client/data/docs_tarba... [2]http://nativeclient.googlecode.com/svn/data/site/NaCl_SFI.pd... [3]http://naclports.googlecode.com/svn/trunk/src/experimental/v...
More about NaCl (http://code.google.com/p/nativeclient/)
Portable NaCl (PNaCl) looked very promising (targeting LLVM (bytecode) and then re-targeting your native architecture) but I haven't heard anything about it lately.
If other browsers are forced to add NaCl support: of course I doubt they will have the same security, performance and compliance that Chrome does -- but who are we kidding, it's highly unlikely that all browsers will ever be equal in those ways.
There isn't any open spec here. NaCl is a research project, not a spec or a proposal.
Now trojans have one huge, lovely target. Just change browser settings and boom, easy attack. This in combination with hiding everything from users (status bar, url bar, etc.) is super dangerous. It's activex all over again.
Do it in webgl or otherwise, leave native code execution outside the browser.
Whenever I visit a WebGL demo inside Linux w/ NVidia drivers, if there are any complicated shaders, my system hard-freezes, forcing me to reboot.
Until the X developers fix Xorg's security model (like that will happen), and until NVidia fixes their Linux drivers (like that will happen), WebGL will always be one massive gaping security and stability problem for me as a Linux user.
You don't have access to outside APIs with NaCL.
What obstacles would there be to running Borland C++ in this, and developing from here?
Though I kinda wonder, why Simon the Sorcerer, that used to run on a 386, now takes 100% of a processor core of a Core 2 Duo.
"Currently NaClBox is using far more CPU than it should. This is because the current version of SDL for Native Client has a bug that will crash the browser when you navigate away from it. To avoid that, I had to revert back to an older version of the SDL port that has high CPU utilization."
1) skim tech crunch article 2) figure it will take a while for anything interesting to come out 3) come back to HN, this is next story
this will not be a productive morning
Does that mean that the server needs to serve precompiled executables to visitors with different operating systems?
Go to any of the games and after you've started, right click and save-as to get the nmf file. It's a manifest which has separate nexes for each processor (these are just x86-32 and x86-64).
Chrome - 14.0.835.15 dev
Chromium - 14.0.803.0 (Developer Build 90483 Linux) Ubuntu 10.10
I am getting a 403 when trying to load the dosbox client (http://nacl.naclbox.com/dosbox_14.nmf).I wonder the server is refusing this request if the user-agent is not in their white list?
Or perhaps they are limiting it based on Country due to Copyright Issues?
It determines the filename based on the major version number in the useragent - it would probably work fine if your browser reported chrome 13.something.
Bit of silly coding, given the ABI is fixed from 13 onwards.
Edit: Chromium 13.0.782.107 works for me, too.
chrome 13.0.782.112 Natty 11.04 64bit