3 ms·
1. That presumes linking against libmysql and making bindings won't be a source of endless bugs :) 2. One of the major pitfalls with linking against c librarie
by chrsig 4y ago
1. That presumes linking against libmysql and making bindings won't be a source of endless bugs :)
2. One of the major pitfalls with linking against c libraries that do their own i/o is that they don't play nicely with the go scheduler. That means the goroutines blocking on a c i/o operation will occupy it's thread for the duration of the call.