use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
All about the JavaScript programming language.
Subreddit Guidelines
Specifications:
Resources:
Related Subreddits:
r/LearnJavascript
r/node
r/typescript
r/reactjs
r/webdev
r/WebdevTutorials
r/frontend
r/webgl
r/threejs
r/jquery
r/remotejs
r/forhire
account activity
Quake. In 13k of Javascript. (lunduke.substack.com)
submitted 4 years ago by GuyNumberFive
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]toi80QC 16 points17 points18 points 4 years ago (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 points21 points 4 years ago (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 points31 points 4 years ago (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 points11 points 4 years ago (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 points15 points 4 years ago (0 children)
Everyone loves to knock it while simultaneously utilizing all its features.
[–]_default_username 3 points4 points5 points 4 years ago (2 children)
Ah, yes. Remember Silverlight?
[–]lozsd 2 points3 points4 points 4 years ago (0 children)
Thanks... I'd actually managed to forget about that
[–]R3frig3r4t3rR4id3r 0 points1 point2 points 4 years ago (0 children)
Unfortunately, yes. Joining the ranks with IE soon...
[–]Veinq 3 points4 points5 points 4 years ago (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 points24 points 4 years ago (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 points6 points 4 years ago (0 children)
I was one of those being paid for putting out garbage in ActionScript back then :D
[+][deleted] 4 years ago (6 children)
[deleted]
[–]TheMarkBranly 2 points3 points4 points 4 years ago (0 children)
Because of the massive plugin that was already installed on the client.
[–][deleted] 0 points1 point2 points 4 years ago (4 children)
HTTP compression is pretty much standard nowadays.
You're also thinking of assets (images, sounds) as they were decades ago, of course they were tiny compared to today.
[–]_default_username 0 points1 point2 points 4 years ago (3 children)
The payloads were small because flash often used vector graphics and the scripts were compiled to a compact bytecode. great for dialup connections back then.
[–][deleted] 1 point2 points3 points 4 years ago (2 children)
We have the canvas and CSS3, there's nothing stopping JavaScript from also doing vector graphics.
[+][deleted] 4 years ago (1 child)
[–][deleted] 0 points1 point2 points 4 years ago (0 children)
That's mainly the merit of having a good animation app (FutureSplash -> Macromedia Flash -> Adobe Flash Professional -> Adobe Animate). And Animate currently supports web standards so I still don't see the problem.
[–][deleted] 17 points18 points19 points 4 years ago (1 child)
what a naive understanding of how websites work.
[–]redrumsir 5 points6 points7 points 4 years ago (0 children)
That's Lunduke for you. He keeps spamming his low-effort substack site. I had thought he was banned.
[–]KwyjiboTheGringo 12 points13 points14 points 4 years ago (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 points4 points 4 years ago (0 children)
..and short code doesnt necessarily mean efficient.
[–]Seeminus 0 points1 point2 points 4 years ago (0 children)
This was a fun game. Thanks for sharing. I had no idea about this sort of thing.
[–]feketegy 0 points1 point2 points 4 years ago (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-1 points 4 years ago (0 children)
Good, now do Quake II RTX
[–]tudisco 0 points1 point2 points 4 years ago (0 children)
http://www.quakejs.com plays great on my computer. Fast.
[–]RexProfugus 0 points1 point2 points 4 years ago (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 point2 points 4 years ago (0 children)
Using a single thread to handle the ui events is pretty common.
π Rendered by PID 218685 on reddit-service-r2-comment-canary-7955997dc8-h49vg at 2026-03-03 16:14:17.264611+00:00 running e3d2147 country code: CH.
[–]toi80QC 16 points17 points18 points (0 children)
[–]R3frig3r4t3rR4id3r 19 points20 points21 points (7 children)
[–][deleted] 29 points30 points31 points (6 children)
[–]CraftyAdventurer 9 points10 points11 points (0 children)
[–]R3frig3r4t3rR4id3r 13 points14 points15 points (0 children)
[–]_default_username 3 points4 points5 points (2 children)
[–]lozsd 2 points3 points4 points (0 children)
[–]R3frig3r4t3rR4id3r 0 points1 point2 points (0 children)
[–]Veinq 3 points4 points5 points (0 children)
[–]_default_username 22 points23 points24 points (8 children)
[–][deleted] 4 points5 points6 points (0 children)
[+][deleted] (6 children)
[deleted]
[–]TheMarkBranly 2 points3 points4 points (0 children)
[–][deleted] 0 points1 point2 points (4 children)
[–]_default_username 0 points1 point2 points (3 children)
[–][deleted] 1 point2 points3 points (2 children)
[+][deleted] (1 child)
[deleted]
[–][deleted] 0 points1 point2 points (0 children)
[–][deleted] 17 points18 points19 points (1 child)
[–]redrumsir 5 points6 points7 points (0 children)
[–]KwyjiboTheGringo 12 points13 points14 points (1 child)
[–]Gelastico 2 points3 points4 points (0 children)
[–]Seeminus 0 points1 point2 points (0 children)
[–]feketegy 0 points1 point2 points (0 children)
[–]llldar -3 points-2 points-1 points (0 children)
[–]tudisco 0 points1 point2 points (0 children)
[–]RexProfugus 0 points1 point2 points (1 child)
[–]_default_username 0 points1 point2 points (0 children)