3 ms·
Ok let me get it here cause there are a lot of misunderstanding my post on top. Swift have built in simd same about Rust https://github.com/apple/swift-evoluti
by komuher 7y ago
Ok let me get it here cause there are a lot of misunderstanding my post on top.
Swift have built in simd same about Rust
https://github.com/apple/swift-evolution/blob/master/proposals/0229-simd.md https://github.com/apple/swift-evolution/blob/master/proposa...
Nim have arraymancer https://github.com/mratsim/Arraymancer https://github.com/mratsim/Arraymancer
@inbounds it is just compiler option u can use it in any language with LLVM backend i would be suprised if Julia will be faster then Rust/Swift or Nim in this regard.
But True about GO in that particular case.
- logicchains 7y ago>@inbounds it is just compiler option u can use it in any language with LLVM backend i would be suprised if Julia will be faster then Rust/Swift or Nim in this regard. I agree it wouldn't necessarily be faster, but it also wouldn't be slower. Plus in Rust at least disabling bounds checks requires marking code as unsafe, which really gets the community's hackles up.
- steveklabnik 7y agoIt only requires unsafe if the compiler can’t figure out that removing them is okay. Often bounds checks are not emitted, even in safe code.