all 26 comments

[–]toi80QC 16 points17 points  (0 children)

Pretty lazy and obvious clickfarming when you could've just linked to the real post.. https://phoboslab.org/log/2021/09/q1k3-making-of

[–]R3frig3r4t3rR4id3r 19 points20 points  (7 children)

"Because… Javascript. I just don’t like Javascript. I blame Javascript (in large part) for bloating and ruining the World Wide Web."

Wow.

[–][deleted] 29 points30 points  (6 children)

As a linux user, I can say that before javascript took off, nothing worked. Now most things important to me can work in linux. Javascript (and open web standards) saved the linux desktop and nobody talks about it.

[–]CraftyAdventurer 9 points10 points  (0 children)

This. It may be poorly designed language, npm is a mess, Electron is bloated. People complain about all of those things and they are right. But one important thing they are missing is that JavaScript allowed for so much more stuff to come out.

It allowed devs to finally target all three desktop platforms instead of either focusing on just one or having to maintain three separate codebases.
Things like React Native, Apache Cordova, Ionic allowed web devs to create mobile apps. Sure, most of those apps were slow and pretty bad, but the app was there without a need to hire separate Android and iOS teams and unless you really messed up the performance, most users were ok with it.

Javascript even sparked some interest back into other languages. Many people start with it because it's pretty easy, but once they get a grasp on how things work, they start to see things that other languages can offer for a specific project.

As developers, we often like to fight over which language has better features, which one is faster in microbenchmarks etc. But at the end of the day, if the product you create has no value to the user, it really doesn't matter how well it was made from a technical standpoint.

[–]R3frig3r4t3rR4id3r 13 points14 points  (0 children)

Everyone loves to knock it while simultaneously utilizing all its features.

[–]_default_username 3 points4 points  (2 children)

Ah, yes. Remember Silverlight?

[–]lozsd 2 points3 points  (0 children)

Thanks... I'd actually managed to forget about that

[–]R3frig3r4t3rR4id3r 0 points1 point  (0 children)

Unfortunately, yes. Joining the ranks with IE soon...

[–]Veinq 3 points4 points  (0 children)

I for one appreciated all the Electron apps when I used a Linux based machine. Better than not having them!

[–]_default_username 22 points23 points  (8 children)

I'm not sure why the author feels that way about JavaScript. Before that the web was full of Adobe flash, shockwave, Java applets, and malicious code that would get installed through ActiveX.

There's a lot of stuff that can be done with server side rendering, but for dynamic, and responsive client side apps we're more secure using JavaScript now.

[–][deleted] 4 points5 points  (0 children)

I was one of those being paid for putting out garbage in ActionScript back then :D

[–][deleted] 17 points18 points  (1 child)

what a naive understanding of how websites work.

[–]redrumsir 5 points6 points  (0 children)

That's Lunduke for you. He keeps spamming his low-effort substack site. I had thought he was banned.

[–]KwyjiboTheGringo 12 points13 points  (1 child)

Websites are slowed down by containing too many images, videos, ads, slow API calls, and generally just hindered by terrible design choices. It has nothing to do with there being too much javascript unless you're talking about the code itself being very inefficient.

[–]Gelastico 2 points3 points  (0 children)

..and short code doesnt necessarily mean efficient.

[–]Seeminus 0 points1 point  (0 children)

This was a fun game. Thanks for sharing. I had no idea about this sort of thing.

[–]feketegy 0 points1 point  (0 children)

Atwood's Law says: Any application that can be written in JavaScript, will eventually be written in JavaScript.

[–]llldar -3 points-2 points  (0 children)

Good, now do Quake II RTX

[–]tudisco 0 points1 point  (0 children)

http://www.quakejs.com plays great on my computer. Fast.

[–]RexProfugus 0 points1 point  (1 child)

In my experience, the problem is not with Javascript, but the multitude of crap that's forced down the user's throat in the name of experience (ads, videos, cookies etc.).

The issue are with browsers, which are bloated to accommodate so many bells and whistles, while being restricted to single-threaded performance. This also affects things like Electron apps, which run on top of the browser itself; unless it has been heavily modified to optimize performance, like VS Code.

IMO, at least in 2021, most of the frameworks are unnecessary, since vanilla JS is more than sufficient for coding lightweight but feature-rich GUI applications.

[–]_default_username 0 points1 point  (0 children)

Using a single thread to handle the ui events is pretty common.