2 ms·
Not sure how fully featured it is. https://lib.rs/crates/mmf https://lib.rs/crates/mmf Yes, rust directly supports modern intrinsics, that is what rustfft for
by galangalalgol 3y ago
Not sure how fully featured it is. https://lib.rs/crates/mmf https://lib.rs/crates/mmf
Yes, rust directly supports modern intrinsics, that is what rustfft for instance uses. I try to stick with autovec myself, because my needs are simpler such that a couple tweaks usually gets me close to hand-rolled speedups on both avx 512 and aarch64. But for more complicated stuff yeah, rust seems to be keeping up. Some intrinsics are still only in nightly, but plenty of major projects use nightly for production, it is quite stable and with a good pipeline you'll be fine.
I've written c++ since ~94, and mostly c++17 since it came out. About a quarter of a century of that getting paid for it. I never liked or used exceptions or rtti, and generally used functional style except for preallocation of memory for performance. I think those habits might have made the transition a little easier, but the people on my team who had used a more OOP style and full c++ don't seem to have adapted much more slowly if at all. I struggled for years to internalize rust at home until I just jumped in at work by declaring the project I lead would be in rust. I have had absolutely no regrets. It really isn't as bad a learning curve as c++. But we learned c++ one revision at a time. Also, much like c++ rust has bits you mostly only need to know for writing libraries. So getting started you can put those things to the side for a bit right at first.
- Const-me 3y ago> Not sure how fully featured it is The crate you have linked contains just a single line of source code. Here it is: pub struct SourceReader {} Media foundation API reference: https://learn.microsoft.com/en-us/windows/win32/medfound/media-foundation-programming-reference https://learn.microsoft.com/en-us/windows/win32/medfound/med... > rust directly supports modern intrinsics C# also directly supports them, but it doesn’t help with usability. The support alone is not enough, the API needs to match the C compiler extensions defined decades ago by Intel and ARM.