News for hackers. Stuff that matters.
Re:Rust is actually portable by tinco on Thursday July 28, 2022 @03:44AM (#32261507)
Why not just mount the code in the container instead of copying it over? Rust deals very cleanly with build artefacts from different architectures so there's no risk of corruption.
Re:Rust is actually portable by fnord123 on Thursday July 28, 2022 @06:06AM (#32262453)
This is a good idea but there is tension between this straightforward approach and the fact that, on macos, docker is running in a VM so it's inherently slower.
Re:Rust is actually portable by arein3 on Thursday July 28, 2022 @09:30AM (#32264021)
Isn't docker trying to use virtualization from the OS to run linux on "bare metal"? If so it should acheive similar speeds to native linux
Re:Rust is actually portable by tinco on Thursday July 28, 2022 @03:12PM (#32268881)
The virtualized storage layer could actually be a bottleneck here. Though I think they've improved the performance of it to the point where it might no longer be a bottleneck but I'm not sure.