3 ms·
Go has memory safety (via GC rather than fancy ownership, but if it works it works); that's an asset anywhere that can afford the overhead. Edit: In order to p
by yjftsjthsd-h 3y ago
Go has memory safety (via GC rather than fancy ownership, but if it works it works); that's an asset anywhere that can afford the overhead.
Edit: In order to preempt the argument others are having: Safer than C, anyways, while being much easier than rust.
- pjmlp 3y agoIf only we didn't need the const dance for enumerations, even Pascal like ones, to yet another 10 years, I guess.
- jrockway 3y agoI don't have a big problem using codegen to get "syntax" for enumerations. "go generate ./..." before you checkin, save yourself some typing. I have used this in the past: https://github.com/abice/go-enum https://github.com/abice/go-enum But mostly use protos as much as possible these days. (The enum is going to be in the API, might as well use the same object inside the app.)
- pjmlp 3y agoI left that kind of gimmicks behind me in C++ compilers for MS-DOS.