|
|
|
|
|
by ribelo
844 days ago
|
|
Go's approach to async programming is indeed simpler, but its FFI and handling of stateful coroutines can introduce complexity and overhead when bridging with external code. Using CGO is slow because it requires synchronization of the coroutine state between libc and Go. Everyone avoids CGO whenever possible, so it is not a solution. Rust chose a different path that is not more complex, but the complexity lies elsewhere. |
|