Hacker News new | ask | show | jobs
by clpwn 2198 days ago
In our case, it wasn't a matter of hitting a specific roadblock as much as it was past experience in performance-sensitive projects, and knowing that if we start with those crates we'll probably be fine, and if we don't, we'll probably switch to them eventually for some reason.

With crossbeam for example, you can hit roadblocks with std since their channels are MPSC, whereas crossbeam supports MPMC channels (and is faster than std in every meaningful measurement last I checked).

2 comments

That's great to know, thanks!

Reading the description it almost seemed too good to be true but if it's indeed objectively better in basically every situation I should probably give it a try.

Might as well pick another language for your project if the current one has such shit standard libraries and you're "learning it on the job".
What's wrong with learning a new technology on the job?

Rust leaves a lot of improvements to its standard library to the community, so these improvements start off as separate libraries for faster iteration. The most recent example I remember is the hashbrown crate replacing the standard HashMap.

Does that mean the other language's standard library is better? That it has better third party libraries?