| ▲ | pulkitsh1234 2 hours ago | |||||||||||||
curious, why did antirez go with C instead of something like Rust ? | ||||||||||||||
| ▲ | ilaksh an hour ago | parent | next [-] | |||||||||||||
Antirez has been writing C for a million years so is much more familiar with it than Rust. Also the goal of the project is to squeeze the absolute maximum performance and capability possible out of limited hardware resources (compared to clusters of B200s or something). Does Rust even give you good access to low-level code on different platforms? And if so, how much extra work do you need to do to make it acceptable to the compiler? And is that work worthwhile if you are not going to get the security guarantees of normal Rust code? Is it a worthwhile tradeoff when the goal is performance? Those are real questions by the way, not rhetorical. If Rust could work well for this type of project then I would like to know. | ||||||||||||||
| ||||||||||||||
| ▲ | simoiacos 25 minutes ago | parent | prev | next [-] | |||||||||||||
He recently said that he finds Rust less ergonomic and that this also affects code written by LLMs, which he thinks excel at writing C partly because of the enormous, high-quality codebase they were trained on. He sees security-critical code as a reason to choose Rust. The video is in Italian but has an auto-dubbed English audio track: https://www.youtube.com/watch?v=sOt0WpQG5eU\&t=526s | ||||||||||||||
| ▲ | GTP 2 hours ago | parent | prev [-] | |||||||||||||
Personal preference of the author, he made at least one video on YouTube on why he dislikes Rust. I think he finds it too cumbersome and not worth it when the software isn't security-critical (not that I agree, just reporting what IIRC his stance is). | ||||||||||||||