Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
masklinn
on Sept 25, 2018
|
parent
|
context
|
favorite
| on:
On Go, Portability, and System Interfaces (2015)
libc calls are not faster than system calls.
Immortalin
on Sept 25, 2018
[–]
Explain this comment:
https://news.ycombinator.com/item?id=18057649
masklinn
on Oct 7, 2018
|
parent
[–]
This comment is saying that the
overhead
of the libc calls is (or should be) almost nothing compared to the cost of the syscall itself. The libc calls wraps the syscall, it can't be faster (vDSO aside).
Immortalin
on Oct 7, 2018
|
root
|
parent
[–]
Ah! That makes sense now. I thought it would be impossible for LibC to be faster than a syscall short of it cannibalizing the kernel.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: