-
Notifications
You must be signed in to change notification settings - Fork 10
Open
Labels
ideas welcomeAn open problem which doesn't have a clear resolution.An open problem which doesn't have a clear resolution.
Description
cgo function calls are quite expensive (~20x) and so there might be an argument that we should try to do some Go assembly hacks to try to avoid using cgo. On the other hand, there are obvious maintenance issues with magic assembly code, and it's not clear that the (real) overhead of cgo is a practical issue.
Food for thought...
Some links:
- https://words.filippo.io/rustgo/ (note the 2024 update that you want to use
syso). - https://go.dev/wiki/GcToolchainTricks
- https://go.dev/doc/asm
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
ideas welcomeAn open problem which doesn't have a clear resolution.An open problem which doesn't have a clear resolution.