4 ms·
Show HN: An example GraphQL server written in Rust
- uberman 7y agoI saw "actix-web" and I thought to myself... "That odd, that project is dead now. Why release something dependent on it?" But then I went to the actix-web git repo and low and behold it is not dead. Then scratching my head, I re-read this post from my history: https://words.steveklabnik.com/a-sad-day-for-rust https://words.steveklabnik.com/a-sad-day-for-rust Clearly stating the actix-web project was dead and I recall going to the link in the article to: https://github.com/actix/actix-web https://github.com/actix/actix-web that had a post from the maintainer stating that the project was dead. Anyone know what is going on with this project?
- martell 7y agohttps://github.com/actix/actix-web/issues/1289 https://github.com/actix/actix-web/issues/1289
- proc0 7y agoI don't even use Rust and I reacted like the bitconnect guy, "Mmmm No no no".
- rvz 7y agoI extensively use Rust, but honestly, I see that the entire "community" with the devoted Rust evangelists make the project look like a giant weekly soap opera gone off script. Besides that, slapping more seemingly foreign and non-standard technologies together sounds like someone is cooking for a menu for carnage and chaos which requires lots and lots of tests to write.
- ericsanchez 7y agoDamn. Thank you. This comment had my dying in a restaurant earlier. I really enjoy writing rust and I was sad when Steve was sad. I had a similar thought, “why when actix is dead?” I’m glad actix is back. I was coming to SHOW HN a rust tool I made when, boom, front-page: actix is dead. Every journey has its obstacles.
- steveklabnik 7y agoThanks for the comment, I've now updated my blog post, so that when others run across this in the future, they'll see that it's living on.
- cetra3 7y agoYes, the creator of actix-web has appointed a new maintainer after realising it was unfair to just up and delete it. The issue is here: https://github.com/actix/actix-web/issues/1289 https://github.com/actix/actix-web/issues/1289 The project future is obviously in flux with this transition, but I am hoping myself & other contributors will be able to carve a path forward.
- OJFord 7y agoThe owner relented, and passed control to a contributor. It was on HN, but I found it easier to find the OP: https://github.com/actix/actix-web/issues/1289 https://github.com/actix/actix-web/issues/1289 Edit: discussed here: https://news.ycombinator.com/item?id=22099335 https://news.ycombinator.com/item?id=22099335
- AzzieElbab 7y agopretty cool. almost indistinguishable from implementation in higher level languages
- biggestlou 7y agoYep, once you get the lower-level bits in place (which is still pretty tricky) you can iterate with confidence and surprisingly quickly. I created this project mostly to get people over the hump and into smoother sailing.
- nine_k 7y agoI don't see how Rust is low-level. It allows easy access to low-level stuff, but it has quite powerful high-level features.
- AzzieElbab 7y agoExcuse me - compiled, vmless, and gcless language
- jillesvangurp 7y agoVery nice. I played with and demoed something similar yesterday evening using Kotlin, Spring Boot and Expedia's graphql library at a meetup. Relative to things like Appollo, it is more convenient because it generates the schema using reflection, which means that after hooking up the schema generator, you can just write the same kind of code as normal and simply slap the Query or Mutation interface on the things you want exposed to graphql. https://github.com/jillesvangurp/kotlin-graphql-demo https://github.com/jillesvangurp/kotlin-graphql-demo
- hobofan 7y agoWith higher-kinded types on the long-term roadmap, I would definitely rank Rust as a high level language.
- biggestlou 7y agoI think it's more accurate to call it a language with high-level features