Artem Golubin (@rushter) header
Artem Golubin (@rushter) profile picture

Software Engineer. Infosec, classic ML, network protocols, software internals.

Joined January 2009
Photo by Artem Golubin (@rushter)Photo by Artem Golubin (@rushter)Photo by Artem Golubin (@rushter)Photo by Artem Golubin (@rushter)Photo by Artem Golubin (@rushter)Photo by Artem Golubin (@rushter)Photo by Artem Golubin (@rushter)Photo by Artem Golubin (@rushter)Photo by Artem Golubin (@rushter)Photo by Artem Golubin (@rushter)
Chart crime
17.9 billion pushes. 34.3 billion commits. 1.3 billion pull requests merged. All in the last year. Developers pushed code to GitHub more times in the past 12 months than in 2024 and 2025 combined with merged pull requests, averaging 3.5 million a day. Dive into the data behind how developers are building now with this year's Octoverse report. ⬇️ github.blog/news-insights/oc…
1
81
Artem Golubin retweeted
Replying to @valvesxyz
I like to look at claims like this in case I can improve Ghostty. I grabbed your source and immediately spotted the issue: your read loop overwrites a 64 KiB ring. Everything older is discarded unparsed per tick. You're faster because you're not actually terminal emulating. It means the number isn't a throughput number. In a kitten benchmark run at the rate you're claiming, roughly 6.6 MB arrives per 60 Hz tick and 64 KiB of it gets parsed. You're read(2)-ing 100% of the data and parsing about 1% of it. There are other minor issues (a small fixed scrollback in a preallocated ring buffer, no grapheme clustering, throwing away data like OSC 8 URIs, etc.), but the major one is simply that you're discarding ~99% of the input. For plain text, e.g. your cat benchmark, the final screen ends up looking right, but the scrollback is missing 99% of the file and each retained chunk starts mid-line. As soon as there are escape sequences in the dropped spans, your emulator is fully out of sync and invalid: a cut inside a CSI prints the parameters as text, and any SGR, mode, title, or alt-screen change in the gap is just... gone. FYI, this is why I don't like when people point at refterm as a terminal benchmark. refterm implements a TINY subset of what a terminal emulator must support, it's closer to a fast file reader, not a terminal emulator. I also don't mean any shade by this. I like to look at technology objectively to try to learn something and improve my own craft and work. So I'm sharing what I found. I modified your code very slightly to parse on every full buffer (rather than per tick). And the results are attached. Both use main commit in each repo at the time of this post. Note the graph is in log scale, the discrepancy between performance for things like Kitty images is measured in GB/s.
179
242
215
8,318
867,372
Attackers do this all the time when a new Wordpress/PHP CVE comes out. Without LLMs. They gain access and patch it. Otherwise, tens of other people will hack the same website using the same automated scanners.
Lol I am pretty sure someone is runing a deepseek swarm to remotely patch unpatched php boxes. Well good on them.
1
112
I used to think that reusing the same SVG file in HTML without “loading” it again was not possible, as with regular images. But in reality, you can even put a bunch of icons in a single SVG file and display them as needed. TIL.
2
75
Not really
Python’s popularity is decreasing, and my hypothesis is that with LLMs a general purpose language like Python is less attractive. Just have the LLM write code in whatever DSL makes the most sense for the problem!
1
2
196
The amount of astroturfing in the SQL/PostgreSQL and agents subreddits by the bricks company is insane. I was able to find the real identities of a few anon accounts out of around 10 that constantly ask questions and shove solutions on Reddit. They are engineers, and their job now is to do astroturfing. Dead internet.
1
61
Regexes in Rust debug builds can be 10-20x slower. It does not make sense to profile debug builds.
135
It did not occur to me how bad image search has become on search engines that don't filter AI-generated images. On DuckDuckGo, up to 70% of images are generated by AI. It's way better on Google, since there is SynthID that filters a lot of them.
119
Wrote an article on how to implement arenas in Rust. They are tricky to implement due to the ownership model and the lack of an allocator API in stable Rust. rushter.com/blog/rust-memory…
85
Detecting malicious packages on PyPI is pretty fun. There are around 5000 published packages per day, some of which are malicious. Every day there is at least a few malicious packages.
1
1
75
ClickHouse codebase is fun to study. They add left and right padding (64B) to their custom arrays, so that arr[-1] works without any checks, as well as SIMD operations for the last elements in the array. SIMD operations process up to 64 bytes at once, so the array size must be divisible by that number. For example, -1 indexing is used for offset arrays, where each element stores the offset's end in memory. So, to get the position of the data in the first offset, you just do [0-1 : 0]. The padded data to the left is zeroed, so you get the correct start position. Extra memory is traded for fewer branches.
1
2
128
Finally, automated my pipeline to detect malicious packages published to PyPI using my library (hexora). It only takes 5 minutes a day to manually review the findings. Got a few malicious packages removed already. Six were detected, but 4 of them have already been removed.
1
2
78
Artem Golubin retweeted
We made a fake repo with fake bounties, and the bots are applying fake PRs, so we know who is fake, and we can ban them from the Coolify repo. IQ over 1000
190
456
89
10,216
505,803
Wrote a new blog post about recent reference counting optimizations in Python. Python now has a basic lifetime analysis that will be familiar to Rust programmers. rushter.com/blog/python-refc…
1
3
613