Re:Show HN: Sqinn-Go is a Golang library for accessing SQLit...
by cvilsmeier on Wednesday October 04, 2023 @04:48PM
(#37771545)
Sqinn author here. Nothing against CGO, but I develop/deploy on Win/Linux, and cross-compiling CGO is very painful. Regarding performance: To my own surprise, Sqinn out-performs mattn (and others) for normal workloads, see https://github.com/cvilsmeier/sqinn-go-bench
[ Parent
| on HN ]
Re:Show HN: Sqinn-Go is a Golang library for accessing SQLit...
by eatonphil on Wednesday October 04, 2023 @04:51PM
(#37771592)
I think it's a somewhat unfair (though who cares if it's unfair) comparison because you aren't using the database/sql interface and mattn does.
If you drop that interface, you get much better performance.
See: https://github.com/eatonphil/gosqlite for example.
Edit: Nevermind, you did include crawshaw (which doesn't use database/sql) in your benchmark!