Live data from Hacker News

JSLinux Now Supports x86_64

bellard.org

1–10 of 148 posts

Re: JSLinux Now Supports x86_64

#3
Unfortunately, he didn't attach the source code for the 64-bit x86 emulation layer, or the config used to compile the hosted image.

For a more open-source version, check out container2wasm (which supports x86_64, riscv64, and AArch64 architectures): https://github.com/container2wasm/container2wasm

Re: JSLinux Now Supports x86_64

#4
post #2

I've always been fascinated by this, but I have never known what it would be useful for. Does anyone know of any practical use cases?

Maybe if you’ve got some ancient software that’s missing source code and only runs with X Y and Z conditions, you could continue to offer it on the web and build around it like that? Not sure if that would be practical at all, but could be interesting

Re: JSLinux Now Supports x86_64

#5
post #2

I've always been fascinated by this, but I have never known what it would be useful for. Does anyone know of any practical use cases?

My college professor used it to teach us the Linux command line

We have Windows PCs in the classroom.

Re: JSLinux Now Supports x86_64

#6
post #2

I've always been fascinated by this, but I have never known what it would be useful for. Does anyone know of any practical use cases?

I use bellard.org/jslinux to test compilation of strange code sometimes[1], since it came with compilers that are different versions from what I have installed locally, and it's easier to open up a browser than starting a VM.

[1] For example:

https://www.ioccc.org/2020/yang/index.html#:~:text=tcc%200.9...

https://www.ioccc.org/2018/yang/index.html#:~:text=tcc%200.9...

Re: JSLinux Now Supports x86_64

#7
post #2

I've always been fascinated by this, but I have never known what it would be useful for. Does anyone know of any practical use cases?

Most such emulators have Internet access on the IP level. Therefore, this is a very cheap way to test anything on the Internet.

    apk add nmap
    nmap your.domain.com
However, the speed is heavily throttled. You can even use ssh and login to your own server.

It can also be used as a very cheap way to provide a complete build environment on a single website, for example to teach C/C++. Or to learn the shell. You don't have to install anything.

Re: JSLinux Now Supports x86_64

#8
post #3

Unfortunately, he didn't attach the source code for the 64-bit x86 emulation layer, or the config used to compile the hosted image. For a more open-source version, check out container2wasm (which supports x86_64, riscv64, and AArch64 architectures): https://github.com/container2wasm/container2wasm

https://github.com/copy/v86 might be a more 1:1 fully open sourced alternative.

Re: JSLinux Now Supports x86_64

#9
post #3

Unfortunately, he didn't attach the source code for the 64-bit x86 emulation layer, or the config used to compile the hosted image. For a more open-source version, check out container2wasm (which supports x86_64, riscv64, and AArch64 architectures): https://github.com/container2wasm/container2wasm

https://github.com/copy/v86 might be a more 1:1 fully open sourced alternative.

Not really. x86_64 is not supported yet: https://github.com/copy/v86/issues/133
Post reply on HN