News for hackers. Stuff that matters.
Re:Maybe you don't need Rust and WASM to speed up your JS by kbenson on Tuesday February 20, 2018 @12:41AM (#16418104)
Sure, and that's why I was careful to couch the argument as just some other language that includes C and C++ as options (and truthfully includes others, but few have quite the same compatibility story). At this point if you don't know C++ or Rust, which one will give you the most benefit from learning it is a very open question. I think Rust has advantages over C++ in correctness and safety, but C++ currently offers better paths for understanding and utilizing existing code or getting a job using it (whether that was an initial goal or not). Five years down the line the differences may not be so cut and dry though. C++ will almost definitely still have those advantages, but the gap have have closed somewhat. Or maybe not? It's all up in the air.
Re:Maybe you don't need Rust and WASM to speed up your JS by pjmlp on Tuesday February 20, 2018 @06:04AM (#16419408)
Currently C++ still wins over Rust, regarding UI and mobile development, specially in what concerns out-of-box experience.

C++ had the advantage of being immediately adopted by the OS vendors for GUI development, although nowadays, with exception of Windows, its role has changed into just addressing the GPU.

So maybe one day we will get something like shaders, CoreGraphics, DirectX, SurfaceFlinger in Rust, but it will still need a couple of years.

Webrender is already something into this direction.

Re:Maybe you don't need Rust and WASM to speed up your JS by carlmr on Tuesday February 20, 2018 @05:49AM (#16419327)
>but C++ currently offers better paths for understanding and utilizing existing code or getting a job using it

I wouldn't say this is entirely wrong, but proper cross-platform package and test management with Cargo is a reason alone that utilizing existing code is waaay easier in Rust. C++ has more existing code though, so they might hit your niche needs better.

Re:Maybe you don't need Rust and WASM to speed up your JS by pjmlp on Tuesday February 20, 2018 @06:06AM (#16419417)
Here something like conan might finally win the hearts of C++ devs, but it is still pretty much in the beginning.

In what concerns Windows development, NuGET and vcpkg are already a big improvement.

Re:Maybe you don't need Rust and WASM to speed up your JS by carlmr on Tuesday February 20, 2018 @06:10AM (#16419452)
NuGet is pretty good, I've only used it with C#/F# though.