Explore >> Select a destination


You are here

blog.nelhage.com
| | yotam.net
7.3 parsecs away

Travel
| | A blog about free software and programming
| | www.foonathan.net
6.4 parsecs away

Travel
| | Let me share a useful insight with you: constexpr is a platform. Just like you write code that targets Windows or a microcontroller, you write code that targets compile-time execution. In both cases you restrict yourself to the subset of C++ that works on your target platform, use conditional compilation if your code needs to be portable, and execute it on the desired target platform. You can thus view constexpr as another platform you can target; it just so happens to be run by your compiler. This insig...
| | nrk.neocities.org
6.4 parsecs away

Travel
| |
| | andrewkelley.me
33.2 parsecs away

Travel
| [AI summary] The blog post discusses the challenges and solutions for handling asynchronous I/O in Zig, focusing on cancellation, resource management, and concurrency. It highlights how cancellation is a key primitive for managing resources and avoiding leaks, while concurrency is essential for avoiding deadlocks in producer-consumer scenarios. The post also touches on the importance of using appropriate APIs like `concurrent` instead of `async` when true concurrency is needed, and the ongoing design work for stackless coroutines and I/O interfaces.