logo
  • Search
  • Reddit Posts 🔥
  • Archive
  • GitHub

Rust on WSL 4x faster than Windows

167 points msminhas93 2024-12-05 08:05:05
View on Reddit ↗

I was doing some benchmarking of c++ vs rust and went down a rabbit hole.

During the investigation I tried running the exact same rust code on Windows vs WSL and observed that WSL was 4x faster.

Has anyone here observed this before and knows why this is happening?

https://www.reddit.com/r/cpp/comments/1h6rw1s/observing_4x_slowdown_vs_rust_code

© 2025 Query.rs, built by Folyd with ❤️❤️, see about page to learn more · meiguo.app · aiberm.com