Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Also, a strong point of Rust is just the way the types and the defaults are. Most people think the borrow checker is the only major thing, but Rust have this features:

* Plain Structs

* Rich enums (aka: Algebraic types) that leads to

* All replacements to nulls (Option, Result, Default(trait), Empty(idiom))

* Immutability and functional style as preferred when sensible

* Consistency in APIs by proxy of traits (all conversions going with Into/From traits, All iterables can .collect into all containers, etc)

and many things like this that make very productive to build good APIs when you get the handle of it.



Consider applying for YC's Winter 2026 batch! Applications are open till Nov 10

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: