|
|
|
|
|
by super_flanker
1330 days ago
|
|
> Rust doesn’t offer the option of using a multi-threaded garbage collector.
I'm not sure why do you want a garbage collector in rust, most likely an arena allocator would be sufficient for what you may be looking for. > esbuild
That's an interesting situation. I'll have to take the author's word here since rust's version is not available for us to see. I write both go and rust (go for living and rust for side projects), I can see some situation where a naive implementation in go could perform better than naive implementation in rust (assuming both are implementing same algorithm). Again rust provides options to mitigate performance problems once you decide to optimize a bottleneck, but if you touch the upper ceiling in go program, there is not much you can do about it. |
|
> , but if you touch the upper ceiling in go program, there is not much you can do about it
I’m not seeing this. There’s lots you can do to optimize Go code. Could you give a concrete example?