Rud
rudm.bsky.social
Rud
@rudm.bsky.social
Retired software engineer interested in C++, embedded / robotic systems, and general hacking. Trying to catch up on C++20 / 23 capabilities, speak at conferences, and write about them.

Unfortunately in Texas north of Houston. It wasn't bad for awhile.
The third update to my book on modules is now available. This update features an in-depth exploration of modules, covering all the declarations, their usage, and the components in a module file. I still aim to release the final version by the end of May.

leanpub.com/pragmaticmod...

#cplusplus
A Pragmatic Journey into C++ Modules
Modules in C++20 are a change that impacts every C++ developer. At a minimum, the third-party libraries you need will use them. Larger development teams will need them to increase productivity. This b...
leanpub.com
March 25, 2025 at 6:07 PM
I am writing a book titled "A Pragmatic Journey into C++ Modules." It is a work in progress, but since I'm publishing on LeanPub, I can release an early version and update it periodically. Early readers can also obtain it at a discount, and proofread it for me.

#cplusplus
A Pragmatic Journey into C++ Modules
leanpub.com
March 11, 2025 at 3:54 AM
Reposted by Rud
But also,
other languages: no you cant do that.

C++: here are 10 ways to do that with trade-offs depending on your compiler and requirements
March 5, 2025 at 3:58 PM
Don't watch the speech on TV tonight so the ratings are poor. Catch it on a video site later.
March 4, 2025 at 8:34 PM
I looked into using C++ module with CLion and CMake. Here is a short journey into the topic.

#cplusplus
C++: A Small Journey into Modules
An introduction to using modules using CMake.
medium.com
February 5, 2025 at 12:57 AM
Reposted by Rud
Is she trolling him?
January 20, 2025 at 5:55 PM
I consider libertarianism the wet dream of 14 year old boys who shout, "You can't make me."
Yup, @jamellebouie.net has this exactly right. What these guys are celebrating/pursuing/yearning for is not masculine energy, it's *adolescent* energy. Drinking Red Bull, crushing Call of Duty, refusing to clean your room. It is indescribably pathetic. www.nytimes.com/2025/01/18/o...
January 19, 2025 at 1:21 AM

More exploration of C++ ranges to tackle reading CSV strings and files. Some frustration with an obscure problem and fixing an annoyance.

I always welcome constructive criticism and suggestions for improving the code.

#cplusplus
C++: Using the Ranges Library to Process CSV
I found an article on parsing CSV files. It utilized standard procedural code, prompting my curiosity about how to implement it using…
medium.com
January 18, 2025 at 11:38 PM
The debate about virtual functions continues. It is a red herring.

#cplusplus
lnkd.in/gP48e_Pg
The Debate is Meaningless
Virtual functions are slower than a direct function call, just as bicycles are slower than jet planes. But a jet plane doesn't meet your needs if you want to ride down the street.
lnkd.in
January 11, 2025 at 9:00 PM
@spacecitywx.bsky.social as a compliment to your recent email
It's a complex scientific figure, but it shows the number of times a location has burned in SoCal and which kind of fire it was: one burning under Santa Ana winds, or one that was a fuel-driven fire without Santa Ana winds. Malibu burned at least 8 times from 1948-2017, and has burned 2x since.
January 9, 2025 at 8:54 PM
This is just a short article on Designated Initializers that I found useful in a current project.

#cplusplus
Using Designated Initializers from C++20
A function parameter list for a hobby project - they're all hobby projects as I'm retired - kept increasing. Here's an example, albeit with a short parameter list: A nice solution to a long list of pa...
www.linkedin.com
January 4, 2025 at 10:14 PM
Reposted by Rud
Compassion++: Soft Skills for Hard Problems - April Wensel


Explore the human side of software development and learn how to navigate interpersonal challenges. Explore strategies to avoid burnout and improve collaboration.

www.youtube.com/watch?v=67Gt...
Compassion ++: Soft Skills for Hard Problems - April Wensel
YouTube video by CppNorth
www.youtube.com
December 28, 2024 at 5:25 PM
I completed "Claw Contraption" - Day 13 - Advent of Code 2024 #AdventOfCode. It was a challenge because I was traveling, so I didn't have much uninterrupted time to work on it. Getting Part 1 to work using doubles for the calculations and then checking using integers took some time.
December 18, 2024 at 2:50 AM
I skipped some because this looked interesting and easy to do. Part 1 wasn't bad, but part 2 was a challenge. I finally got it. So, have completed "Disk Fragmenter" - Day 9 - Advent of Code 2024 #AdventOfCode adventofcode.com/2024/day/9

#cplusplus
Day 9 - Advent of Code 2024
adventofcode.com
December 12, 2024 at 5:01 PM
My talk at CppNorth is now on YouTube. It was a fun romp through writing ranges::to to see if it was not easy since it was not yet available in some popular C++ libraries.

www.youtube.com/watch?v=miQi...

@cppnorth.bsky.social #cplusplus
Meandering Through C++ Creating ranges::to - Rudyard Merriam
YouTube video by CppNorth
www.youtube.com
December 9, 2024 at 6:33 PM
After a few hassles with regex I just completed "Ceres Search" - Day 4 - Advent of Code 2024.

My first approach was to read the data into a string and remove the newlines. But that allowed XM\nAS sequences to be matched. The sample worked but not the main data.

1/

#AdventOfCode #cplusplus
Day 4 - Advent of Code 2024
adventofcode.com
December 8, 2024 at 1:27 AM
Day 4, Part 1, is frustrating. After using regex for Day 3, I decided it would be interesting to use it on Day 4. While I know little about regex details, I know some of what can be done.

It worked for the sample but is too low on the primary data. 1/
December 6, 2024 at 6:22 PM
I just completed "Mull It Over" - Day 3 - Advent of Code 2024 #AdventOfCode #cplusplus

I tried not using regex since I've not used it much, but that rabbit hole got very deep. Switched to regex, and it was easy.

gitlab.com/advent-of-co...
Day 3 - Advent of Code 2024
adventofcode.com
December 5, 2024 at 1:05 AM
Day 2, Part 2, is frustrating me. The sample data works, but my result is too high with the large data set. 🤯 I don't have a clue.

#AdventOfCode
December 3, 2024 at 3:47 AM
Using the ranges library, here's my C++ for Day 1 of #AdventOfCode.

All the code for this year will be on GitLab: gitlab.com/advent-of-co...

#cplusplus
December 2, 2024 at 2:38 AM
The Texas Democrats should prioritize the state legislatures and local elections, particularly school boards. These elections are where our influence can be most impactful. The state-wide offices will go to the GOP, so there is no sense in wasting resources there. 1/
November 17, 2024 at 1:51 AM
Something to consider.

substack.com/inbox/post/1...
Inbox | Substack
substack.com
November 17, 2024 at 1:41 AM
Reposted by Rud
Trump is now < 50%, and leads Harris < 2%. This election was extremely close.

That margin will have enormous consequences. But it’s small enough that instead of debating which vulnerable groups and standards of decency Dems should abandon, they could just focus on how to better defend both.
November 16, 2024 at 4:40 PM
The Senate should get really pissed about this. That is their job, after all.
This is probably among the scariest things happening right now:

The Wall Street Journal: “The Trump transition team is considering a draft executive order that establishes a “warrior board” of retired senior military personnel with the power to review three- and four-star officers and to […]
Original post on social.vivaldi.net
social.vivaldi.net
November 16, 2024 at 12:26 AM
The Senate should automatically reject anyone who hasn't been checked by the FBI. And also check how well the FBI did the check. A certain SCOTUS comes to mind.
November 16, 2024 at 12:17 AM