News for hackers. Stuff that matters.
Re:ABI Mistakes by swsieber on Saturday May 08, 2021 @02:43PM (#27089690)
This is understandable. Rust really uses restrict semantics in anger compared to any other language I know of. Have you seen restrict used in a c codebase? The LLVM support for restrict just doesn't get exercised much outside of Rust.
Re:ABI Mistakes by galangalalgol on Saturday May 08, 2021 @04:56PM (#27090603)
Also there are a lot of fortran compilers using llvm now. Fortran has the information for noalias as well.
Re:ABI Mistakes by ghoward on Saturday May 08, 2021 @09:36PM (#27092384)
I used it extensively in my bc (https://git.yzena.com/gavin/bc) in the math to tell the compiler that the out BigNum is not aliased by any of the in operands. (See https://git.yzena.com/gavin/bc/src/branch/master/src/num.c#L... .)
Re:ABI Mistakes by galangalalgol on Saturday May 08, 2021 @03:12PM (#27089891)
I use it in c++ on most signal processing stuff. I think eigen will use it if you don't let it use intrinsics for simd. I also use g++ so I wouldn't have encountered it anyway.