4 ms·
I went further and now I write in Rust with the same speed as with PHP. And my benefits: awesome system of errors handling, enums, match patterns, easy and safe
by EugeneOZ 10y ago
I went further and now I write in Rust with the same speed as with PHP. And my benefits: awesome system of errors handling, enums, match patterns, easy and safe multithreading, MySQL shared prepared queries, and majority of bugs is being catched by compiler (thanks to strict typing and a lot of checks in compiler).
- egeozcan 10y agoSo you jumped from PHP to Rust? That is very interesting. May I ask what you were doing in PHP that you do now in Rust?
- EugeneOZ 10y agoREST API for Angular SPA and Ionic mobile apps. Few months ago I wrote this article: https://medium.com/@eugeniyoz/restful-api-in-rust-impressions-63250d611d15#.lwvaj7wce https://medium.com/@eugeniyoz/restful-api-in-rust-impression... A lot of things between me and Rust has changed since then, but all changes are positive :)
- arenaninja 10y agoAs a mostly PHP developer I'd love to hear more on your PHP -> Rust transition. I helped with a single commit to the early Rust documentation, but this was back in the alpha days. I'm still writing PHP because that's what the job is, but also because I couldn't figure a use case. Would be nice to see from someone who succeeded in his transition!
- vfclists 10y agobeing caught by the compiler. Have you been writing too many try/catch statements?