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

Rust also lacks goto, "raw" pointers, null pointers, inheritance, general reflection, and cyclic dependencies. It also has very limited exceptions (as panic can only be caught at thread boundaries) and prefers structural equality syntactically to reference equality (although reference equality is possible).

Also, Go has exceptions as described here. Panic and recover allow the same semantic power, since every exception-based program can be easily transformed into the equivalent program with Go panic/recover, and vice-versa.



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

Search: