Day 3 of Rust. I'm still fighting with the borrow checker a bit, but the learning curve has been way less steep than I'd expected.
-
-
-
Replying to @qyliss
I’ve never been anywhere near as comfortable in a systems language (I’ve used C, C++, D, maybe others?) as I am in Rust only a few days in.
2 replies 5 retweets 35 likes -
Replying to @qyliss
If you're interested in databases at all, I've been trying to improve the onboarding experience for Diesel. Would love feedback. diesel.rs
1 reply 0 retweets 0 likes -
-
I actually switched away to rust-postgres though because I needed to write complex SQL that the query builder didn’t support, but …
1 reply 0 retweets 0 likes -
… also needed to escape values, and Diesel’s raw query method didn’t seem to support that.
3 replies 0 retweets 0 likes -
Replying to @qyliss
Yeah, https://github.com/diesel-rs/diesel/issues/650 … is high up on my list of features to add sooner rather than later
1 reply 0 retweets 0 likes -
Replying to @sgrif
yeah, that’d be fantastic. Would love to switch back to Diesel when that’s possible.
2 replies 0 retweets 0 likes -
Oh, one more thing: the reason I needed raw SQL was as far as I can tell Diesel doesn't support Postgres CTEs. Is that on the radar at all?
2 replies 0 retweets 0 likes
CTEs are a thing I want to support, but are semi-low priority since the query planner is really good at auto-lifting to CTE
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.