POV-Ray : Newsgroups : povray.off-topic : Linux in javascript : Re: Linux in javascript Server Time
29 Jul 2024 20:13:47 EDT (-0400)
  Re: Linux in javascript  
From: Invisible
Date: 18 May 2011 05:09:28
Message: <4dd38cc8$1@news.povray.org>
On 17/05/2011 23:22, nemesis wrote:
> Fabrice Bellard, head of funky projects like FFmpeg and QEMU, wrote a
> 486 emulator in javascript and put a simplified Linux to run on it.

My mind is still blown by this. The author casually chats about it as if 
emulating something as over-complicated as an IA32 CPU is in some way 
"easy".

Apparently the reason it requires a modern browser is that it uses 
"typed arrays", a newish JS feature that let you manipulate arbitrary 
binary data in memory (somewhat) efficiently. The Linux distro is 
apparently BusyBox, together with a toy C99 compiler written by the 
author of the emulator.

His other projects include an online scientific calculator with graphing 
mode...


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.