3 ms·
Performance? Second only to rust and other lower level langs. Surely you don't need this spelled out for you...
by pylotlight 5mo ago
Performance? Second only to rust and other lower level langs. Surely you don't need this spelled out for you...
- nvader 5mo agoNot just performance, but static typing and prevalent in the training data/easy for LLMs to reason about. Of course, your response admits, "second to Rust", which I am guessing is an unspoken question in the grandparent's mind.
- hirvi74 5mo agoIf performance is the main difference, whatever that means, then basically Go should be reserved for when Rust and other lower level langs cannot be used due to some other constraint? Are we mainly talking about performant Web backends? Say I am building some app that I know will be CPU-bound, why choose Go over say... Swift?
- overfeed 5mo ago> why choose Go over say... Swift? Language religious wars are silly: you should choose a language based on your constraints and personal tastes. If there's no clear advantage of one language over another for a given task - then all the options are viable, pick one and get on with solving the problem.
- coldtea 5mo ago>If performance is the main difference, whatever that means, then basically Go should be reserved for when Rust and other lower level langs cannot be used due to some other constraint? Or when performance is the main but not the only difference, and there are many other benefits. >Say I am building some app that I know will be CPU-bound, why choose Go over say... Swift? Because unless you're building for macOS/iOS, Swift is really a no-go, with lackluster support for other platforms. Plus slow to build and convoluted.
- za3faran 5mo agoJava and C# are there and faster.
- DeathArrow 5mo agoYes, but kids these days only consider JS, Python, Rust and Go.