Live data from Hacker News

JSLinux

bellard.org

31–40 of 121 posts

Re: JSLinux

#31

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.)

Because people you’re working with are not Fabrice. It is easier to say “don’t do X at all” than explain when it is safe to break the rule.

Also, this would depend on language of choice. JVM, for example, might not inline function above certain threshold of bytecode instructions.

Re: JSLinux

#32
post #10

Earlier quoted context omitted.

Yeah why don't we learn what he wants and just give it to him, in return he'll properly rewrite all the broken shit we have. Phones, operating systems, desktop environments, countries, appstores, etc.

This is literally a brilliant idea. This guy needs a Macarthur grant now. Even if he rewrites half of all the broken shit we have, (and takes all of 20 years to do it) the world will be a better place. Except for _ which will always be a ___ hole.

Just writing a comment here to support this idea as much as I can on HN.

I also upvoted all the comments mentioning that he should have a grant. In my opinion, he really should have.

Re: JSLinux

#33
Does anyone know how Fabrice Bellard gets paid? This guy's output of open source project is simply stunning. Is there anyone in his class? It is hard to compare. I assume that someone like VMWare would try to hire him, or Google to work on video codecs, V8, Chromium rendering, or ffmpeg.

Re: JSLinux

#34
post #27

Earlier quoted context omitted.

The answer is simple: Bellard can recall all 50K lines of context, while most can't. I too happen to have a larger working memory and only later realized that my threshold for files and functions is way higher than most others. The dogma is only required when the file is to be read and written by multiple people.

Tbh I've lived already through at least three different dogmas contradicting each other. Those are sometimes behaving like a fashion

I would say that dogmas are normally born out of necessity before they become dogmatic, so it is beneficial to analyze and extract core values out of dogmas instead of entirely ignoring them. In this particular case we can conclude that the threshold should be determined per team, because some team may have a member whose working memory is exceptionally smaller than the average. (Ultimately this shouldn't surprise anyone because the coding convention has to be per team anyway.)

Re: JSLinux

#35

Does anyone know how Fabrice Bellard gets paid? This guy's output of open source project is simply stunning. Is there anyone in his class? It is hard to compare. I assume that someone like VMWare would try to hire him, or Google to work on video codecs, V8, Chromium rendering, or ffmpeg.

Ok, it looks like he runs his own company: https://www.amarisoft.com/company/about-us

Re: JSLinux

#36
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.

Re: JSLinux

#37
post #10

Earlier quoted context omitted.

Yeah why don't we learn what he wants and just give it to him, in return he'll properly rewrite all the broken shit we have. Phones, operating systems, desktop environments, countries, appstores, etc.

This is literally a brilliant idea. This guy needs a Macarthur grant now. Even if he rewrites half of all the broken shit we have, (and takes all of 20 years to do it) the world will be a better place. Except for _ which will always be a ___ hole.

As I understand, he was born in France, so probably a French national. According to Wiki (https://en.wikipedia.org/wiki/MacArthur_Fellows_Program), he needs to be a citizen or resident of the US to qualify. Bummer. Better idea: Get some crypto-bros to donate 5-10B USD in Bitcoin into a foundation so we can create the international version.

Re: JSLinux

#38

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.)

I work on that codebase (we forked it off to QuickJS-ng) and while daunting at first, it's somewhat easy to work with, with the right editor! Many of them choke on such a large file, alas.

While it being a very large file, it's sorted somewhat semantically, so it's easy to work on adding a new iterator method, for example, since they are all close to each other.

Re: JSLinux

#40
post #10

Earlier quoted context omitted.

Yeah why don't we learn what he wants and just give it to him, in return he'll properly rewrite all the broken shit we have. Phones, operating systems, desktop environments, countries, appstores, etc.

This is literally a brilliant idea. This guy needs a Macarthur grant now. Even if he rewrites half of all the broken shit we have, (and takes all of 20 years to do it) the world will be a better place. Except for _ which will always be a ___ hole.

There's enough money on HN (the demographics) that some wealthy benefactors in a WhatsApp group could just donate it to him. No excuses, get behind ICs.

Of course, back in Renaissance days it was the ICs/artists job to court benefactors -- though sometimes they did approach unsolicited.

Maybe he already has patronage but he doesn't want to flash it around...

Post reply on HN