4 ms·
Some great points about go: If you don't use it, remove it (compiler checks to see if a variable / module import is actually used) The real pleasure in go vs
by dana321 7y ago
Some great points about go:
If you don't use it, remove it (compiler checks to see if a variable / module import is actually used)
The real pleasure in go vs c/c++ is compiling / linking is easy with the new go modules support, multi-platform out of the box. Kinda like cargo in rust. Kinda.
Downside is.. C/C++ modules are 2nd class citizens that can slow your whole code down.. Conversion is much better, but usually someone has done it yet.. sqlite needs a go port.
I think of go as an advanced assembly language with some c-like idioms and a powerful runtime to handle processor thread scheduling.
- pstuart 7y agoUnfortunately no recent activity, but this comes to mind: https://github.com/elliotchance/c2go https://github.com/elliotchance/c2go