TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

JSLinux – Run Linux or other Operating Systems in your browser

312 pointsby begoonover 7 years ago

25 comments

christophilusover 7 years ago
It takes less time to boot Linux in Chrome on my laptop than it takes Reddit to load a discussion on my phone. That's pretty amazing. Not sure which is more amazing: How slow Reddit mobile is or how fast Linux boots in JS.
评论 #15280997 未加载
评论 #15278540 未加载
jason_slackover 7 years ago
I feel like Bellard is a super hero. I wonder if he has a day job and just takes on these interesting (and large?) projects during his off time.
评论 #15275345 未加载
评论 #15280365 未加载
评论 #15276602 未加载
coreyp_1over 7 years ago
I just played Pinball in Windows 2000 in Chrome on Windows 10. I lost, but winning was not the point. Playing was. :)<p>I think that that sentiment encapsulates my CS experience.
评论 #15277087 未加载
评论 #15279693 未加载
评论 #15277445 未加载
m_sahafover 7 years ago
Oddly, no one here linked to Gary Bernhardt&#x27;s talk: The Birth &amp; Death of JavaScript (YavaScript)<p>[1] <a href="https:&#x2F;&#x2F;www.destroyallsoftware.com&#x2F;talks&#x2F;the-birth-and-death-of-javascript" rel="nofollow">https:&#x2F;&#x2F;www.destroyallsoftware.com&#x2F;talks&#x2F;the-birth-and-death...</a>
jeffmcmahanover 7 years ago
It hung at the boot screen for me, which really took me back.
评论 #15276231 未加载
评论 #15278053 未加载
ericfrederichover 7 years ago
What a great nostalgic color. I think I&#x27;ll change my Windows 10 desktop to it.<p><a href="http:&#x2F;&#x2F;www.colorhexa.com&#x2F;3a6ea5" rel="nofollow">http:&#x2F;&#x2F;www.colorhexa.com&#x2F;3a6ea5</a>
评论 #15275906 未加载
lxeover 7 years ago
Fabrice Bellard&#x27;s jsLinux and Jeff Parsons&#x27;s <a href="https:&#x2F;&#x2F;www.pcjs.org&#x2F;" rel="nofollow">https:&#x2F;&#x2F;www.pcjs.org&#x2F;</a> are pretty fascinating.<p>I think Bellard uses emscripten (transpiled machine and device emulator code from C to JS), while pcjs is hand-coded JS (which is neat: <a href="https:&#x2F;&#x2F;github.com&#x2F;jeffpar&#x2F;pcjs&#x2F;blob&#x2F;master&#x2F;modules&#x2F;pcx86&#x2F;lib&#x2F;x86cpu.js" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;jeffpar&#x2F;pcjs&#x2F;blob&#x2F;master&#x2F;modules&#x2F;pcx86&#x2F;li...</a>).<p>Also is the source for jslinux available anywhere? The emscriptified file at <a href="https:&#x2F;&#x2F;bellard.org&#x2F;jslinux&#x2F;x86emu.js" rel="nofollow">https:&#x2F;&#x2F;bellard.org&#x2F;jslinux&#x2F;x86emu.js</a> is quite compex.
评论 #15276034 未加载
评论 #15278141 未加载
评论 #15276633 未加载
3pt14159over 7 years ago
How does it do wget, etc. without violating CORS? I was able to download from a couple different websites.
评论 #15278477 未加载
评论 #15278430 未加载
singularity2001over 7 years ago
ad blockers here translate nicely to boot errors: Boot failed: could not read the boot disk ntoskrnl.exe missing or corrupt
NuSkoolerover 7 years ago
Any relation to <a href="https:&#x2F;&#x2F;github.com&#x2F;copy&#x2F;v86" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;copy&#x2F;v86</a>?
评论 #15277988 未加载
zapperdapperover 7 years ago
Wow, that&#x27;s impressive! I tried FreeDOS and it booted very quickly. Nice to play around with DOS again - it&#x27;s even got tab completion on the command line these days - fancy!<p>p.s. By the way archive.org were doing something very similar. You could load up a DOS box from their web site and have the old disk mags and demos running in your browser. All very cool stuff!
ben174over 7 years ago
<p><pre><code> rm -rf &#x2F; </code></pre> It just feels so wrong. I know it&#x27;s doing exactly zero damage but I still feel guilty running it.
iso-8859-1over 7 years ago
Interesting with the VFSync site, nice to see some standardization on this. I used to work on on-demand file systems in Emscripten, but it never worked well, especially because you can&#x27;t have binary XHR outside webworkers.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;kripken&#x2F;emscripten&#x2F;commit&#x2F;e2046bb8ce2b2ccaaca5328f21a79c6efe15f336" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;kripken&#x2F;emscripten&#x2F;commit&#x2F;e2046bb8ce2b2cc...</a><p>But I don&#x27;t understand, why is VFSync superior to something like NFS?<p>It seems that Bellard is trying to set up a hosting site for VFSync, so that people can easily share images. I dreamt about having something like that, combined with copy-on-write, which would make it possible to make small changes to a big filesystem and share them, without having to upload the full system. Kind of like with Docker. I wonder if that would be compatible with the VFSync model.
1_800_UNICORNover 7 years ago
I couldn&#x27;t get the Windows 2000 VM to connect to the internet, otherwise I wanted to try and get at least a 1-level recursive reference going... Windows 2000 running in Firefox running in Windows 2000 running in Chrome running on a Macbook Pro.<p>If anyone has gotten Windows 2000 to connect to the internet, would love to take a stab at it.
评论 #15278330 未加载
评论 #15279392 未加载
评论 #15278590 未加载
评论 #15278905 未加载
veganjayover 7 years ago
Cool stuff! GCC works - I thought it was broken, but it just takes a long time.<p>[root@localhost tmp]# time gcc hello.c -o hello<p>real 0m 24.43s<p>user 0m 2.63s<p>sys 0m 2.17s<p>[root@localhost tmp]# .&#x2F;hello<p>Hello, World!
评论 #15277096 未加载
评论 #15278320 未加载
skytreaderover 7 years ago
Windows 2000 plays wonky with my keyboard. Any idea why?<p>For instance, I open Pinball and, after getting a new game with F2, pressing space (to launch the ball) does nothing except open that menu that pops up when you right click a window.<p>I open Notepad and I can&#x27;t type words. If I press &quot;o&quot; it opens the &quot;Format&quot; menu. Which strikes me as odd.<p>(But really, just let me play Pinball. :D)
评论 #15277861 未加载
评论 #15277847 未加载
jvandonselover 7 years ago
Is there a practical use case for this other than &quot;ain&#x27;t it cool&quot;?
评论 #15275416 未加载
评论 #15275837 未加载
评论 #15275531 未加载
评论 #15280747 未加载
评论 #15277091 未加载
hzhou321over 7 years ago
How do I install vim?<p>PS: It has git, but no network.<p>PS: Upload non-zipped tar balls works. How to access the image (downloading)?<p>PS: Well, it is way too slow and hangs easily. I guess it is only an interest at this point.
评论 #15276374 未加载
评论 #15276466 未加载
faragonover 7 years ago
Wow, now includes graphics!!! Fabrice Bellard is amazing.
akmittalover 7 years ago
Is it using WebAssembly?
评论 #15277150 未加载
reboog711over 7 years ago
Super slow, but pretty cool....<p>Finally I can play Solitaire without Ads again.
评论 #15278783 未加载
agumonkeyover 7 years ago
oh !<p>- linux kernel 4.12<p>- freedos image - windows 2000 image (!!!)<p>and riscv32 emulation for the above listed
评论 #15277929 未加载
ljosaover 7 years ago
Has anyone gotten uploading to FreeDOS to work?
plix71over 7 years ago
One step closer to GNU Hurd hegemony!
jugg1esover 7 years ago
Was windows 2000 open-sourced?
评论 #15277411 未加载