5 ms·
You should be able to get up and running with Go extremely quickly if your default language is C. If there's a reason you must be using C rather than another l
by pentelkuru 12y ago
You should be able to get up and running with Go extremely quickly if your default language is C.
If there's a reason you must be using C rather than another language (require manual memory management, require code to be as fast as possible, etc.), then Go might not be applicable. Otherwise, Go feels like an updated C and I don't see a compelling reason not to invest a little time in checking it out for yourself.
- draven 12y ago> require code to be as fast as possible It's also pretty easy to write the performance critical parts of the code in C and call them from Go.
- NateDad 12y agoYes but you really almost never need to do that. The speed difference is usually only a factor of 2ish... It's not like the factor of 10-30x for interpreted languages.
- Jweb_Guru 12y agoThis will likely not have the desired effect if you are calling into the C code from within a tight loop. Go's C FFI is not low overhead.