-
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.
They are not using the nightly-only API std::raw::TraitObject that is the only non-UB way of doing what they are doing (see this - this should be replaced by proper calls to the relevant API)
Your transmute to (usize, usize) makes assumptions about undocumented details of the memory layout of wide pointers. https://github.com/rust-lang/rfcs/pull/2580 aims to solve this, and Vec was precisely the motivation for it.
Unfortunately this is ub. The same as /u/0xmental icey that is in the front page (ub here)
Based on this discussion: https://github.com/rust-lang/rust/issues/58582#issuecomment-465508579