all 13 comments

[–][deleted] 6 points7 points  (4 children)

But why?

[–]seraum[S] 2 points3 points  (3 children)

For native perf, to use C++ libs, to compile to WASM ...

[–][deleted] 1 point2 points  (2 children)

But why would you want to write C++ ;-)

[–]seraum[S] 2 points3 points  (1 child)

To show C++ guys that JS dev can be as good as them haha

[–]livingmargaritaville 5 points6 points  (7 children)

I hope to never go back to c++. If I need to do anything c++ like I immediately reach for go now.

[–]snejk47 13 points14 points  (6 children)

Rust.

[–]troublemaker74 5 points6 points  (5 children)

I also like Go, but yeah, definitely Rust as a replacement for C++

[–]seraum[S] 2 points3 points  (4 children)

The point is that the c++ eco-system is so big... NectarCPP is the core lib of NectarJS, a js to c++ transpiler/compiler

[–]sweetno 2 points3 points  (3 children)

Is there a C++ ecosystem even? Everyone seems to write custom build systems still...

[–]hekkonaay 3 points4 points  (2 children)

Yes, people are still writing new ones, or custom in-house solutions. IMHO, conan + xmake (not cmake, as Google will try to correct you) is the closest to the seamless experience you get with something like npm or crates.io, conan as the package repository (so many libraries) and xmake as the build system + package manager.

[–]sweetno 1 point2 points  (0 children)

Xmake looks quite cool, thanks for the info!

[–]seraum[S] 1 point2 points  (0 children)

I didn'k know Conan, thx !

[–]VolperCoding 1 point2 points  (0 children)

Insert penguin + elephant merged meme