c++: cleanup comments
c++: new render graphic
go: new render graphic
java: new render graphic
c++: port over optimisation from go (d2e03a38c739006398ee0d6eef75bf10e25000ce)
c++: port over go optimisation (efa1672ad5c8fa41550a611217ec3fe239cfd3c6)