Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
strcat
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
79 ms
·
811.
▲
by
strcat
13y ago
You're running out-of-memory, and hitting the `llvm.trap` intrinsic call. It causes an illegal instruction to invoke a core dump. It doesn't currently print an error message.
812.
▲
by
strcat
13y ago
Rust tasks have the same large fixed-size stack as OS threads. A fine-grained concurrency model like a task graph would be build on top of them.
813.
▲
by
strcat
13y ago
In the real world it's not nearly as fast as C, but in a micro-benchmark like this with a bunch of loops crunching fixed-size integers it would come close. The difference in performance between the languages is almost entirely due to d
814.
▲
by
strcat
13y ago
You can write slow code in any language, that's exactly what the problem was (and still is) here. The implementations still aren't using the same random number generator. Rust has C++ level performance if you compare the same cod