Our great sponsors
-
InfluxDB
Power Real-Time Data Analytics at Scale. Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.
There are a few things rust does not support in comparison to c++. Two I personally came across are: 1. placement new (relevant RFC) 2. Fast-math flag (relevant RFC)
There are a few things rust does not support in comparison to c++. Two I personally came across are: 1. placement new (relevant RFC) 2. Fast-math flag (relevant RFC)
You can convert llvm bitcode to C and then use C compiler, there is such project https://github.com/JuliaComputingOSS/llvm-cbe .
The definition of UB for Rust and C++ is practically the same. My source for this claim are lead maintainers of the Rust project who answer directly to the question in the github issue: https://github.com/rust-lang/unsafe-code-guidelines/issues/253
Thanks to llvm-mos project there is also working rust fork for MOS-6502: https://github.com/mrk-its/rust-mos/tree/mos_target, so you can target 8-bit atari and c64
There is also https://github.com/rust-lang/rustc_codegen_gcc which uses GCC JIT to compile Rust and maybe support all the archs GCC can.
The uutils implementation of stdbuf embeds a tiny bit of C++ code in order to inject code into the very start of another process, before its main runs.