In Building Channels in C++: Part 5 - Writing a select statement we created a select statement for our channels which can handle sending and receiving values. If you haven't already, I recommend reading that post before continuing with...
So far in this series, we've created a channel with blocking and non-blocking methods for sending and receiving messages. See Building Channels in C++: Part 4 - Going non-blocking for the last post in the series. So far, our channels...
Previously in Building Channels in C++: Part 3 - Closing channels we got multi-threaded channels working. We could send and receive messages, and we could close channels to tell threads to stop using them. However, all of our operations...
So far with our channels we've been able to send and receive messages. And in Building Channels in C++: Part 2 Limiting Size we gave channels a static size.
In Building Channels in C++: Part 1 - The Adventure Begins we built a channel that could send and receive messages. However, there was no bounds on how big the channel could get. Before we go much further, we should start adding limits...
This is part 1 of a series in building channels (and several channel-related features) in C++. For this series, we're going to focus on thread-based channels instead of coroutine or fiber based channels. Because of that, there will be...
This post is mostly a quick reference for me to share with people about how casting values to integers and floats work in JavaScript - and the weirdness that can happen.
When I was rewriting my blog, I was trying to decide what format to put the posts in. I wanted a format that works well for both print and web, and that can create HTML and PDF files. Additionally, I have a hard "self-host" requirement...
Lately I've been rewriting my site generator behind my blog. The old one was really finicky, had a terrible parsing strategy, and also wasn't what I actually wanted long term. Also, due to how I wrote the generator it was getting hard...
As part of my recent tour of languages, I have started using C again. Particularly, I've been using C11 and have been exploring the new additions. One such addition is Generics. I decided to try to use Generics to see how far I could...