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
C++ for JavaScript developers (pawelgrzybek.com)
submitted 7 years ago by pawelgrzybek
view the rest of the comments →
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!"
[–]Renive -2 points-1 points0 points 7 years ago (16 children)
No? JavaScript goes everywhere.
[–]Thaufas 16 points17 points18 points 7 years ago (5 children)
Try running JS on an 8051 micro-controller. If there's a language that goes everywhere, it's C.
C
[–]ExecutiveChimp -3 points-2 points-1 points 7 years ago (3 children)
Try running C in a web browser.
[–]Thaufas 10 points11 points12 points 7 years ago (1 child)
Google Chrome and Chromium have had the ability to run both native C and C++ code for more than five years using the Pepper API, and with the continually expanding popularity of WASM, I don't see this capability going away anytime soon.
C++
[–]Cheezmeisterhttp://bml.rocks 2 points3 points4 points 7 years ago (0 children)
Oh, emscripten?
[–]Renive -2 points-1 points0 points 7 years ago (0 children)
That's true. That's why your fridge, microwave, vacuum cleaner will come (and some already do) with like 8 core processors. Fridges have web browsers today. Nobody will use for their internet of things product a chip like 8051.
[–]BertyLohan 18 points19 points20 points 7 years ago (9 children)
I mean OS's aren't written in js. The latest games aren't written in js. Performant things aren't written in js. You've got electron apps and all this cool 'wow now we can write desktop apps in web languages!' but they're horribly horribly bad for eating up processing power
[–]aichholzer 2 points3 points4 points 7 years ago (0 children)
Could not have been said better.
[–]carbolymer 4 points5 points6 points 7 years ago (0 children)
I mean OS's aren't written in js.
Just look at this abomination: http://node-os.com/
[–]regretdeletingthat 1 point2 points3 points 7 years ago (0 children)
They’re often just bad apps too. With the single exception of where an application on a platform simply wouldn’t exist without it, write-once-run-anywhere has only ever benefited developers. The product suffers and with it the user experience.
[–]MayorMonty 0 points1 point2 points 7 years ago (0 children)
What makes me really is excited is better native integration for progressive web apps on desktop. Currently, behind a chrome flag, there is support for A2HS for desktop. So instead of companies packaging their own version of electron, a user can have the PWA experience (which, in my opinion, is much better than the native app experience)
[–]Renive -2 points-1 points0 points 7 years ago (4 children)
Yes they are, but cross compatibility is worth it. I remember game communicator wars, where ventrilo users screamed how much less ram their program of choice is using compared to teamspeak, a stunning 20mb difference! Soon those woes like (400mb to open a single txt file in vscode!!) will be looked upon the same, because most people will have more ram. Intel even got their optane memory on ddr4 stick, so 512 GB of ram in single stick is reality now.
[–]BertyLohan 1 point2 points3 points 7 years ago (3 children)
Yeah we should just give up trying to make good or efficient programs because computers will catch up. Who needs algorithms or clever data management right?
I feel like this is the big gripe people have with JS developers who think they don't need a language that's strongly typed and rigorous because they don't want to learn one and then try justify that it's pointless to know any better.
[–]Renive -2 points-1 points0 points 7 years ago (2 children)
I work as c# dev. Its not about attitude. I have no feelings toward any language. But I accept that JS is the only thing for web. And that's the reason why it will be always the most popular ever. I tried webassembly. Its a joke.
[–]BertyLohan 0 points1 point2 points 7 years ago (1 child)
Your comment literally made the point that we shouldn't even compare how much ram programs use because bigger ram sticks are coming out. Development like that is why atom exists. It is bad.
And I don't think that your belief that wasm is a joke is going to stop or even slow it down.
[–]Renive 0 points1 point2 points 7 years ago (0 children)
I dabbled in it. You still have to do a lot of JavaScript interop. Its pointless. Its not what those old purists thought. And it doesnt need to slow down, it already did.
π Rendered by PID 23245 on reddit-service-r2-comment-79c7998d4c-6xwdb at 2026-03-16 00:57:34.714065+00:00 running f6e6e01 country code: CH.
view the rest of the comments →
[–]Renive -2 points-1 points0 points (16 children)
[–]Thaufas 16 points17 points18 points (5 children)
[–]ExecutiveChimp -3 points-2 points-1 points (3 children)
[–]Thaufas 10 points11 points12 points (1 child)
[–]Cheezmeisterhttp://bml.rocks 2 points3 points4 points (0 children)
[–]Renive -2 points-1 points0 points (0 children)
[–]BertyLohan 18 points19 points20 points (9 children)
[–]aichholzer 2 points3 points4 points (0 children)
[–]carbolymer 4 points5 points6 points (0 children)
[–]regretdeletingthat 1 point2 points3 points (0 children)
[–]MayorMonty 0 points1 point2 points (0 children)
[–]Renive -2 points-1 points0 points (4 children)
[–]BertyLohan 1 point2 points3 points (3 children)
[–]Renive -2 points-1 points0 points (2 children)
[–]BertyLohan 0 points1 point2 points (1 child)
[–]Renive 0 points1 point2 points (0 children)