Re: [go-nuts] Re: Achieving C/C++/Rust comparable performance with Golang

2022-12-16 Thread Sven Nebel
Thank you for all the insights! On Fri, 16 Dec 2022 at 14:59, Rich wrote: > Too often people look at one benchmark -- speed in execution to determine > what the best language is. Is Rust better than Go because it can run a > benchmark faster? The problem the original developers were trying to s

[go-nuts] Re: Achieving C/C++/Rust comparable performance with Golang

2022-12-16 Thread Rich
Too often people look at one benchmark -- speed in execution to determine what the best language is. Is Rust better than Go because it can run a benchmark faster? The problem the original developers were trying to solve wasn't that C/C++ or other languages couldn't run fast enough, Ken Thompson

[go-nuts] Re: Achieving C/C++/Rust comparable performance with Golang

2022-12-14 Thread Jason E. Aten
two comments a) use many cores. Suddenly your Go code runs circles around everything else-- i.e. those languages you mention where doing multicore in a pain. The view that other languages are faster comes from an age long ago of single core machines. b) rather than pre-mature optimization, the