Joined October 2011
74 Photos and videos
Replying to @claudeai
@claudeai I find that a significant proportion of code review comments I leave at work are around issues with documentation (code comments, docstrings, docs) written by Claude, much more so than issues with the code itself.
1
19
I can write my own review skills to help identify these, but I think the issues are general enough that it would be great if this was a focus for upcoming releases.
7
Robert Knight retweeted
My latest books cartoon for @GuardianBooks Many more here: theguardian.com/profile/tom-…
2
104
447
10,874
Robert Knight retweeted
continueFromHereClaude
86
1,373
16,586
355,753
Robert Knight retweeted
Bad news -- I'm not going to be with my employer for much longer due to team relocation demands. If anyone has any leads for roles that would allow me to continue my Rust compiler work (in New York City), they'd be greatly appreciated.
2
24
115
17,474
I wrote a progress report / retrospective on the RTen machine learning runtime in 2024, looking at the added features and progress towards performance parity with more mature runtimes: robertknight.me.uk/posts/rte…

1
228
RTen v0.14 has been released. It adds examples for Whisper speech recognition and RMBG background removal, plus compatibility with tokenizers exported by the latest version of Hugging Face Transformers - github.com/robertknight/rten…
147
When starring a repo, it would be cool for maintainers if users could provide context on why it is interesting ("I really need a FooBar implementation for my XYZ project")
1
69
The onslaught of unhinged political content in my Twitter feed got a bit much over the weekend. This prompted me to take another look at Bluesky (robertknight2.bsky.social). My first impressions are quite positive.

46
I've been working on safer and more ergonomic slicing APIs for the next rten release using type-level arithmetic. chw_tensor.slice((0, .., 0)) // Statically infers result is 1D nchw_tensor.slice(0) // Statically infers result is 3D
1
148
Additionally there is the possibility to specialize based on the static argument types, making slicing fast enough to use inside operator kernels.
54
I appreciate the Street Fighter analogy at the end.
20 Sep 2024
This is why having AI write code for you sucks. Literally just have the training wheels on forever. Great point by @dhh
1
109
Robert Knight retweeted
Very easy way to improve the quality of your work: whenever you put up a PR, take a few seconds to skim through it yourself just as a reviewer would (i.e., in the GitHub UI). I find a surprising number of small issues this way that never stand out in the editor.
35
54
530
37,032
Robert Knight retweeted
8 Sep 2024
There’s a very high quality conversation happening about uv and its risk/benefits for Python overall happening on Mastodon - I gathered some notes and illustrative quotes here simonwillison.net/2024/Sep/8…
17
35
401
43,611
Robert Knight retweeted
30 Aug 2024
Today the 10 millionth person registered for parkrun 🚀 🌳 #loveparkrun
2
29
191
15,805
youtube.com/watch?v=wGSSUSea… is a good watch on the basic principles of writing efficient code for modern CPUs. It matches my experience that predictability is the main quality that matters.
92
RTen v0.13 has been released. It adds support for ONNX models with branches (the `If` operator), including encoder-decoder models exported from Hugging Face such as TrOCR - github.com/robertknight/rten…
1
109
Robert Knight retweeted
Today, we're shipping a series of features that move uv beyond a pip alternative, and into an end-to-end solution for managing Python projects, command-line tools, single-file scripts, and even Python itself. A single, unified tool. Like Cargo, for Python. It's very fast.
103
458
3,335
506,262
rustc should have a `-Z fun-safe-math-optimizations` flag. C developers shouldn't have all the fun.
94