Sign in

Anders Schau Knatten

@knatten.bsky.social
525 followers 190 following 125 posts

I like C++, industrial music, and figuring out how computers work. Author of C++ Brain Teasers, blog.knatten.org, cppquiz.org and moduloone.com.

PostsRepliesMedia
Anders Schau Knatten @knatten.bsky.social · 10/09/2026
New Oslo C++ Users Group meetup just announced: Getting comfortable with concepts with Dimitris Platis www.meetup.com/ocppug/event...
meetup.com
Getting comfortable with concepts, Wed, Oct 7, 2026, 5:00 PM | Meetup
**Witted is hosting this event.** The office is located three [minutes from Homansbyen tram station](https://www.google.com/maps/dir/Homansbyen,+0352+Oslo/Witted+Megacorp+A
001
Anders Schau Knatten @knatten.bsky.social · 24/08/2026
Oslo C++ Users Group is hosting a pre NDC TechTown meetup with @kevlin.bsky.social in Kongsberg 22 September! www.meetup.com/ocppug/event...
meetup.com
Pre-NDC TechTown Meetup with Kevlin Henney: Principle Misunderstandings, Tue, Sep 22, 2026, 6:00 PM | Meetup
We are very excited for this **FREE** pre-NDC TechTown user group meeting! NDC is sponsoring pizza, and there will be an opportunity to buy drinks. Note that this event is
032
Anders Schau Knatten @knatten.bsky.social · 07/05/2026
If you have The Talk with your kids when they're young, they won't find it weird. And then as they grow older, it will just feel natural to them. So now my son knows that a C++ compiler can be written in C++, and a Python interpreter in Python.
280
Reposted by Anders Schau Knatten
Meeting C++ @meetingcpp.bsky.social · 06/05/2026
Book of the Day: C++ Brain Teasers by Anders Schau Knatten meetingcpp.com/mcpp/books/b... #cplusplus #cpp
meetingcpp.com
Anders Schau Knatten
C++ is famous for getting all the default behaviors wrong and for sometimes making demons fly out of your nose
151
Anders Schau Knatten @knatten.bsky.social · 30/04/2026
NDC TechTown in September is already shaping up to be another great conference, with speakers such as @lefticus.bsky.social , Klaus Iglberger, Hana Dusíková, and @kevlin.bsky.social . The CFP is open until Sunday, so you still have the chance to join as a speaker: ndctechtown.com/call-for-pap...
ndctechtown.com
Call for Papers - NDC TechTown 2026 | Software Conference for Embedded and Systems Programming
NDC TechTown 21-24 September 2026. Software Conference for Embedded and Systems Programming. NDC TechTown 2026 is a 4 day event in Kongsberg, Norway.
125
Reposted by Anders Schau Knatten
Olve Maudal @olvemaudal.bsky.social · 30/04/2026
Join us at NDC TechTown, Kongsberg, Norway, this September (ndctechtown.com). If you are into C++, Rust, C, embeddeded, Qt, gdb, ... - this is the conference for you. See past events at ndctechtownhistory.com Note: CFP still open for a few more days: ndctechtown.com/call-for-pap...
ndctechtown.com
NDC TechTown 2026 | Software Conference for Embedded and Systems Programming
NDC TechTown 21-24 September 2026. Software Conference for Embedded and Systems Programming. NDC TechTown 2026 is a 4 day event in Kongsberg, Norway.
021
Anders Schau Knatten @knatten.bsky.social · 24/04/2026
One week left to submit talks to the excellent @ndcconferences.com TechTown! If you're into systems programming, C++, embedded, and stuff like that, this is a great conference. ndctechtown.com/call-for-pap...
ndctechtown.com
Call for Papers - NDC TechTown 2026 | Software Conference for Embedded and Systems Programming
NDC TechTown 21-24 September 2026. Software Conference for Embedded and Systems Programming. NDC TechTown 2026 is a 4 day event in Kongsberg, Norway.
012
Anders Schau Knatten @knatten.bsky.social · 20/04/2026
The ACCU on Sea ( @accuconf.bsky.social meets @cpponsea.bsky.social ) schedule is out! I'll be speaking on Wednesday, about compile-time enforcement of real-time safety. accuonsea.uk/schedule/
accuonsea.uk
ACCU on Sea : 2026 Schedule
010
Anders Schau Knatten @knatten.bsky.social · 04/02/2026
As someone who does use AI: This is a great article.
010
Reposted by Anders Schau Knatten
CppQuiz.org @cppquiz.bsky.social · 12/01/2026
We just published a new user contributed question! cppquiz.org/quiz/question/408
021
Anders Schau Knatten @knatten.bsky.social · 18/12/2025
If you're at Meeting C++ & more 24h++ online: My talk "The Two Memory Models" streams today at 18:15 CET. I'll be available in chat to take questions about the talk, C++, CppQuiz, Squarehead etc. @meetingcpp.bsky.social
001
Reposted by Anders Schau Knatten
CppQuiz.org @cppquiz.bsky.social · 15/12/2025
We just published a new question! cppquiz.org/quiz/question/407
011
Anders Schau Knatten @knatten.bsky.social · 09/12/2025
CLion 2025.3 is out! Looks like they've done lots of useful improvements, but the most fun one is probably the constexpr debugger. Click next to any constexpr variable and step debug its compile time evaluation. Pretty cool!
030
Anders Schau Knatten @knatten.bsky.social · 26/11/2025
Had a nice chat with @blackiedk.bsky.social about @cppquiz.bsky.social, my book C++ Brain Teasers, developer tools, NDC TechTown, and other C++-nerdy stuff. Available on YouTube now!
031
Anders Schau Knatten @knatten.bsky.social · 25/11/2025
PragProg is an awesome little publisher, it was great working with them on my book. Now all their books are 50% off! Including my C++ Brain Teasers, of course.
030
Reposted by Anders Schau Knatten
CppQuiz.org @cppquiz.bsky.social · 24/11/2025
We just published a new question, the first in a series from our new moderator Mikhail Svetkin. Welcome to the team! cppquiz.org/quiz/question/405
011
Anders Schau Knatten @knatten.bsky.social · 21/11/2025
Now recruiting for C++ and Yocto in my team! Squarehead is a great place to work, with a super friendly team, low overhead, focus on devex, and lots of interesting problems to solve. And the job is literally to make the world safer. www.linkedin.com/feed/update/...
012
Anders Schau Knatten @knatten.bsky.social · 21/11/2025
New Oslo C++ Users Group event just announced! I'll give my talk "How Symbols Work and Why We Need Them" 15 January at Squarehead. Squarehead are also sponsoring food and drinks. www.meetup.com/ocppug/event...
meetup.com
How Symbols Work and Why We Need Them with Anders Schau Knatten, Thu, Jan 15, 2026, 5:00 PM | Meetup
**Squarehead is hosting this event.** The office is located [two minutes from Nydalen T-bane](https://maps.app.goo.gl/p5APo6XV8ZrsZowJA) in Nydalsveien 28, 0484 Oslo. **Ti
063
Reposted by Anders Schau Knatten
CppQuiz.org @cppquiz.bsky.social · 17/11/2025
We just published a new question! cppquiz.org/quiz/question/401
012
Anders Schau Knatten @knatten.bsky.social · 16/11/2025
I'm not really into football, but this was fun!
ITA 1-4 NOR
010
Reposted by Anders Schau Knatten
CppQuiz.org @cppquiz.bsky.social · 10/11/2025
We just published a new question! Is there a data race here? cppquiz.org/quiz/question/400
011
Reposted by Anders Schau Knatten
Omar @ocornut.bsky.social · 05/11/2025
Funding: if your mid/large business uses Dear ImGui - and maybe you are approaching end of year budget/planning etc. - please consider reaching out (PM/email) so I can help you help Dear ImGui !
09549
Reposted by Anders Schau Knatten
CppQuiz.org @cppquiz.bsky.social · 03/11/2025
We just published a new question! This one makes me think of JavaScript... cppquiz.org/quiz/question/403
011
Reposted by Anders Schau Knatten
Meeting C++ @meetingcpp.bsky.social · 02/11/2025
Join us next week in Berlin or online!
021
Anders Schau Knatten @knatten.bsky.social · 31/10/2025
We (Modulo One) have a new single out today! It's a melodic techno track with a dark story. Links to YouTube, Spotify, etc at distrokid.com/hyperfollow/...
000
Anders Schau Knatten @knatten.bsky.social · 31/10/2025
New post on C++ on a Friday! "A prvalue is not a temporary" blog.knatten.org/2025/10/31/a...
blog.knatten.org
A prvalue is not a temporary
This is part one of a series of blog posts on temporaries, copies, return value optimization, and passing by value vs. reference. A good place to start, and the point of this first article, is how …
043
Reposted by Anders Schau Knatten
CppQuiz.org @cppquiz.bsky.social · 27/10/2025
We just published a new question! This one was contributed by Lino Gamba. cppquiz.org/quiz/question/404
012
Anders Schau Knatten @knatten.bsky.social · 22/10/2025
Just two weeks until Meeting C++! Who's coming? meetingcpp.com/mcpp/schedule/ @meetingcpp.bsky.social
meetingcpp.com
Meeting C++ 2025 live schedule
011
Reposted by Anders Schau Knatten
CppQuiz.org @cppquiz.bsky.social · 20/10/2025
We just published a new user contributed question! cppquiz.org/quiz/question/398
021
Reposted by Anders Schau Knatten
CppQuiz.org @cppquiz.bsky.social · 13/10/2025
We just published a new question! This one was contributed by GitHub user demercurizer. cppquiz.org/quiz/question/394
011
Anders Schau Knatten @knatten.bsky.social · 10/10/2025
Some pictures from my C++ Quiz at @ndcconferences.com TechTown. Thanks to everyone who came, and congratulations to the reMarkable team who won with a very impressive score!
Me pointing at slides in front of the crowdA quiz question on a screen in front of the audienceThe reMarkable team celebrating their victoryAn overview of the audience
000
Reposted by Anders Schau Knatten
CppQuiz.org @cppquiz.bsky.social · 06/10/2025
We just published a new user contributed question! cppquiz.org/quiz/question/393
021
Reposted by Anders Schau Knatten
CppQuiz.org @cppquiz.bsky.social · 29/09/2025
We just published a new question! This one was contributed by Armen Aslanyan: cppquiz.org/quiz/question/391
012
Anders Schau Knatten @knatten.bsky.social · 28/09/2025
My proposal to C++ Under The Sea was accepted, so I'll be visiting for the first time! I'll be talking about the two memory models (language and CPU). Looking forward to it! cppunderthesea.nl
cppunderthesea.nl
C++ Under the Sea 2025 – International C++ Conference 2025
080
Anders Schau Knatten @knatten.bsky.social · 21/09/2025
On the 🚄 to @ndcconferences.com TechTown, eating candy and chuckling to myself at this question for the Wednesday evening C++ pub quiz. What's the question? You'll have to wait and see...
Intentionally obscured tiny C++ program
120
Anders Schau Knatten @knatten.bsky.social · 18/09/2025
Get my book at 40% off! There's a flash sale at @pragprog.com right now, and you can get all their books at 40% off with the promo code "flashsale". pragprog.com/titles/akbra...
Cover of the book C++ Brain Teasers by Anders Schau Knatten
052
Anders Schau Knatten @knatten.bsky.social · 13/09/2025
Happy to announce another Pre-NDC-TechTown Oslo C++ Users Group Meetup! This year we'll have a talk by Klaus Iglberger, and as usual, @ndcconferences.com is sponsoring pizza. www.meetup.com/ocppug/event...
021
Anders Schau Knatten @knatten.bsky.social · 08/09/2025
I've never made a PR to ConanCenter before. There was a fix in ffmpeg 4.4.5 which I need in order for ffmpeg 4.* to compile with GCC >12. ConanCenter currently support ffmpeg 7.1.1 and 4.4.4. Is it likely that they'll accept a PR which adds 4.4.6?
110
Anders Schau Knatten @knatten.bsky.social · 01/09/2025
Clang-tidy 21 wants you to prefer scoped_lock over lock_guard. I feel scoped_lock should be a specialized tool when you need to lock several mutexes. It also allows you to pass it zero mutexes, which for a bug lock_guard doesn't allow: godbolt.org/z/WzG4YeP83 Do you think clang-tidy is right?
godbolt.org
Compiler Explorer - C++ (x86-64 clang (trunk))
int main() { std::mutex m; { // Normal use case std::lock_guard l{m}; } { // Fails to compile if you forget to pass it the mutex, good! std::lock_guard ...
242
Anders Schau Knatten @knatten.bsky.social · 08/08/2025
Can someone help me with an Asio question? Does an initiating function synchronize (memory model-wise) with the corresponding completion handler? stackoverflow.com/questions/79...
stackoverflow.com
Do asio initiating functions synchronize with the completion handlers?
I'm trying to understand the memory order related to asio initiating functions and completion handlers, but I can't find any documentation on this. Asio examples tend to start the io_context::run t...
222
Anders Schau Knatten @knatten.bsky.social · 26/06/2025
I'll be back at the @meetingcpp.bsky.social in Berlin this year to speak about the two memory models! Really happy about this since it's only my second time there and I didn't make the cut last year. Looking forward to it! meetingcpp.com/mcpp/schedul...
meetingcpp.com
Anders Schau Knatten - The Two Memory Models
Programming languages like C, C++, and Rust all define a memory model, which allows you to reason about the ordering of memory operations in your program
061
Anders Schau Knatten @knatten.bsky.social · 18/06/2025
Buy my C++ book! Or get three chapters for free at pragprog.com/titles/akbra... (no registration required)
045
Anders Schau Knatten @knatten.bsky.social · 16/06/2025
Meetup with Oslo C++ Users Group in one hour!
First slide of my presentation The Two Memory Models
020
Anders Schau Knatten @knatten.bsky.social · 06/06/2025
🤯
NOR 3 - 0 ITA
010
Reposted by Anders Schau Knatten
CppQuiz.org @cppquiz.bsky.social · 01/06/2025
We're finally back up, after almost a week of absolutely horrible customer support from @dreamhost.bsky.social. Eventually, after trying to avoid helping, ignoring me, not accepting responsibility, and blaming everything else, they found and fixed the configuration issue on their server.
011
Reposted by Anders Schau Knatten
CppQuiz.org @cppquiz.bsky.social · 31/05/2025
I'm still working with @dreamhost.bsky.social support on this. All my websites on this server have been unstable since the upgrade they made on Tuesday, and we've still not gotten to the bottom of it.
001
Reposted by Anders Schau Knatten
CppQuiz.org @cppquiz.bsky.social · 26/05/2025
Heads up, we will have ~30 minutes of downtime on 27 May due to a server upgrade.
001
Anders Schau Knatten @knatten.bsky.social · 22/05/2025
My band Modulo One just released a new single! If you're into futurepop or dark electro, this might be for you. Links to all major platforms at distrokid.com/hyperfollow/...
000
Anders Schau Knatten @knatten.bsky.social · 20/05/2025
I need a new colleague! You'll be writing the frontend for our (really cool) acoustic drone detectors, mainly in TypeScript/React/Rust. If you have an interest in or experience with UX, audio, visualization, maps, APIs or C++, it's a plus. (On-site, Oslo) redepeople.teamtailor.com/jobs/5912479...
redepeople.teamtailor.com
Frontend Developer | Squarehead Technology | Oslo - Rede People AS
Er du en frontend-utvikler med øye for detaljer og design?
022