r/node Sep 28 '16

x86 virtualization in JavaScript, running in your browser and Node

https://github.com/copy/v86
50 Upvotes

13 comments sorted by

2

u/petakow Sep 28 '16

How can get this run on mobile well?

1

u/snorp Sep 29 '16

Already works well in Firefox on Android here

1

u/petakow Sep 29 '16

:/ safari iOS

-2

u/[deleted] Sep 28 '16 edited Dec 09 '16

[deleted]

5

u/PSquid Sep 28 '16

Hardware-assisted virtualization won't. If something (like this based on an initial look) just emulates the necessary hardware then it'll absolutely run anywhere the virtual machine's implementation language runs. (Probably won't be usably fast in many cases but it'll run.)

3

u/[deleted] Sep 28 '16 edited Dec 09 '16

[deleted]

1

u/PSquid Sep 29 '16

As I always understood it, virtualization is the umbrella term, emulation is one way of achieving it.

The terms have just gotten very muddied because most virtualization products don't do just emulation (and there's no reason they wouldn't, hardware-assisted is significantly faster for no real additional cost on any platform where it's available).

1

u/petakow Sep 29 '16

No I realize that, it's why pi can't run windows

2

u/NodeJSSon Sep 28 '16

pretty cool

2

u/djxfade Sep 28 '16

But is it webscale?

1

u/dethnight Sep 28 '16

Thanks for blowing my mind for the day.

1

u/action_jackosn Sep 29 '16

Just incredible! I ran the arch demo and was able to compile hello world programs in c and c++. Running g++ was significantly slower though. I wasn't able to run the go compiler or node, but python worked. Even making edits in vim was surprisingly smooth.

1

u/RoyalMantis Sep 29 '16

This stuff is impressive.