3 ms·
Another: Rust is de facto QA service for LLVM's support for overflow intrinsics. Unlike noalias they continue to work, but in practice they continue to work onl
by sanxiyn 7y ago
Another: Rust is de facto QA service for LLVM's support for overflow intrinsics. Unlike noalias they continue to work, but in practice they continue to work only due to fixes from Rust project.
- ridiculous_fish 7y agoWhy doesn't Swift play that role?
- sanxiyn 7y agoIn fact I am not sure why... I am just reporting the experience. Maybe because of architectural coverage, because while bugs also happen in architecture-independent optimizations, more bugs happen in, say, PowerPC backend. Edit: Another possibility is difference between how often Rust and Swift update to LLVM trunk. Both have LLVM fork pinned to specific version updated from time to time and I guess the first to update gets all the bugs.
- masklinn 7y agoPossibly because Swift being more of an application language, Swift codebases in general have very little use for overflowing operations?
- sanxiyn 7y agoNo, it's not that. All Swift arithmetic compiles to overflow intrinsics.