The syscall handler being ASM in Linux is s little annoying.

Like I get it, performance. But maybe GCC/clang might be able to optimize it just as well as a person now? 🤷

How much of it is assembly? like, the initial entry point for the syscall, or the entire 'read' syscall?

(there are more reasons than performance to use assembly, like setting up the environment so that calling into C functions will actually *work*)

Sign in to participate in the conversation
Mastodon for Tech Folks

This Mastodon instance is for people interested in technology. Discussions aren't limited to technology, because tech folks shouldn't be limited to technology either!