Better HN
topnewbestaskshowjobs
Log inSign up

0xdeaddeaf

1 karma · joined Mar 22, 2021 (5y ago) · 10 submissions

Submissions

comment 5y ago · link · parent

You may think putting C++ and Rust in the same category against C will make your comment a bit more popular. But the reality is Rust people cringe at C++ code a lot more.

comment 5y ago · link · parent

Yup. C bad, Rust good.

It's not like NASA sent a rover, written almost fully in C, to Mars. It's not like billions of cars and even more billions of their ECUs are written in C. It's not like the firmware of the keyboard you're writing your comment on, or even the OS/browser you're using is written in C. C bad, Rust good.

comment 5y ago · link · parent

Doesn't that only work on Reddit?

comment 5y ago · link · parent

You may find some inspiration for improvements from this project: https://github.com/antirez/sds

comment 5y ago · link · parent

> A language that lets you write unsafe code is an unsafe language.

Rust lets you write unsafe code, and as a matter of fact people are using unsafe abundantly.