Live data from Hacker News

JSLinux

bellard.org

61–70 of 121 posts

Re: JSLinux

#61
post #16

Fabrice does a great job at building these self-contained pieces of software which often grow to have lives of their own. As a lesser known example, JSLinux's terminal emulator was forked a few times and is now known as xterm.js, which has become the predominant web embeddable terminal emulator. This all comes full circle, because now I'm building a true successor to JSLinux that's way faster because I've natively co…

Awesome, I suppose it's more energy efficient then jslinux and can be run on iOS, it might be a good alternative for A-Shell or iSH. I tried it on my a MacBook, but the keyboard input doesn't register.

Thanks for pointing this out, I've deployed a fix. One of my goals for the project is to create a useful computing environment on top of any arbitrary locked down platform, so I'd love to turn it into an iOS app at some point.

Re: JSLinux

#62

Considering the extremes of prolific developers gives interesting contrast to dogmas such as "functions/files should never be above x lines", where `quickjs.c` is 50k lines and has functions that are hundreds of lines long: https://github.com/bellard/quickjs/blob/master/quickjs.c (Obviously different approaches suits different circumstances.)

Case in point: .NET's garbage collector which is a single 54k loc C++ file.

Re: JSLinux

#63
post #2

I can't seem to get the Linux VMs running (I'm just getting a CORS error when it tries to fetch the little text file at ` https://vfsync.org/u/os/buildroot-riscv64/head ` for example), but the Windows 2000 one does work. Quite smoothly even.

It only allows bellard.org, not www.bellard.org. Changing the domain loads the same webpage, but with CORS working as intended.

Re: JSLinux

#64
Good.

Only wayland RISC-V 64bits binaries from now on, even for the web.

We don't need anything else anymore.

Re: JSLinux

#65
post #16

Fabrice does a great job at building these self-contained pieces of software which often grow to have lives of their own. As a lesser known example, JSLinux's terminal emulator was forked a few times and is now known as xterm.js, which has become the predominant web embeddable terminal emulator. This all comes full circle, because now I'm building a true successor to JSLinux that's way faster because I've natively co…

is there any command working ? ps, cat, vi, ed .. they all crash (I don't know enough about embedding busybox to know what to do)

Re: JSLinux

#66

Considering the extremes of prolific developers gives interesting contrast to dogmas such as "functions/files should never be above x lines", where `quickjs.c` is 50k lines and has functions that are hundreds of lines long: https://github.com/bellard/quickjs/blob/master/quickjs.c (Obviously different approaches suits different circumstances.)

In the age of advanced IDEs/text editors with goto definition, find references/usage, fuzzy search, etc, what is even the point of multiple files?

I never navigate by files in my code bases, it's all based on search and "jump to" type navigation.

Re: JSLinux

#67

I have to say there are some extremely talented, creative and productive "software artists" or ICs coming out of France. Not sure if that's a French thing (the Ecoles or whatever) or something else, but it's noticable.

Can you name some that invite comparison with FB?

I'd do less comparison and more recognition. Some of these are kind of old or from the past and I'm no expert and the list is very incomplete but:

Jean Ichbiah - big contributor to Ada

Alain Colmerauer - creator of Prolog

Jean-Marie Hullot - iCal, iSync, NeXTSTEP GUI builder, CTO of Applications at Apple in early 2000s

Philippe Kahn - founder of Borland, inventor of first camera-phone

Olivier Fourdan - creator of Xfce, big contributor to Wayland

Re: JSLinux

#68
I played around in Windows 2000 for the first time in 20 years. I know nostalgia can be blinding, but I would go back to that UI in a heartbeat. The uncluttered taskbar, the simple start menu that isn't full of useless recommendations and ads—such a joy!

Re: JSLinux

#69

I have to say there are some extremely talented, creative and productive "software artists" or ICs coming out of France. Not sure if that's a French thing (the Ecoles or whatever) or something else, but it's noticable.

Bootlin is a French company and they are a major open source contributor. I worked with them and I recommend them.

French tech used to have a reputation for Renault old car quality, but I did not see it. Even in Renault and Citroen I came to admire them. On the other hand working with German SE is hard because they are incredibly set on not invented here. My generalisation for whatever it is worth.

In general the issue of Europe tech scene is simple: we suck at selling and optimise for resource efficiency(competitive salary means never pay above rate no matter what). Americans optimise for growth and will risk paying for higher so they can amortise costs with growth.

On a final note, where I come from there is lots of sneer that France is a dump due to immigration. While that is a point of view, it is definitely true they have also brain drained their colonies and have very capable productive individuals coming from there. Myself I had my master’s tutor from cot-de-Ivoir and in bootlin also worked with top of the shelf engineers that have non francophone names.

Re: JSLinux

#70
post #16

Fabrice does a great job at building these self-contained pieces of software which often grow to have lives of their own. As a lesser known example, JSLinux's terminal emulator was forked a few times and is now known as xterm.js, which has become the predominant web embeddable terminal emulator. This all comes full circle, because now I'm building a true successor to JSLinux that's way faster because I've natively co…

This produces

        attempted to munmap
        ------------[ cut here ]------------
        WARNING: CPU: 3 PID: 36 at kernel/exit.c:812 0x00000000
        CPU: 3 PID: 36 Comm: sh Not tainted 6.1.132 #
        Stack:
            at vmlinux.o.__warn (https://linux.tombl.dev/dist/vmlinux-NLTKI6YG.wasm:wasm-function[278]:0x17655)
            at vmlinux.o.warn_slowpath_fmt (https://linux.tombl.dev/dist/vmlinux-NLTKI6YG.wasm:wasm-function[279]:0x1772b)
            at vmlinux.o.do_exit (https://linux.tombl.dev/dist/vmlinux-NLTKI6YG.wasm:wasm-function[329]:0x1985e)
            at vmlinux.o.task_entry_inner (https://linux.tombl.dev/dist/vmlinux-NLTKI6YG.wasm:wasm-function[154]:0x12249)
            at vmlinux.o.task_entry (https://linux.tombl.dev/dist/vmlinux-NLTKI6YG.wasm:wasm-function[153]:0x12155)
            at self.onmessage (https://linux.tombl.dev/dist/worker-MHWHWELT.js:151:53)
        ---[ end trace 0000000000000000 ]---
on any command
Post reply on HN