Live data from Hacker News

Show HN: GraphQL Client in the Terminal

github.com

1–10 of 11 posts

Re: Show HN: GraphQL Client in the Terminal

#8
post #2

(This is implemented in Python) Would love to see a Rust port as a reference for how Rustaceans would achieve comparable functionality, curious what the tradeoffs would be (complexity and LoC).

It issues HTTP requests and provides a small terminal UI. Why does the language possibly matter?

Re: Show HN: GraphQL Client in the Terminal

#9
post #2

(This is implemented in Python) Would love to see a Rust port as a reference for how Rustaceans would achieve comparable functionality, curious what the tradeoffs would be (complexity and LoC).

It issues HTTP requests and provides a small terminal UI. Why does the language possibly matter?

> as a reference for how Rustaceans would achieve comparable functionality

Re: Show HN: GraphQL Client in the Terminal

#10
post #2

(This is implemented in Python) Would love to see a Rust port as a reference for how Rustaceans would achieve comparable functionality, curious what the tradeoffs would be (complexity and LoC).

It issues HTTP requests and provides a small terminal UI. Why does the language possibly matter?

A good example would be curlie (go frontend for curl - https://github.com/rs/curlie) vs httpie (pure python - https://github.com/httpie/httpie). Originally I used httpie for its easier syntax, but it is very noticeably slower than curlie. I presume this is why they are asking for a rust version.

Another reason is that python is a bit harder to distribute due to the nature of python packaging, where as rust compiles to a single binary.

Post reply on HN