3 ms·
Saying that it can replace Django is quite an overstatement! The only framework which can be compared in features is Rails and Spring, nothing else even comes c
by kissgyorgy 6y ago
Saying that it can replace Django is quite an overstatement! The only framework which can be compared in features is Rails and Spring, nothing else even comes close! Not to mention the productivity benefits... Rust is a good language, but with these compile times for a complex Django-like web application? No thanks.
- wil421 6y agoNot to mention Django (and flask) come with a ton of modules to get you up and running. Not sure I personally feel comfortable building my own authentication modules. The rocket example was similar to one I did in flask but with flask I didn’t feel like I was creating my own auth. Rocket guards and JWT left me feeling like it was much easier to make a huge mistake.
- Benjmhart 6y agoYeah, but those compile times catch bugs everyone misses in your Django app. People think speed is the only advantage, reducing runtime debugging and providing a more secure, more correct front end, free null pointer issues and free of memory leaks and runtime type errors - rust just has the added bonus of being fast. You're right some of the tools aren't quite there and if you move a rails-y app over to rust, you have a job ahead of you to assemble some libraries, but it is doable - the point is that you can put rust in production at web scale now.
- Dowwie 6y agoIt is absolutely an overstatement and people should be more careful with misrepresenting what the Rust language and ecosystem offers. Rust has its strengths just as Python does. None of the authors of the web frameworks are aspiring to build a Django or Flask like experience.
- gremlinsinc 6y agoWhat about laravel? Rails doesn't even have it's own authentication built in? Seems laravel, might be closer to django, and with jetstream - it has an admin area baked in, which others don't. Laravel is also just as, if not more performant (if you mix in swoole).