This a few times faster than C and I assume also Odin.
Notice how it has no useless SIMD boilerplate because that can be inferred at compile time thanks to algebra.
Mainly a proof language but I formalised machine numerics w/ specialisation for fast general purpose code.
Notice how in every implementation of this program, what is actually happening mathematically is completely obfuscated by bullshit that can be fully determined at compile time?
1
1
38
The sick freak I am, I was hoping for RH to be false and for the counterexample to be just some ordinary number with no explanation.
1
106
Wocean Man retweeted
sometimes i trick this sea lion with the cup game and he scream loud as fuuuuuck
Wocean Man retweeted
𝗥𝘂𝘀𝘁 𝘃𝘀 𝗖#
We see a lot of rewrites to Rust recently. So, let's see how they are different. Both are running native machine code, but they get there at very different times.
𝗥𝘂𝘀𝘁 (𝗿𝘂𝘀𝘁𝗰 + 𝗟𝗟𝗩𝗠):
🔹 Source code → rustc → LLVM → linker → one native binary (app / app.exe).
🔹 Cargo downloads crates from crates.io and compiles them from source.
🔹 The 𝗯𝗼𝗿𝗿𝗼𝘄 𝗰𝗵𝗲𝗰𝗸𝗲𝗿 statically analyzes ownership and lifetimes before any machine code exists.
🔹 std and other crates are statically linked into the binary by default. libc / ucrt are typically linked dynamically.
🔹 The executable doesn't need a runtime or JIT. The OS loads it into memory and main() starts executing.
🔹 Memory is freed deterministically by drop() glue code the compiler inserts when the owner goes out of scope, so there is 𝗻𝗼 𝗴𝗮𝗿𝗯𝗮𝗴𝗲 𝗰𝗼𝗹𝗹𝗲𝗰𝘁𝗼𝗿.
𝗖# (.𝗡𝗘𝗧 𝗥𝘂𝗻𝘁𝗶𝗺𝗲):
🔸 Source code → Roslyn → IL → straight into the dumpster. Unfortunately, someone usually retrieves it.
🔸 NuGet packages are individually wrapped bags of garbage, carefully versioned so you can reproduce the exact same smell across environments.
🔸 The CLR is an industrial waste-processing facility that takes your garbage, loads it into memory, and pretends it's software.
🔸 Methods are JIT-compiled because apparently even the CPU refuses to touch C# until the last possible moment. Tier 0 is fresh garbage. Tier 1 is optimized garbage. Dynamic PGO studies which garbage you use most frequently so it can serve it faster.
🔸 The 𝗚𝗖 is the only honest component in the entire ecosystem. Even the runtime acknowledges that everything you're creating is trash and periodically sends a dedicated worker to clean it up.
🔸 Native AOT lets you compile the entire landfill ahead of time, producing a standalone executable so you can distribute your garbage without requiring everyone to install the garbage-processing facility.
⚖️ The trade-off:
• In Rust you answer "who's going to release this memory?" 𝗮𝘁 𝗰𝗼𝗺𝗽𝗶𝗹𝗲 𝘁𝗶𝗺𝗲. The compiler can be strict, and you get a binary with no warm-up and no GC pauses.
• In C# the garbage is so deeply embedded in the language that Microsoft had to build an entire runtime whose primary responsibility is periodically taking out the trash. And somehow, after decades of engineering, the garbage still needs warming up.
Back to you, which one would you choose for your next service, and why?



















