News for hackers. Stuff that matters.
Re:Show HN: An example GraphQL server written in Rust by AzzieElbab on Wednesday January 22, 2020 @05:24PM (#22122732)
pretty cool. almost indistinguishable from implementation in higher level languages
Re:Show HN: An example GraphQL server written in Rust by jillesvangurp on Thursday January 23, 2020 @02:31AM (#22125609)
Very 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

Re:Show HN: An example GraphQL server written in Rust by biggestlou on Wednesday January 22, 2020 @08:42PM (#22124052)
Yep, 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.
Re:Show HN: An example GraphQL server written in Rust by nine_k on Wednesday January 22, 2020 @08:48PM (#22124076)
I don't see how Rust is low-level. It allows easy access to low-level stuff, but it has quite powerful high-level features.
Re:Show HN: An example GraphQL server written in Rust by AzzieElbab on Thursday January 23, 2020 @01:41PM (#22130344)
Excuse me - compiled, vmless, and gcless language
Re:Show HN: An example GraphQL server written in Rust by hobofan on Thursday January 23, 2020 @03:25AM (#22125843)
With higher-kinded types on the long-term roadmap, I would definitely rank Rust as a high level language.
Re:Show HN: An example GraphQL server written in Rust by biggestlou on Thursday January 23, 2020 @02:03PM (#22130606)
I think it's more accurate to call it a language with high-level features