DEV Community

Discussion on: Pitch me on Go

Collapse
 
drsensor profile image
૮༼⚆︿⚆༽つ • Edited
  • Fast compile. In fact time of running go run is on par with JIT-ed scripting language like Javascript (node/deno) or Python
  • Unlike scripting language, it produce static binary (though the size is still bigger than Rust, C++, or Zig)
  • Beware of dependency that interop with C or static library (FFI). It can give you bottlenock caused by cgo. There is several solution for this like using gccgo or converting C code via c2go. Those will remove the bottleneck but it's not always works (depend on the dependency you use or C code you want to convert)
  • Coming from Python? Check out Go+