Live data from Hacker News

Unix in the Browser Tab

browsix.org

21–30 of 79 posts

Re: Unix in the Browser Tab

#21
I have a big problem with this: where is the link to try it? I just don't understand when I read something about an "x that works in the browser" and there is no demo link.

Re: Unix in the Browser Tab

#24
post #16
post #5

Earlier quoted context omitted.

This is different. What you usually see is mock-ups of graphical shells. This is a kernel.

Maybe I misunderstand, but didn't JSLinux[1][2] do system emulation running a proper kernel basically since 2012? 1: http://jslinux.org/ 2: https://bellard.org/jslinux/tech.html

For sure, it's amazing to get a full kernel running; there's so much one could do. But an emulator and a full kernel is going to have a sizable footprint, be a significant amount to download, and performance is going to be mediocre. Yes there's a linux kernel running, but it's inside a virtualization layer; if you want to integrate & have the page interact with the kernel, you'd need to start hacking some pretty wild channels to punch through that virtualization layer.

Writing an operating system that directly targets the browser, that offers the expected/standard system calls ought to be smaller and faster, and more interestingly, it can potentially integrate with the rest of the page in interesting fashions, easily.

Re: Unix in the Browser Tab

#25

Why not "stream" an image of an actual OS (say, linux) to the browser? Has anyone pulled that off yet? (Kind of like rendering services for example, the client is just for user interaction, everything else is streamed from server where all the computation happens)

Both AWS and Azure provides this as a service with either Windows or Linux.

There's also a relatively new service called Mighty App, which streams just a browser with the idea that you can manage 100's of tabs with all the browser processing being done on the remote server.

Re: Unix in the Browser Tab

#27
post #2

Past discussion: https://news.ycombinator.com/item?id=13151566 (2016, 124 comments)

Thanks! Also these little ones:

Run C, C++, Go and Node.js programs as processes in browsers - https://news.ycombinator.com/item?id=13108027 - Dec 2016 (1 comment)

Browsix: Unix in the browser tab - https://news.ycombinator.com/item?id=13063232 - Nov 2016 (5 comments)

Re: Unix in the Browser Tab

#28
post #15

Why not "stream" an image of an actual OS (say, linux) to the browser? Has anyone pulled that off yet? (Kind of like rendering services for example, the client is just for user interaction, everything else is streamed from server where all the computation happens)

https://guacamole.apache.org/ If I understood you correctly.

Thanks! Checking it out

Re: Unix in the Browser Tab

#29

Why not "stream" an image of an actual OS (say, linux) to the browser? Has anyone pulled that off yet? (Kind of like rendering services for example, the client is just for user interaction, everything else is streamed from server where all the computation happens)

I have a demo of this here [0] (all the software is in /opt/appfs/rkeene.org). It's using GoTTY [1] for presenting a Linux pty and terminal to your browser, and a simple sandbox.

[0] https://rkeene.dev/js-repl/?arg=bash

[1] https://github.com/yudai/gotty

Post reply on HN