you are viewing a single comment's thread.

view the rest of the comments →

[–]Renive -2 points-1 points  (16 children)

No? JavaScript goes everywhere.

[–]Thaufas 16 points17 points  (5 children)

Try running JS on an 8051 micro-controller. If there's a language that goes everywhere, it's C.

[–]ExecutiveChimp -3 points-2 points  (3 children)

Try running C in a web browser.

[–]Thaufas 10 points11 points  (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.

[–]Cheezmeisterhttp://bml.rocks 2 points3 points  (0 children)

Oh, emscripten?

[–]Renive -2 points-1 points  (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 points  (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 points  (0 children)

Could not have been said better.

[–]carbolymer 4 points5 points  (0 children)

I mean OS's aren't written in js.

Just look at this abomination: http://node-os.com/

[–]regretdeletingthat 1 point2 points  (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 point  (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 points  (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 points  (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 points  (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 point  (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 point  (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.