Linked by Thom Holwerda on Thu 12th Dec 2013 23:17 UTC, submitted by anonymous
Amiga & AROS

This website runs an emulator of the Amiga 500 inside of Chrome by using Portable Native Client, a way to run existing C/C++ in the browser in a safe way across operating systems and across machine architectures. On the main page you can boot the Amiga, insert floppy disks, play the games, and generally pretend it's still the late 80s.

So cool.

Thread beginning with comment 578580
To view parent comment, click here.
To read all comments associated with this story, please click here.
RE: Ones doesn't need Chrome
by sergio on Fri 13th Dec 2013 09:09 UTC in reply to "Ones doesn't need Chrome"
sergio
Member since:
2005-07-06

Cool! Much better. IMHO It's stupid to run native code on a web browser...it goes against the original idea of the web.

Reply Parent Score: 4

RE[2]: Ones doesn't need Chrome
by Kochise on Fri 13th Dec 2013 11:36 in reply to "RE: Ones doesn't need Chrome"
Kochise Member since:
2006-03-03

You mean Java and Flash are better ?

Kochise

Reply Parent Score: 2

moondevil Member since:
2005-07-08

No, the browser should be a plain platform for documents.

Reply Parent Score: 6

jacquouille Member since:
2006-01-02

Cool! Much better. IMHO It's stupid to run native code on a web browser...it goes against the original idea of the web.


Indeed. Luckily it's not needed. There are compilers, like emscripten (based on LLVM/clang) that will translate C/C++ to a subset of JavaScript that it easy for JavaScript engines to compile to quite optimized machine code (see asmjs.org). That's how e.g. Unreal Engine 3 was ported to JavaScript, running well. So I don't think that there is still a point in PNaCl (or NaCl).

Reply Parent Score: 4

RE[3]: Ones doesn't need Chrome
by reduz on Fri 13th Dec 2013 17:08 in reply to "RE[2]: Ones doesn't need Chrome"
reduz Member since:
2006-02-25

Even with asm.js, emscripten runs like ass, performance is bad, resulting binaries are huge and decompressing them/parsing them takes a long time, a giant amount of ram, and freezes the browser.

Plus it does not support threads, streamed audio and all the other stuff PNaCL does.

PNaCL has more interesting uses right now, though, such as running on Google App Engine, Chromebooks and Providing an alternative framework for writing Android Apps.

Edited 2013-12-13 17:08 UTC

Reply Parent Score: 5

RE[2]: Ones doesn't need Chrome
by biffuz on Fri 13th Dec 2013 15:20 in reply to "RE: Ones doesn't need Chrome"
biffuz Member since:
2006-03-27

Cool! Much better. IMHO It's stupid to run native code on a web browser...it goes against the original idea of the web.

The original idea of the Web was to share documents, not apps. This is actually an evolution.
What I really hate about JS (which I believe is the ugliest language ever) is the fact that it is the only choice. If you don't like it you have to use something that translates your code into JS, adding another layer of complexity, and to display someething you have to revert to HTML, another laguage designed for documents and not GUIs.
Solutions like NaCl brings back the freedom that should always have been there.

Reply Parent Score: 3

jacquouille Member since:
2006-01-02

NaCl/Pepper locks out every other browser vendor out there, by duplicating the entire application platform --- JS vs other IR languages is only one aspect, the bigger problem is regular standardized Web APIs vs whatever Google alone already decided to put in Pepper.

Not sure how that's "freedom" --- unless you think that the multiple-implementations aspect of the Web wasn't important.

Remember that IE6 was best-in-class technology when it came out.

Edited 2013-12-13 15:38 UTC

Reply Parent Score: 3

RE[3]: Ones doesn't need Chrome
by Ggger on Fri 13th Dec 2013 16:35 in reply to "RE[2]: Ones doesn't need Chrome"
Ggger Member since:
2013-09-24

"Cool! Much better. IMHO It's stupid to run native code on a web browser...it goes against the original idea of the web.

The original idea of the Web was to share documents, not apps. ….Solutions like NaCl brings back the freedom that should always have been there.
"

This is the freedom for the price of being browser-specific or depending on a browser plugin. It might have been called "Google Flash" or "Google IE" 10 years ago.
Perhaps we are going to witness yet another holy war soon - emscripten/asm.js vs PNaCl or something like that.

Reply Parent Score: 3

lvl21ogre Member since:
2013-07-04

That's not true at all anymore. You can compile other languages into Javascript, you just have to use LLVM and Emscripten+asm.js (or similar tech) to do it. If they can get Unreal Engine working on it, then I'm sure you don't need NaCl at all.

Reply Parent Score: 2

Bill Shooter of Bul Member since:
2006-07-14

Yes, but against the original idea of the internet.

In any case, the original idea of something isn't necessarily the best.

Reply Parent Score: 3

RE[2]: Ones doesn't need Chrome
by amaury on Mon 16th Dec 2013 17:37 in reply to "RE: Ones doesn't need Chrome"
amaury Member since:
2013-12-16

That's the point of PNaCl (Portable Native Client). Unlike NaCl (Native Client), which runs native executable compiled from C/C++ source code, PNaCl compile C/C++ source to LLVM bytecode; then Chrome uses the LLVM VM to execute it.

LLVM's bytecode is portable. I agree with you about NaCL: it's not portable, it doesn't belong to the Web. But there is no problem with PNaCl.

Reply Parent Score: 1