3 part write up on C# vs Golang performance

213 views
Skip to first unread message

Jeff Mangan

unread,
Dec 17, 2020, 2:20:57 PM12/17/20
to golang-nuts


Interesting article, only had time to skim but seems to lean towards C#.

Thoughts?

Kaveh Shahbazian

unread,
Dec 17, 2020, 4:39:06 PM12/17/20
to golang-nuts
The efficient use of memory in Go makes it an interesting option for serverless services. There is no comparison in start-up time in the posts - just guessing here also Go might do a bit better.

Also, the initial stack size for goroutines seems to be 2 KB now, not 8 KB (source line 7). Huge maps in Go could cause some problems for GC before - at the time it could be improved by partitioning the huge map. Most probably this also is improved in newer versions.

Easy(er/ish) packaging and deployment is another plus for Go. Of-course these days it is not that obvious, because most things are containerized.

(I have used .NET for almost 14 years until 2015 and have nothing against it)
Reply all
Reply to author
Forward
0 new messages