4 ms·
Very insightful thank you, is it not possible for Rocket to rewrite some of those if it's going to take a while before they're ready for Rust? Another thought I
by giancarlostoro 7y ago
Very insightful thank you, is it not possible for Rocket to rewrite some of those if it's going to take a while before they're ready for Rust? Another thought I had is... does Rust support conditional compilation? I haven't done enough Rust to know but maybe they could do that for Stable instead...
- steveklabnik 7y agoWe do, and that’s part of what I meant in the comment by “dropped”; the first one can’t be worked around, but the others could, in theory. That said I’m not an expert on Rocket and don’t know what Sergio’s plan is exactly.
- giancarlostoro 7y agoFair enough, out of curiosity are there other frameworks you have used or find interesting?
- steveklabnik 7y agoIf I were to make a service today, I would probably start with Actix, or maybe Warp. I don't think that this problem has really been solved yet. I've taken a few cracks at it myself over the years and am still not 100% happy, I dunno. The last time I wrote something I just used raw hyper. I didn't need complex routing though, if I did, that would have been an absolute pain. It was also a read-only service so I didn't need auth or a lot of other stuff that's needed in every real app.
- giancarlostoro 7y agoI agree, the more I do web and look into web frameworks and the ones I like the most, it feels like the nice ones take advantage of some form of syntatic sugar capabilities of their respective languages such as annotations in C#, metaprogramming in Kotlin/Kotor, decorators in Python and so on.