logo
  • Search
  • Reddit Posts 🔥
  • Archive
  • GitHub

I learned a fun fact today

95 points Specific-Musician291 2026-10-22 22:18:21 12 comments
View on Reddit ↗

https://preview.redd.it/w7xjsqujf3xh1.png?width=501&format=png&auto=webp&s=83220a00d10eed300f04f94a866dd3285d274108

When doing a move, Rust just passes a memcpy to the LLVM IR. LLVM takes care of eliding the copy (in most cases - not always!)

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