Re:Go port of SQLite without CGo
by Mawr on Saturday April 08, 2023 @06:35PM
(#35498320)
It goes to show the impact of optimizing from top-down instead of bottom-up can have. Go was designed with performance in mind ("mechanical sympathy") as opposed to most other GC languages for which performance was an afterthought.
Structs instead of objects, value types, exposed pointers, straightforward allocation semantics.
Do these machine-optimized constructs impede productivity? Yes, but by maybe 20%, whereas the performance gain is 80%.
Structs instead of objects, value types, exposed pointers, straightforward allocation semantics.
Do these machine-optimized constructs impede productivity? Yes, but by maybe 20%, whereas the performance gain is 80%.