The Genji database for Go

I’ve been watching the development of the Genji database for Go. The author does a good job of responding to contributors, yet has high standards for code. Seems like a nice blend of high standards, humility, and generosity.

See example:


I also asked on slack if the plan is to keep the project pure Go – looks like it is:


1 Like

Did a test to check binary size when using the genji packages (important for embedded systems where you are deploying go apps OTA). A test app comes in at 5MB, which is good for a Go app. (xz compresses to 1.9MB). List of things in the app:

[cbrake@ceres go]$ goweight cmd/genji-test/main.go                              
  5.9 MB runtime         
  2.0 MB reflect       
  1.3 MB
  1.2 MB syscall                                                               
  1.1 MB         
  1.0 MB
  982 kB database/sql                                                          
  925 kB
  690 kB time            
  638 kB
  617 kB fmt                  
  593 kB os                   
  582 kB
  571 kB internal/reflectlite
  458 kB
  394 kB strconv
  375 kB strings
  353 kB internal/poll
  345 kB math
  327 kB unicode
  289 kB bytes
  280 kB
  270 kB bufio
  265 kB encoding/binary
  263 kB
  236 kB sync
  233 kB database/sql/driver
  214 kB
  211 kB
  196 kB io
  188 kB
  171 kB sort
  152 kB context
  152 kB
  139 kB