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

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

Joined January 2009
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
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
I was wrong, it's closer to 1k of PRs. He should be banned for life.
23
Replying to @raysan5
This man can't stop
13
872
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
Replying to @zack_overflow
You could build Python with built-in allocation tracking. There is no need for prints.
1
1
80
Replying to @rushter @penberg
It's a very cool website to see what tech stacks some companies are running based on their job postings.
1
5
479
Replying to @penberg
I used Sumble to get the idea a few month ago. They scrape tech stacks, and you can filter job postings by keywords and see what companies are using. A lot of postings have the Rust keyword in them, by it's usually "nice to have some experience". So the actual numbers are even less.
1
1
7
646
Here is what it looks like by default...
1
1
23
Animations, try to switch between two windows fast. It takes around a few seconds, even with reduced motion settings; it's still noticeable. Here is what it looks like with special software. When I'm a laptop, the screen estate is limited. Sometimes you need to switch between two windows hundreds of times in a few hours. I don't want to see 100 animations.
1
26