I wrote some Rust, not in production so please take anything I say with a giant 
grain of salt. My experience has tells me that a lot of C++ folks will find 
getting started with it very easy like I did. However the type system does take 
some time to get used to if you want to mutate things. I ended up giving up and 
making copies or using copious amounts of unsafe code. It took me a while to 
get the Rust way of doing things.  Check out some of  whitequark's articles on 
how he gets zero copies in Rust and you'll see that it's not trivial. SIMD 
support was very limited back when I last used it but I've seen a bunch of RFCs 
that plan to expose all the LLVM SIMD intrinsics.

My main complaint still remains long compile times. I hear that incremental 
compilation is finally a thing and the MIR layer in general will help with fast 
type checking (not codegen). The compiler still spends quite a bit of time in 
LLVM land (all those abstractions) but apparently the MIR layer can help by 
cheaply removing some of those abstractions even before LLVM kicks in. Overall 
though the toolchain is surprisingly mature and getting better every day.  The 
FFI experience is smooth and unless you use very exotic C features you should 
be okay IMO. There are wrappers around things like Vulkan and even DPDK.

-- 
You received this message because you are subscribed to the Google Groups 
"mechanical-sympathy" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to