5 ms·
Actually you're not. I would very much prefer a stripped down version of Go used for these situations rather than throwing more C at it. The main benefits of u
by pm90 7y ago
Actually you're not.
I would very much prefer a stripped down version of Go used for these situations rather than throwing more C at it. The main benefits of using Go are not the garbage collection, its the tooling, the readability (and thus maintainability) of the code base, the large number of folks who are versatile in using it.
- metiscus 7y agoAre you saying that there are more go developers than c developers? Is there a user survey that shows such things? I'm curious what the ratio is.
- rdbell 7y agoI'd be willing to wager that C programmers would be more comfortable working with a Golang codebase than Golang programmers would be working with a C codebase. There may be more "C programmers" by number but a Golang codebase is going to be more accessible to a wider pool of applicants.
- weberc2 7y agoIn my experience it takes a few days for a moderate programmer to come up to speed on Go, whereas it takes several months for C. You need to hire C programmers for a C position, you can hire any programmers for a Go position.
- cozzyd 7y agoIf they don't already know C though, how well will they cope with manual memory management?
- weberc2 7y agoIt will be a learning curve, but a much, much smaller one than learning C.
- kerkeslager 7y agoBut the entire point of this line of questioning is that there are more programmers who already know C.
- nicoburns 7y agoHow do people learn C without knowing about manual memory management? They learn about it as they learn the language. This can be done in any language that allows for manual memory management (and most have much better safeguards and documentation than C, which has a million ways to shoot yourself in the foot)
- kerkeslager 7y agoHe's wrong: https://www.tiobe.com/tiobe-index/ https://www.tiobe.com/tiobe-index/
- kerkeslager 7y agoReadability is subjective. Large user base? C is number 2. Go isn't even in the top 10.[1] Tooling? C has decades of being one of the most commonly used languages, and a general culture of building on existing tools instead of jumping onto the latest hotness every few months. As a result, C has a very mature tool set. [1] https://www.tiobe.com/tiobe-index/ https://www.tiobe.com/tiobe-index/
- strken 7y agoUnfortunately the excellent standard library is a major benefit of Go, and it uses the GC, so if you set GOGC=off you're left to write your own standard library. I would also like to see a stripped-down version of Go that disables most heap allocations, but I have no idea what it would look like.