Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

FWIW Cgo FFI is expensive not because of GC but because Go uses virtual threads (goroutines) and prioritizes the simplicity of runtime implementation. The lower bound of FFI cost in .NET is roughly equivalent to direct not-inlined calls in C, despite the GC support.


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

Search: