Robert Knight
robertknight2.bsky.social
Robert Knight
@robertknight2.bsky.social
Frontend Developer. Machine learning in Rust. https://github.com/robertknight.
I created a proof-of-concept showing how to convert ML inference in Google's Magika file type detector from C++ (via ONNX Runtime) to Rust using RTen - github.com/google/magik...
Comparing google:main...robertknight:rten · google/magika
Fast and accurate AI powered file content types detection - Comparing google:main...robertknight:rten · google/magika
github.com
November 10, 2025 at 10:19 PM
I'm working on getting Q4-quantized Llama 3 working at reasonable speed in RTen (ie. competitive with llama.cpp and ONNX Runtime on x86/Arm). Given the pace of change I'm tempted to describe this as retro computing in the release changelog.
November 7, 2025 at 12:42 PM
Does the "Show fewer shorts" button on YouTube actually do anything or is it like the "push to wait" button at pedestrian crossings?
November 3, 2025 at 7:12 PM
Reposted by Robert Knight
Your (or your employer's) financial support for the PSF would be very much appreciated this year! (And every other year too) bsky.app/profile/pyth...
In the end, it wasn’t a hard decision for the PSF to put our community and our values first, but it does mean we lost out on this large funding source. Donations and sponsorships will help us fill the gap, so we can continue supporting the Python ecosystem and living our values.
October 27, 2025 at 8:38 PM
Reposted by Robert Knight
recently discovered that wikipedia volunteers have a hilariously high bar for what constitutes "unusual death"
October 27, 2025 at 12:38 PM
Reposted by Robert Knight
I currently have availability for Rust coaching, adoption, or development; from a single call to ongoing 3 days/week. I can help your team get things done, adopt Rust and use it more effectively, or to accurately evaluate Rust as a new technology.
October 23, 2025 at 7:06 PM
Reposted by Robert Knight
As an experiment, we (the Firefox team) wanted to try a new way to get feedback on which Interop proposals matter most.

So, here's a web app where you can rank the proposals you care about, giving us data we can use when reviewing which ones to champion.

interop-rank.jakearchibald.com
Interop Feature Ranking
Rank the web platform features you care most about
interop-rank.jakearchibald.com
October 9, 2025 at 5:00 PM
RTen v0.23 has been released! (github.com/robertknight...) The big new thing is that it can load ONNX models directly without requiring conversion to the custom `.rten` format. This makes it easier to switch between RTen and another machine learning runtime, or use it alongside another runtime.
github.com
October 16, 2025 at 6:53 AM
Reposted by Robert Knight
Does widespread browser implementation of the Sec-Fetch-Site HTTP header mean we can protect against CSRF attacks without needing those hidden form tokens? It looks like the answer may be a cautious "yes"! simonwillison.net/2025/Oct/15/...
A modern approach to preventing CSRF in Go
Alex Edwards writes about the new http.CrossOriginProtection middleware that was added to the Go standard library in version 1.25 in August and asks: Have we finally reached the point where …
simonwillison.net
October 15, 2025 at 5:07 AM
Reposted by Robert Knight
We’re hiring for two machine learning roles. A chance to do cutting edge things with ML to make this place a lot more personalized.

jobs.gem.com/bluesky/am9i...
Bluesky Jobs
Bluesky Jobs
jobs.gem.com
October 1, 2025 at 1:14 AM
Reposted by Robert Knight
The crates.​io team was notified of two malicious crates (with similar names as legitimate crates) which were actively searching file contents for Etherum private keys, Solana private keys, and arbitrary byte arrays for exfiltration.

See the blog post for details: blog.rust-lang.org/2025/09/24/c...
crates.io: Malicious crates faster_log and async_println | Rust Blog
Empowering everyone to build reliable and efficient software.
blog.rust-lang.org
September 24, 2025 at 8:52 PM
In case anyone is using Alacritty and encountered poor performance or crashes after updating to macOS Tahoe, the issue is resolved on the `master` branch. I took this as an opportunity to try ghostty.org in the meantime. What a great logo :)
Ghostty
Ghostty is a fast, feature-rich, and cross-platform terminal emulator that uses platform-native UI and GPU acceleration.
ghostty.org
September 16, 2025 at 9:47 AM
Reddit has been recommending me posts from /r/linguisticshumor lately, and I think I'm being out-nerded. This is a most unusual experience.
September 14, 2025 at 8:03 PM
The Lean version of Rust's `todo!` macro is called `sorry`. This is clearly a much better name.
September 14, 2025 at 9:29 AM
RTen v0.22 has been released. The main new feature is support for `Loop` and `Sequence*` operators in ONNX models. There are examples for Kokoro and RT-DETR. Also many activations, reduction ops and trig functions were vectorized for much better performance - github.com/robertknight...
github.com
September 14, 2025 at 8:32 AM
Reposted by Robert Knight
We received reports of a phishing campaign targeting crates​.io users. Do not click on links asking to authenticate to protect your account. More information: blog.rust-lang.org/2025/09/12/c...
crates.io phishing campaign | Rust Blog
Empowering everyone to build reliable and efficient software.
blog.rust-lang.org
September 12, 2025 at 2:22 PM
Reposted by Robert Knight
some thoughts about the bloat introduced by edge-case first libraries
The bloat of edge-case first libraries
How building edge-case first led to bloated, overly-granular libraries and what we can do about it
43081j.com
September 9, 2025 at 12:58 PM
Have just come out of a cafe where toilets are segregated by whether users are left or right handed. I appreciate the novelty.
September 3, 2025 at 11:00 AM
Google AI doesn't know my IP, but kindly hallucinates one.
August 28, 2025 at 5:26 PM
I've been doing some work pruning RTen's binary size. Some surprising offenders. github.com/dtolnay/carg... is a super useful tool for this.
GitHub - dtolnay/cargo-llvm-lines: Count lines of LLVM IR per generic function
Count lines of LLVM IR per generic function. Contribute to dtolnay/cargo-llvm-lines development by creating an account on GitHub.
github.com
August 28, 2025 at 5:19 PM
Reposted by Robert Knight
Uber horse
August 25, 2025 at 3:34 PM
I wondered how `From` is implemented in Rust. How do you define a conversion from a value that cannot exist? The answer is with an empty `match` - doc.rust-lang.org/src/core/num....
error.rs - source
Source of the Rust file `library/core/src/num/error.rs`.
doc.rust-lang.org
August 24, 2025 at 10:45 AM
Zeroing memory can be much faster than filling it with an arbitrary value, as there are special hardware instructions for it on eg. Arm - developer.arm.com/documentatio.... If you have to fill a large block of memory with a user-provided value, it can be worth special-casing for zero.
Documentation – Arm Developer
developer.arm.com
August 19, 2025 at 11:01 AM
My experience of GPT-5 has been positive. The more neutral tone of its responses suits me (I don't like unnecessary emotion in conversations), and having it auto-select the amount of reasoning to use seems to work well.
August 19, 2025 at 10:48 AM