89 Followers
230 Following
36 Posts
Independent software developer available for freelance and contract roles. He/him.
GitHubhttps://github.com/pr0g
Bloghttps://tomhultonharrop.com/
LinkedInhttps://www.linkedin.com/in/tomhultonharrop/
I wrote a ridiculously long post about recursion as a resource primarily for my future self, but there's a small chance someone else might find it interesting πŸ˜… If you're struggling to sleep or extremely bored, here it is πŸ™ƒ https://tomhultonharrop.com/posts/recursion-patterns/
Useful things to know about recursion

Tom Hulton-Harrop's website

I put together a blog post about how to systematically convert recursive algorithms to iterative ones - https://tomhultonharrop.com/posts/iterative-recursion. It's something you won't need to do often, but I found it to be an interesting exercise. It can help to illuminate all that's happening behind the scenes with traditional recursive functions too.
Iterative recursion

Tom Hulton-Harrop's website

Perhaps the smallest book signing on record, but a book signing none the less πŸ˜… Minimal CMake, now available from all good retailers (but realistically Amazon, we all know it's Amazon - https://amzn.eu/d/3TAg50i). You can also grab it from Packt directly if you'd prefer - https://www.packtpub.com/en-gb/product/minimal-cmake-9781835087312. There's at least one happy customer judging by the reviews πŸ˜…
@demofox After reading your excellent post about scaling points in a specific direction (https://blog.demofox.org/2024/10/15/scaling-points-in-a-specific-direction/) I implemented it in my little experiment playground for fun, and this is the result (super quick hacky code can be found here - https://github.com/pr0g/sdl-bgfx-imgui-as_1d-nonlinear-transformations/commit/c20f18821e5ef214047e4afcafec8b37418626be)
Scaling Points In a Specific Direction

In this post I’ll be showing two different ways to scale points along a specific direction (a vector). There isn’t anything novel here, but it gives an example of the type of math encou…

The blog at the bottom of the sea
I'm super excited to share that I recently finished my first book! It's called Minimal CMake and it's going to be published by Packt in January πŸ˜„ You can follow the link here to learn more https://amzn.eu/d/awCI9Se. There's also a full GitHub repo with all the examples from the book https://lnkd.in/d4tTHwVm. It was a challenging and fun experience to say the least πŸ˜… If you decide to grab a copy I really hope you find it useful!
Amazon.co.uk

I put together a post about handle lookup containers (also known as sparse sets) here - https://tomhultonharrop.com/c++/lookup/handle/2024/01/07/handle-lookup-container.html. Very much inspired by the work of @niklasgray, @floooh and Noel Llopis.
Handle Lookup Container (Sparse Set)

Topic

Tom Hulton-Harrop
Post about sorting indirectly https://tomhultonharrop.com/c++/sorting/2023/08/19/sorting-indirectly.html (largely inspired by the fantastic work of Raymond Chen)
Sorting indirectly

Topic

Tom Hulton-Harrop

This is another article I wrote a little while ago on my previous team. It's to do with how to think about pointers and references in C++.

https://tomhultonharrop.com/c++/pointers/references/2023/08/10/pointers-references-and-an-analogy.html

It's a bit random πŸ˜… but hopefully might help someone (especially if they're new to C++). Please let me know if you think it's totally insane or slightly useful 😝.

Pointers, references, auto and an analogy

Topic

Tom Hulton-Harrop
Also big thanks to @ninepoints who helped review and give feedback on the initial drafts!

This is a post I wrote a little while ago internally for the team I was on all about reverse z (it took me longer than I'd like to admit to wrap my head around it πŸ˜…πŸ™ˆ). Hopefully, someone finds it helpful! https://tomhultonharrop.com/mathematics/graphics/2023/08/06/reverse-z.html

Heavily inspired by the work of @reedbeta and @benjamin

Reverse Z (and why it’s so awesome)

Topic

Tom Hulton-Harrop