Tristan Brindle
Tristan Brindle reposted
I'm a last minute replacement speaker at C++ London on 28 October! I'll be talking about building and deploying AWS Lambdas using TypeScript, Terraform and GitHub Actions. Come along! paulgrenyer.com/where/cpp-lo... #AWS #CppLondon
Nothing particularly fancy for today's #AdventOfCode, but it did give me an excuse to use C++23's std::flat_map for the first time Github: github.com/tcbrindle/ad...
Day 4 of #AdventOfCode was short and sweet. But I wonder if there's a neater way of doing this than using a while loop? Github: github.com/tcbrindle/ad...
Update: after seeing Python folks using regex to solve today's #AdventOfCode I thought I'd give it ago in C++, and... wow. Still brute force, but now it's beautiful! π
I might have overdone the sequence chaining while brute-forcing #AdventOfCode day 2, but I have no regrets github.com/tcbrindle/ad...
I might have overdone the sequence chaining while brute-forcing #AdventOfCode day 2, but I have no regrets github.com/tcbrindle/ad...
I've just posted a long old update about my plans for the Flux library, focusing on ease of use, performance and a potential future standardisation effort. I'm keen to get feedback at this stage so please head on over to Github and leave a comment if you so choose... github.com/tcbrindle/fl...
I'm a bit of an AI skeptic, but I thought I'd give Copilot a go in VSCode since it's now free. After writing some documentation in Markdown format, I asked it to check for any spelling or grammar mistakes. It insisted, repeatedly, that I had misspelled words *that didn't even appear in the document*
Tristan Brindle reposted
π’ Episode 225 is out! π’ In this episode, @elbeno.com and I chat with @tristanbrindle.com about plans for @cppnorth.bsky.social, future Flux plans, the slow death of Twitter and more! adspthepodcast.com/2025/03/14/E...
Tristan Brindle reposted
π’ Episode 224 is out! π’ In this episode, @elbeno.com and I chat with @tristanbrindle.com about updates in Flux, internal iteration vs external iteration and more! adspthepodcast.com/2025/03/07/E...
Tristan Brindle reposted
π’ Episode 223 is out! π’ In this episode, @elbeno.com and I chat with @tristanbrindle.com about the recent C++ London meetup, the status of safety in C++ and the future of C++ and whether it is dying β οΈ adspthepodcast.com/2025/02/28/E...
Tristan Brindle reposted
π’ Episode 222 is out! π’ In this episode, @elbeno.com and I chat with @tristanbrindle.com about graph algorithms resources π, tropical semirings π΄, Stepanov stories π, FM2GP π, EOP π, TV shows & movies πΊ and more! adspthepodcast.com/2025/02/21/E...
Ah, #AdventOfCode day 13, in which I fail to spot that we're solving a system of two simultaneous equations despite allegedly holding multiple degrees in mathematics AND WRITING THE EQUATIONS DOWN IN FRONT OF ME π€¦ββοΈ. I got there in the end though. github.com/tcbrindle/ad...
Exponential growth was the enemy in #AdventOfCode today! A simple vector was good enough for part 1, but more iterations in part 2 required a different approach. I went for storing the data in a (value, count) hash map, which worked very well. A nice puzzle! github.com/tcbrindle/ad...
A strange #AdventOfCode problem today where you had to solve part 2 in order to get part 1! I'm pretty happy with my solution to this one, runs in ~100Β΅s on my laptop and has my first use of a C++23 recursive lambda. Github: github.com/tcbrindle/ad...
No #AdventOfCode screenshots today as my code is super messy and not worth showing off. But it was very satisfying taking the initial 5 minute(!) runtime for part 2 down to ~70ms on my laptop. github.com/tcbrindle/ad...
Day 4 of #AdventOfCode and we're solving word searches! Part 1 had me scratching my head for a little while, because I didn't account for the fact that an 'X' can be the root of more than one 'XMAS'. Fortunately part 2 was less tricky. Code: github.com/tcbrindle/ad...
I forgot to mention, the full code is on Github if you want to take a look: github.com/tcbrindle/ad...
#AdventOfCode day 3 part 1 was super easy thanks to @hanicka.net's amazing CTRE library. And part 2 is pretty lovely using Flux, if I do say so myself...
#AdventOfCode day 3 part 1 was super easy thanks to @hanicka.net's amazing CTRE library. And part 2 is pretty lovely using Flux, if I do say so myself...
Tristan Brindle reposted
We have published a new C++ on Sea 2024 video! Practical Tips for Safer C++ - Tristan Brindle - C++ on Sea 2024 #coding #cplusplus #cpp #programming #safety
My @cppnorth.bsky.social 2024 talk "Practical Tips for Safer C++" is now on YouTube. Enjoy! youtu.be/lW_y0N9dZZA
I don't think Sean Baxter is on bsky yet, but if you're interested in seeing how #cplusplus can be as safe as #rust then check out this presentation about his work on memory safety in the Circle compiler: youtu.be/5Q1awoAwBgQ
You are up to date.