Our great sponsors
-
zig
General-purpose programming language and toolchain for maintaining robust, optimal, and reusable software.
-
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.
https://ziglearn.org/ (the most comprehensive learning resource right now - disclaimer: mine) https://github.com/ratfactor/ziglings/ (something a lot more narrative/exercise based) https://ziglaunch.org/
https://github.com/ziglang/zig/blob/master/lib/std/unicode.zig#L220-L228
It's a default, but overwritable behavior, see the #[path] attribute. You still have to create N files for each supported platform, but at the top level you will see only one module. On of the crates which uses this approach in practice is getrandom.