RSS.Social

purplesyringa's blog

follow: @[email protected]

Posts

accept() and socket inheritance

DuplicateHandle works on sockets, mostly

Race-free handle inheritance, maybe

std::process::Command is a bad citizen on Windows

Impressions of Teal

Thoughts on "SIMD in Pure Python"

log is non-monotonous in PHP and Lua

log is non-monotonic in PHP and Lua

Sorted rank coding

Doubling code performance with a "useless" if

Quadrupling code performance with a "useless" if

Optimal parse with phminposuw

Does technical blogging spark joy?

Suffix BWT vs cyclic shift BWT, and fast computation

Optimizing Lua string literals to save 400 bytes

You might misunderstand arithmetic coding

This Wasm interpreter fits in a QR code

Wasm is not quite a stack machine

Wait, if (flags & O_SYNC) is wrong?

Programming used to be free

No one owes you supply-chain security

Simplest hash functions

There is absolutely nothing wrong with Web

Optimization lessons from a Minecraft structure locator

Reinventing aliasing XOR mutability and lifetimes

An ode to bzip

Faster practical modular inversion

Rust's v0 mangling scheme in a nutshell

Faster comparison modulo α-equivalence

A look at Rust from 2012

ntoh*/hton* is a bad API

Finding duplicated code with tools from your CS course

JVM exceptions are weird: a decompiler perspective

The expression problem and Rust

Fenwick layout for interval trees

If I hear "design pattern" one more time, I'll go mad

"AI discourse" is a joke

Hidden complexity in software development

Splitting independent variables without SSA

Fast limited-range conversion between ints and floats

Recovering control flow structures without CFGs

Why performance optimization is hard work

Falsehoods programmers believe about null pointers

The RAM myth

Thoughts on Rust hashing

Any Python program fits in 24 characters*

The Rust Trademark Policy is still harmful

Bringing faster exceptions to Rust

We built the best "Bad Apple!!" in Minecraft

Minecraft сравнивает массивы за куб

WebP: The WebPage compression format

Division is hard, but it doesn't have to be

I sped up serde_json strings by 20%

The sentinel trick

You might want to use panics for error handling

У base64 есть неподвижная точка

I thought I was smart enough to play with fire

Recovering garbled Bitcoin addresses