Re:Go performance from version 1.2 to 1.18
by usrbinbash on Friday February 04, 2022 @05:12AM
(#30204919)
No inlining of assembly is required to vastly improve the performance of Go in many such benchmarks. Pool or Arena Allocation are commonly used techniques and whether or not they are "idiomatic" isn't even up for discussion any more since the stdlib includes the former.
Re:Go performance from version 1.2 to 1.18
by igouy on Friday February 04, 2022 @01:45PM
(#30211141)
> … stdlib includes the former.
sync.Pool — binary-trees Go #6 program
https://benchmarksgame-team.pages.debian.net/benchmarksgame/...
----
Go does provide GC
I think we worry about performance far too much when choosing a language. However, when performance is important, it's important to recognise the different classes of languages, say {Go, Rust, C} vs {Python, JS, Ruby} in terms of speed and memory footprint vs productivity.