Hacker News new | past | comments | ask | show | jobs | submit login

> I'm not convinced a web-tool is the best way to go about it if optimizing assembly is one's dayjob.

It isn't, because that's not what it's for. Besides, few people have optimizing assembly as a dayjob, and in that case you'd be writing it rather than reading it. Trying to juice a compiler into producing specific assembly output is frustrating and brittle. I suppose it's useful for seeing whether your autovectorisation has worked.

But the best use of godbolt - uniquely as a web tool - is to show other people what the output is.

(I wish more people would stop before saying "tool X is useless for workflow Y" and ask themselves what the intended workflow of tool X is. Not everything is for everybody, that would be impossible.)

> more documentation on the website e.g. about the ABI so I know how the arguments of a function are passed in etc

It just calls the underlying compiler executables. Consult their documentation.




Consider applying for YC's Fall 2025 batch! Applications are open till Aug 4

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: