News for hackers. Stuff that matters.
Re:Will Carbon Replace C++? by adgjlsfhk1 on Monday February 27, 2023 @12:39PM (#34959414)
"Run your code in a WASM sandbox" and then your C++ is way slower (and speed is the only reason you were using C++ in the first place)
Re:Will Carbon Replace C++? by xmcqdpt2 on Monday February 27, 2023 @10:47PM (#34965390)
C++ compiled to wasm is just java with extra steps.
Re:Will Carbon Replace C++? by LeFantome on Tuesday February 28, 2023 @01:14AM (#34966245)
I totally agree but there are two differences:

- WASM will be available even more places than the JVM

- way more languages will target WASM than ever did the JVM

Personally, I cannot wait for a WASM future.

Being able to target WASM for the 90% of apps that it is fast enough for and being able to use the same language and libraries to target native when required….is going to be awesome.

I really like the CLR. A more widely adopted version of something similar ( WASM ) is attractive.

Re:Will Carbon Replace C++? by pjmlp on Tuesday February 28, 2023 @03:02AM (#34966833)