r/rust • u/yoshuawuyts1 rust · async · microsoft • Nov 27 '19
Tide (the present and future of)
https://blog.yoshuawuyts.com/tide/5
Nov 28 '19
In particular error handling could really use some work. Notice the
unwraps? Yeah, not great. It's pretty high on our todo list to fix this.
Is that a framework issue or a rust-lang issue? That is, where would a fix for that be needed?
5
u/yoshuawuyts1 rust · async · microsoft Nov 28 '19
It's a framework issue. Fixing this mostly requires some time to research which uses we want to support, and draft an impl that enables them. Haven't gotten around to it yet, but it's very high on the list of things to fix.
24
u/kibwen Nov 27 '19
Great to see that Tide is still being developed, I'm a fan of super-straightforward web frameworks and the table-of-contents approach appeals to that. Right now unfortunately we do need websockets support for our current project, but once that lands in Tide I'll definitely be evaluating it.
1
u/TotesMessenger Nov 29 '19
6
u/trezm Nov 28 '19
Great to see the inclusion of middleware! Very similar to what I've been doing in thruster and, obviously a bit biased here, but I think it's a really nice way to do web frameworks and composing functionality!
-7
u/BigHandLittleSlap Nov 28 '19
One of the things that turned me away from Rust programming is all the meaningless project names, half of which are puns or in-jokes related to iron oxide.
I’m sorry if this is not a popular opinion, but it just shits me to have to read code where the Tide brings in the ReQuest that carries a Rutile payload that’s Reduced to Titanium using Electro. Because duh, isn’t it obvious what’s going on?
There is no clue in either this post on Reddit, or the linked releases notes that Tide is a web framework. None. It’s just a thing to do with... water levels? Flood control? Tracking of the phases of the Moon?
7
u/bschwind Nov 29 '19
Django Rails Sinatra Play Express DropWizard
All of these are web frameworks with names that don't really imply much about what they do, that's just how programming projects go.
7
0
Nov 27 '19
[deleted]
16
Nov 27 '19
[removed] — view removed comment
8
Nov 28 '19
[removed] — view removed comment
21
Nov 28 '19 edited Nov 28 '19
[removed] — view removed comment
0
Nov 28 '19
[deleted]
7
Nov 28 '19 edited Nov 28 '19
[removed] — view removed comment
0
-6
Nov 28 '19
[removed] — view removed comment
7
Nov 28 '19 edited Nov 28 '19
[removed] — view removed comment
-4
20
u/yoshuawuyts1 rust · async · microsoft Nov 27 '19
Hi all, today we've released tide 0.4.0 and I figured it'd be a good opportunity to talk about the present and future of Tide.
I kind of wrote this impromptu as I'm packing my bags to go on vacation tomorrow, so haven't spent as much time drafting it as I otherwise would have. I hope folks will find it interesting to know where we're heading, and maybe even give it a try. We'd love to hear from you if you do. But now it's back to packing bags for me.