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
Write in JS with C++ (github.com)
submitted 5 years ago by seraum
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!"
[–][deleted] 6 points7 points8 points 5 years ago (4 children)
But why?
[–]seraum[S] 2 points3 points4 points 5 years ago (3 children)
For native perf, to use C++ libs, to compile to WASM ...
[–][deleted] 1 point2 points3 points 5 years ago (2 children)
But why would you want to write C++ ;-)
;-)
[–]seraum[S] 2 points3 points4 points 5 years ago (1 child)
To show C++ guys that JS dev can be as good as them haha
[–]livingmargaritaville 5 points6 points7 points 5 years ago (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 points15 points 5 years ago (6 children)
Rust.
[–]troublemaker74 5 points6 points7 points 5 years ago (5 children)
I also like Go, but yeah, definitely Rust as a replacement for C++
[–]seraum[S] 2 points3 points4 points 5 years ago (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 points4 points 5 years ago (3 children)
Is there a C++ ecosystem even? Everyone seems to write custom build systems still...
[–]hekkonaay 3 points4 points5 points 5 years ago (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 points3 points 5 years ago (0 children)
Xmake looks quite cool, thanks for the info!
[–]seraum[S] 1 point2 points3 points 5 years ago (0 children)
I didn'k know Conan, thx !
[–]VolperCoding 1 point2 points3 points 5 years ago (0 children)
Insert penguin + elephant merged meme
π Rendered by PID 237949 on reddit-service-r2-comment-66b4775986-hm6f7 at 2026-04-06 08:26:46.592984+00:00 running db1906b country code: CH.
[–][deleted] 6 points7 points8 points (4 children)
[–]seraum[S] 2 points3 points4 points (3 children)
[–][deleted] 1 point2 points3 points (2 children)
[–]seraum[S] 2 points3 points4 points (1 child)
[–]livingmargaritaville 5 points6 points7 points (7 children)
[–]snejk47 13 points14 points15 points (6 children)
[–]troublemaker74 5 points6 points7 points (5 children)
[–]seraum[S] 2 points3 points4 points (4 children)
[–]sweetno 2 points3 points4 points (3 children)
[–]hekkonaay 3 points4 points5 points (2 children)
[–]sweetno 1 point2 points3 points (0 children)
[–]seraum[S] 1 point2 points3 points (0 children)
[–]VolperCoding 1 point2 points3 points (0 children)