Rocket, Rust Web Framework, v0.2: Managed State and More
1–10 of 62 posts
Re: Rocket, Rust Web Framework, v0.2: Managed State and More
#2Now, when this works on stable, it'll be awesome!
Re: Rocket, Rust Web Framework, v0.2: Managed State and More
#3Re: Rocket, Rust Web Framework, v0.2: Managed State and More
#4Re: Rocket, Rust Web Framework, v0.2: Managed State and More
#5Is this readable to Rust people? I mean, can you look at this and say, "ah ok, I'm gonna call this and that then I'll have the state" directly?
I'm lost but I have zero Rust knowledge so this is a sincere question, does this mess make sense when you get into it?
Re: Rocket, Rust Web Framework, v0.2: Managed State and More
#6Still without ssl. Nice to see lots of stars and forks.
Re: Rocket, Rust Web Framework, v0.2: Managed State and More
#7Re: Rocket, Rust Web Framework, v0.2: Managed State and More
#8Just curious, I really want to like Rust but take a look at the State API documentation for managed state feature: https://api.rocket.rs/rocket/struct.State.html (screenshot: http://c.ekin.io/3c2q112x1p0y ) Is this readable to Rust people? I mean, can you look at this and say, "ah ok, I'm gonna call this and that then I'll have the state" directly? I'm lost but I have zero Rust knowledge so this is a sincere question…
Re: Rocket, Rust Web Framework, v0.2: Managed State and More
#9Just curious, I really want to like Rust but take a look at the State API documentation for managed state feature: https://api.rocket.rs/rocket/struct.State.html (screenshot: http://c.ekin.io/3c2q112x1p0y ) Is this readable to Rust people? I mean, can you look at this and say, "ah ok, I'm gonna call this and that then I'll have the state" directly? I'm lost but I have zero Rust knowledge so this is a sincere question…
Re: Rocket, Rust Web Framework, v0.2: Managed State and More
#10Just curious, I really want to like Rust but take a look at the State API documentation for managed state feature: https://api.rocket.rs/rocket/struct.State.html (screenshot: http://c.ekin.io/3c2q112x1p0y ) Is this readable to Rust people? I mean, can you look at this and say, "ah ok, I'm gonna call this and that then I'll have the state" directly? I'm lost but I have zero Rust knowledge so this is a sincere question…
It's often easier to work from examples though, but I do know that you often see interesting ways to do things when you look at API docs.
OT: the framework looks interesting... routing as attributes is pretty cool, would be nice if one of the examples on the main page used a route variable though. I am curious how this compares in terms of requests/second of hello world vs. alternates... I would imagine the memory overhead would be much lower, but curious on throughput for the underlying model.