Skip to content

Comment on Zig’s Io.Threaded is neatparent

Comments

A modern compiler will try to autovectorize your code, so you don't really know what the assembly will be.

Looking at what the compiler actually did is an ancient tradition. I’ve even done it with Java. Seeing five virtual calls with bounds checking all over get turned into a single load instruction has to be seen to be believed.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.