Jake Arkinstall's Avatar

Jake Arkinstall

@jakearkinstall.bsky.social

Software engineer at Quantinuum, working on quantum computer emulation tooling in Rust and Python. Ex fintech (C++). PhD in physics. Nix addict. Help, I'm stuck in a universe factory.

38 Followers  |  67 Following  |  147 Posts  |  Joined: 25.02.2025  |  1.9415

Latest posts by jakearkinstall.bsky.social on Bluesky


In Search of the Perfect Return: A C++ Programming Journey
YouTube video by Chicago C++ User Group In Search of the Perfect Return: A C++ Programming Journey

One of my favourite talks to have seen in person just got published: youtube.com/watch?v=sIZU... go check out Walter's brilliant presentation!

17.10.2025 20:16 β€” πŸ‘ 17    πŸ” 5    πŸ’¬ 0    πŸ“Œ 0
What is Quantum Computer Security?

The attack surface expands considerably when relaying data through a plant pot. And that bird is definitely up to something.

arxiv.org/html/2510.07...

11.10.2025 12:29 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

The deeper I go with plugin architectures, the more I realise that the Dunning-Kruger graph for linking is actually a sin wave.

11.10.2025 00:24 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

I’m very sad to report the passing of Rainer Grimm. I can’t possibly say how great a contribution he made to the C++ community; fortunately, his blog can.

www.modernescpp.com/index.php/my...

10.10.2025 11:00 β€” πŸ‘ 5    πŸ” 4    πŸ’¬ 0    πŸ“Œ 0

My kingdom for more monitors

09.10.2025 19:41 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

TIL.

Wasteful.

08.10.2025 14:49 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
Post image

What in tarnation

08.10.2025 12:07 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Preview
devenv/src/modules/integrations/android.nix at main Β· cachix/devenv Fast, Declarative, Reproducible, and Composable Developer Environments using Nix - cachix/devenv

You still get that with devenv - in the docs link I sent you can see how to fully configure the environment. It's still also running nix under the hood. It just makes sane choices about what's local and mutable and what's static. Here's how they do it github.com/cachix/deven...

05.10.2025 11:52 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

That's priceless for development.

I used to do everything with nix derivations and stuff like "add this useful library" could take hours, when an Ubuntu user could just pip or apt install and have it in seconds.

Nix itself is best for packaging once you have already made your project, IMO.

05.10.2025 11:49 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

E.g. you can say "python environment with the uv package manager plz". Then you can just "uv add" to add a dependency.

The benefit - no need to specify the universe in Nix. You can install stuff like like anyone else.

The cost is that reproducibility becomes trust-based - e.g. that UV is sensible.

05.10.2025 11:44 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

I have no android experience but that sounds like one of the big problems devenv solves.

That which is immutable goes to the nix store and gets referenced from the venv. That which is mutable is managed locally.

You're tied to hermeticity when it makes sense, whereas raw flakes prefer all the time

05.10.2025 11:38 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 2    πŸ“Œ 0

Well, kind of a blog. I want to do a bunch of interactive stuff as well that would be really awkward with existing backends.

04.10.2025 01:03 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

The reason I'm revising it?

To build a custom web backend, using CrowCPP, md4c, sqlite, scss, etc.

Even have an ingress router and auto rebuilds on file changes.

Why? For a blog.

Silly? Yes. Pragmatic? Absolutely not. But there is a lot of joy in building silly stuff for the sheer sake of it is.

04.10.2025 00:53 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Building C++ projects in Nix using Nozzle
YouTube video by Jake Arkinstall Building C++ projects in Nix using Nozzle

I did a video on it once.

youtu.be/BaR_GB7Tji4

Basically I disliked cmake, disliked Bazel, and loved Nix. Because each file is a derivation, only modified intermediates are changed on rebuild. Makes it very heavy on the nix store writes when you're in full swing dev mode though.

04.10.2025 00:47 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Spent the evening resurrecting my old C++ build system Nozzle (written in Nix, but you define libraries and builds from source files like in Bazel).

It works very nicely. Would be interesting to see if I could add support for rust too.

04.10.2025 00:43 β€” πŸ‘ 3    πŸ” 0    πŸ’¬ 2    πŸ“Œ 0
Preview
Android - devenv Fast, Declarative, Reproducible, and Composable Developer Environments using Nix

For dev stuff, devenv is often the way to go IMO.

It's still nix, but it works in a really nice way and has a bunch of stuff configured out of the box in a way that's super easy to share with other devs (on any Linux or MacOS setup)

devenv.sh/integrations...

04.10.2025 00:37 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

We've now even gone past postmodern C++ and are now entering late-stage C++.

03.10.2025 14:01 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

As for understanding how long Windows runners take, the physics hasn't been invented yet.

One hypothesis is that they involve the use of Reissner-Nordstrom black holes, and that they complete in a reasonable timeframe - but in an inaccessible universe.

02.10.2025 11:59 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

GitHub is moving at 0.964c relative to you.

This is why a CI run that GitHub Actions says took 8 minutes actually felt like 30 minutes.

02.10.2025 11:47 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

"Of course you can't actually pull yourself up by your bootstraps, that's impossible"

You spent 4 days either inventing hoverboots or writing an assembler that operated through hoverboot-related means.

And in the 5th day you rested.

02.10.2025 01:14 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Quantinuum - Research Software Engineer - Quantum Error Correction Quantinuum are hiring a research software engineer to work on compilation of fault-tolerant quantum software for the next generation of quantum computers. Quantum software relies on quantum error corr...

Hey #qec people! Do you like writing software? Do you want a #job? Come join us at #quantinuum! #quantum #quantumcomputing #jobad
jobs.eu.lever.co/quantinuum/d...

02.10.2025 00:47 β€” πŸ‘ 9    πŸ” 6    πŸ’¬ 1    πŸ“Œ 0

999 is a good choice for the final episode. Any more than that, and rumour has it that the right side of the screen corrupts, there isn't enough fruit to finish the episode, and Jason would spend eternity trying to escape ghosts.

30.09.2025 00:50 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Have you tried the spack slack?

29.09.2025 20:09 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0

Nix is great for "I want to configure this once, built it a few times, and it should work many places".

But that's not really the HPC use case.

E.g. Spack's original paper discussed Nix (amongst others) and provided the benefits of something different.

tgamblin.github.io/pubs/spack-s...

29.09.2025 14:31 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 3    πŸ“Œ 0

ADHDGI

User: "hey chat, get me started with making a basic blog"

ChatGPT: "Wordpress? Ghost? Hugo? OOHH I HAVE AN IDEA. Make every post a commit message. Your menu could be a mermaid diagram. Ooh maybe we could use an FPGA, and rebuild on push to main. Btw do you have an rj45 crimp tool?"

29.09.2025 00:30 β€” πŸ‘ 1    πŸ” 2    πŸ’¬ 1    πŸ“Œ 0
The cast of Bridgerton alongside their friendly neighbourhood spidergentleman

The cast of Bridgerton alongside their friendly neighbourhood spidergentleman

Next season of Bridgerton is going to be lit.

29.09.2025 00:04 β€” πŸ‘ 2    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0
The Future of Microprocessors β€’ Sophie Wilson β€’ GOTO 2024
YouTube video by GOTO Conferences The Future of Microprocessors β€’ Sophie Wilson β€’ GOTO 2024

Very cool talk (about very hot silicon).

youtu.be/MkbgZMCTUyU

28.09.2025 23:47 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Where, and how many times are you going to invoke the function?

If a few times and you're willing to have some execution overhead, libffi is solid and has support for many platforms.

If it's executed many many times, or in a sensitive point on the hot path, I'd begin to consider JIT.

27.09.2025 18:24 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 1    πŸ“Œ 0
Closed loop? No. The unknot? No. The it's knot? Yes!

Closed loop? No. The unknot? No. The it's knot? Yes!

Hear me out though

27.09.2025 17:59 β€” πŸ‘ 0    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

Count me in. Thanks!

27.09.2025 01:39 β€” πŸ‘ 1    πŸ” 0    πŸ’¬ 0    πŸ“Œ 0

@jakearkinstall is following 20 prominent accounts