News for hackers. Stuff that matters.
Re:Show HN: My x86 emulator written in JavaScript by javanix on Thursday October 17, 2013 @05:31PM (#6568274)
At 2000 kIPS you may have a few generations of javascript engines to go before we get there.

That's not meant to take away from this project - it truly is amazing what can be interpreted in the browser now.

Re:Show HN: My x86 emulator written in JavaScript by tekacs on Thursday October 17, 2013 @06:05PM (#6568464)
Just for reference's sake this does vary a fair bit by computer and browser - mine never drops below ~8kIPS and runs mostly at ~15kIPS (and up to ~23kIPS).

Whilst this is nothing like the several orders of magnitude required for more capable interactive behaviour, it does make my load times noticeably faster than those claimed on the page. :)

(I'm Chrome on Linux, i7 4th Gen, incidentally)

Re:Show HN: My x86 emulator written in JavaScript by kuschku on Thursday October 17, 2013 @06:26PM (#6568582)
I'm getting here > speed 1640kIPS on the old Nexus 7, don't you mean 8kkIPS?

(This value was the average while booting Linux)

Re:Show HN: My x86 emulator written in JavaScript by Hello71 on Thursday October 17, 2013 @08:04PM (#6569005)
psst, the SI prefix for 10^6 is M
Re:Show HN: My x86 emulator written in JavaScript by antsar on Friday October 18, 2013 @01:11PM (#6572496)
You mean to say, 10^7 isn't KKK?
Re:Show HN: My x86 emulator written in JavaScript by tekacs on Friday October 18, 2013 @07:07AM (#6570734)
Absolutely so, yes. Thanks. :)

8 - 23 MIPS ain't so bad, right?

Re:Show HN: My x86 emulator written in JavaScript by wnesensohn on Friday October 18, 2013 @07:34AM (#6570805)
For reference, that's about as fast as a Motorola 68030 @50MHz [1] which was used in the AppleIIx, and while that was no slouch when it was released, you wouldn't want to run a modern development environment on such a machine either ;)

[1] http://en.wikipedia.org/wiki/Motorola_68030

Re:Show HN: My x86 emulator written in JavaScript by dkersten on Saturday October 19, 2013 @02:20PM (#6577274)
A little faster than an Arduino and a little slower than a PIC24. Not too bad.
Re:Show HN: My x86 emulator written in JavaScript by gngeal on Thursday October 17, 2013 @05:44PM (#6568337)
Dynamic translation of x86 sequences could give you some boost, as could use of asm.js.
Re:Show HN: My x86 emulator written in JavaScript by Dylan16807 on Thursday October 17, 2013 @05:54PM (#6568402)
Some things would do badly at that speed. But serving basic web queries would be fine, and give you a better feel for what is slow when milliseconds spent processing turn into actual seconds.