tyler.lane.codes
trying to have a good time (as long as I don’t think about it too much) My loud, fun punk band: @astroalloy.com they/them
👤 Joined on 07 August 2023
Followers
Following
Total Posts
@underwater.bsky.social@underwater.bsky.social → @lane.codes@lane.codes → @tyler.lane.codespolymarket.extwitter.link
Not Found
Not Found
Not Found
wheelyweb.bsky.social
advantage87.bsky.social
r8ve.bsky.social
Not Found
enfinitycast.bsky.social
Not Found
ikariwolf.bsky.social
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
askylitocean.bsky.social
lazartagwolf.bsky.social
Not Found
Not Found
miafarrow.bsky.social
The other thing holding it back: compatibility. N-API addons (bcrypt, sharp, @napi-rs/*, argon2) work fine. But old V8 native addons, like anything using `nan`, can segfault under pointer compression. That's the tax you pay.
Show PostRAM is the new bottleneck. Every Node.js process is fighting for memory: containers, serverless, cloud bills, k8s limits. And here's the maddening part: V8 can use half the memory with one flag, and almost nobody turns it on.
Show PostPointer compression. V8 stores pointers as 32-bit offsets from a base address instead of full 64-bit pointers. That single change halves the size of every object in your heap.
Show PostLook at the numbers. Array of 1M objects: 40.47MB → 20.24MB. Nested objects (500K): 50.21MB → 24.64MB. Linked list: 19.08MB → 9.54MB. Every pointer-heavy structure drops ~50%.
Show PostSo why is it still rare? Because until recently, enabling pointer compression meant building Node.js yourself from source with `--experimental-enable-pointer-compression`. There were no prebuilt binaries. Most people just... never tried it.
Show Post