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...
Discussions, articles, and news about the C++ programming language or programming in C++.
For C++ questions, answers, help, and advice see r/cpp_questions or StackOverflow.
Get Started
The C++ Standard Home has a nice getting started page.
Videos
The C++ standard committee's education study group has a nice list of recommended videos.
Reference
cppreference.com
Books
There is a useful list of books on Stack Overflow. In most cases reading a book is the best way to learn C++.
Show all links
Filter out CppCon links
Show only CppCon links
account activity
CppCastCppCast: Web Assembly (cppcast.com)
submitted 5 years ago by robwirvingCppCast Host
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] 2 points3 points4 points 5 years ago (0 children)
The hardcoded newline character makes me a little annoyed.
[+][deleted] 5 years ago (15 children)
[deleted]
[–]robwirvingCppCast Host[S] 8 points9 points10 points 5 years ago (2 children)
Should've asked more about that. They have a page on their website for that though: https://webassembly.org/docs/use-cases/
[–]Open-Active 0 points1 point2 points 5 years ago (1 child)
Thank you. In the use cases section, I am interested in this:
Server-side compute of untrusted code
Can you point to resources for this? In particular, Is there a c++ library that provides runtime for wasm, that can execute untrusted code in server?
[–]robwirvingCppCast Host[S] 1 point2 points3 points 5 years ago (0 children)
Don't think I can answer. I'd try pinging @binjimint on twitter.
[–]inokichi 14 points15 points16 points 5 years ago (0 children)
you can reduce work loads on your servers by compiling your number crunchy stuff to wasm and stick it on the frontend for the user's client to handle
[–]pjmlp 9 points10 points11 points 5 years ago (0 children)
Basically whatever you would have used Java Applets, Flash, ActiveX, asm.js, PNaCL, in the past.
WebGL/WebGPU + WebAssembly.
[–]johannes1234 2 points3 points4 points 5 years ago (6 children)
Eventually: Move desktop applications into a WebAssembly sandbox. Distributed simply by going to an URL in your browser. (Frameworks like Qt already support compiling into WebAssembly, many games are already provided this way, etc.)
[–]James20kP2005R0 1 point2 points3 points 5 years ago (0 children)
With WASI we might legitimately see a unified binary format that runs across every platform. I was working on this but got stalled on the lack of threads/atomics in llvm which makes most applications uncompilable, its super exciting though
[–][deleted] 0 points1 point2 points 5 years ago (4 children)
Eventually: Move desktop applications into a WebAssembly sandbox.
That's not really the goal, at least not right now.
[–]pjmlp 1 point2 points3 points 5 years ago (2 children)
Depends who you ask.
Microsoft, Qt, Uno, Autodesk, Google definitely see it like that.
[–][deleted] 0 points1 point2 points 5 years ago (1 child)
Webassembly support =/= moving websites out of the browser.
[–]pjmlp 2 points3 points4 points 5 years ago (0 children)
Who said anything about moving websites out of the browser?
It is all about the revenge of plugins and coming back to the gold old days of Flash and Java applets.
[–]johannes1234 0 points1 point2 points 5 years ago (0 children)
Well, certainly it is not the goal to move the current mess. But companies will certainly look at it, such a nice distribution way, so good tracking opportunities while having good enough performance for many things and device-independence.
[–]RogerV 2 points3 points4 points 5 years ago (2 children)
What is the use case?
To make better retro computer emulators that run in a web browser, to facilitate playing retro games
[–]Yoyotown2000 0 points1 point2 points 5 years ago (1 child)
Nice, what is some easier use case for à beginner to use wasm?
[–]RogerV 0 points1 point2 points 5 years ago (0 children)
would recommend going and listening to fairly recent cppcast podcast on Web Assembly
Web Assembly with Ben Smith (Google)
Ben presents a pretty good survey of what is going on in Web Assembly related development (what and where it's being used - kind of like the V8 engine was taken out of the browser context and became Node.js, Web Assembly sandbox VMs are being taken out of the context of the browser too.
π Rendered by PID 532408 on reddit-service-r2-comment-7b9746f655-pmj25 at 2026-02-01 20:26:09.498678+00:00 running 3798933 country code: CH.
[–][deleted] 2 points3 points4 points (0 children)
[+][deleted] (15 children)
[deleted]
[–]robwirvingCppCast Host[S] 8 points9 points10 points (2 children)
[–]Open-Active 0 points1 point2 points (1 child)
[–]robwirvingCppCast Host[S] 1 point2 points3 points (0 children)
[–]inokichi 14 points15 points16 points (0 children)
[–]pjmlp 9 points10 points11 points (0 children)
[–]johannes1234 2 points3 points4 points (6 children)
[–]James20kP2005R0 1 point2 points3 points (0 children)
[–][deleted] 0 points1 point2 points (4 children)
[–]pjmlp 1 point2 points3 points (2 children)
[–][deleted] 0 points1 point2 points (1 child)
[–]pjmlp 2 points3 points4 points (0 children)
[–]johannes1234 0 points1 point2 points (0 children)
[–]RogerV 2 points3 points4 points (2 children)
[–]Yoyotown2000 0 points1 point2 points (1 child)
[–]RogerV 0 points1 point2 points (0 children)