4 ms·
"make even basic tasks sometimes extraordinarily difficult, or so I've heard" That would be an understatement :-) But it's a trade-off. You fight the borrow-c
by wokawoka 8y ago
"make even basic tasks sometimes extraordinarily difficult, or so I've heard"
That would be an understatement :-)
But it's a trade-off. You fight the borrow-checker to ensure safe code.
It's really subjective. Are you using a language for front-end/middle-tier service/back-end process, etc. etc.
Back in the day - you had a handful of people writing C code via CGI for web development.
Every good language addresses a problem.
Rust = safe code.
Crystal = IMO...productivity.
- RX14 8y agoExactly. I wouldn't write a kernel or shared library in Crystal and I wouldn't write a webapp in Rust.
- floatboth 8y ago> wouldn't write a webapp in Rust https://rocket.rs https://rocket.rs looks nice ;)
- RX14 8y agoWhat other people subject themselves to is none of my business :) And there is need for HTTP frameworks in Rust, for example embedded stuff often hosts HTTP servers. However, just like C we frameworks, it's my opinion they're not for the average use case.
- wtetzner 8y agoYes, and I can see HTTP frameworks in Rust useful for turning high-performance libraries into web services that can be used by other applications.
- RX14 8y agoYeah, that makes a lot of sense too. For example a database might want to provide a REST api for management, which would make sense to write in rust if the DB was written in rust.
- ModernMech 8y agoHave you looked into iron/hyper? I’ve used them extensively and find them great and fast as hell.