Hacker News new | ask | show | jobs
by louis771 361 days ago
Hate to see Tsoding was using Rust for this. Rust is as far removed from recreational programming than any other language.
4 comments

It's not rust. It's crust. https://github.com/tsoding/crust

"The Rules of Crust

Every function is unsafe. No references, only pointers. No cargo, build with rustc directly. No std, but libc is allowed. Only Edition 2021. All user structs and enums #[derive(Clone, Copy)]. Everything is pub by default."

I think Rust is quite a recreational language.

The least recreational languages are probably like Java,C#

Idk, java maybe, but c# doesn't even require .csproj files nowadays, it's really nice to use
Why? It's a great language. Very productive. Ideal for compilers too.
Is this satire or did you actually watch the streams?

He doesn't actually use rust "idiomatically". He calls this "crust":

1. Every function is unsafe

2. No references, only pointers

3. No cargo, just rustc

4. No std, only libc

...

I don't know if he is sticking to these rules throughout but that was the idea in the beginning of this project.

https://github.com/tsoding/Crust