Tag: rust
All the articles with the tag "rust".
Rust vs C++ on the same LLVM: four programs, one 16-core server
Rust 1.100 and C++ (Clang 23 with the same LLVM, and GCC 16) running the same sort, word count, integer-key hash map and parallel word count on a 16-core DigitalOcean server. Medians of 10 runs, perf counters, heaptrack allocation counts, and the scripts to repeat it.
An 11-year-old hole in the Rust borrow checker, reproduced on stable, nightly and Rust 1.4
Issue #164250 shows safe Rust with no unsafe block that reads a String after it was freed. Here is the program, the one-line change the compiler rejects, AddressSanitizer's verdict, a run on Rust 1.4.0 from 2015 in Docker, and what the open fix changes.