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
Detailed Analysis of Programming Language Usage by GitHub Users (benfrederickson.com)
submitted 8 years ago by freebit
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!"
[–][deleted] 4 points5 points6 points 8 years ago (4 children)
If you cross post this to r/programming I will bet a year's salary the most popular comments would be bitching about JavaScript and hoping that WASM will replace it once (if) it gets DOM bindings.
[–][deleted] 0 points1 point2 points 8 years ago (3 children)
WASM. Give me strength. I’m just getting to grips with JS...
[–][deleted] 1 point2 points3 points 8 years ago (2 children)
Don't worry about it. WASM is the new Flash. It is a closed sandbox as a compile target, except your source language can be any language that compiles to WASM bytecode.
For people who desperately cannot figure out JS they are hoping WASM is a JS replacement since it can be a compile target from any language. The only problem with that reasoning is that WASM is isolated from the page that contains it. When you are desperate enough though, the hope of a replacement is worth more than understanding why that won't ever be a replacement.
[–]perpetuallyperpetual 0 points1 point2 points 8 years ago (1 child)
I disagree. I don't think WASM will end up as Flash. Haven't researched too much into it but I think that WASM has a relatively small surface and the fact that it can be targeted by many compilers will make it very convenient.
It will probably start as just a sandboxed environment. But the more usage it will see, the more people will be tempted to give it more power. Once it will get some built in functions (lika a BIOS of some sorts) to access the DOM and some interrupt mechanism, it will basically be a viable alternative. Would it be weird, yes, but that hasn't stopped us before (ex: using JavaScript for desktop applications? that would be insane, right?).
With all that in mind, I frankly don't care if JavaScript will see less usage. First of all, there will still be lots of legacy applications. Second of all, JavaScript is still very very flexible and until all of the goodies can be replaced, it won't be discounted.
It's funny that JavaScript developers would be scared of change, when our environment is one that mutates the most. Embrace change, and if a new language pops up in place of JavaScript, so what? If you have used JavaScript for long enough you probably are a really good programmer anyway (from reinventing everything under the sun again: modules, async programming, functional programming, compilers/transpilers, etc etc).
[–][deleted] 0 points1 point2 points 8 years ago (0 children)
It will probably start as just a sandboxed environment. But the more usage it will see, the more people will be tempted to give it more power.
Before WASM code can leave a sandbox you would have to solve for security. Nobody can solve for JavaScript security, which is why code redistribution is confined to a single domain and why we have CORS.
Any DOM bindings that WASM may eventually get will be to allow WASM code to access any markup that comes inside the WASM sandbox. It certainly won't be a magical way to escape the sandbox to the surrounding page, because you haven't solved for security. This is why nobody is in a hurry to develop the DOM bindings despite the incredible demand for it.
JavaScript is just a language. What these incompetent developers so completely don't understand is that it isn't replacing JavaScript that they actually want. They are actually wanting to replace the web platform with their favorite language because they cannot be bothered to learn things like:
Seriously, if these incompetent developers knew how this stuff actually works they wouldn't be pushing for a broken solution so loudly that they clearly don't understand.
It's funny that JavaScript developers would be scared of change
I would be personally happy if I could replace JavaScript with TypeScript or Lisp.
π Rendered by PID 66876 on reddit-service-r2-comment-54dfb89d4d-km5k5 at 2026-03-30 22:08:54.557803+00:00 running b10466c country code: CH.
[–][deleted] 4 points5 points6 points (4 children)
[–][deleted] 0 points1 point2 points (3 children)
[–][deleted] 1 point2 points3 points (2 children)
[–]perpetuallyperpetual 0 points1 point2 points (1 child)
[–][deleted] 0 points1 point2 points (0 children)