Live data from Hacker News

Mint, a new HTTP library for Elixir

elixir-lang.org

21–30 of 58 posts

Re: Mint, a new HTTP library for Elixir

#22
post #5
post #3

People are the worst at naming products. Why call it Mint when there is already an insanely popular Mint.com financial software. It makes Googling/searching for product relevancy near impossible. It's like try to search for Firefox on Android vs Firefox on a desktop information.

It's in the context of Elixir, so search for "mint elixir" and I'm sure it'll be quite discoverable - or searching for "mint" on an Elixir contextualized site.

"mint elixir", unsurprisingly, mostly turns up beverages and mint-flavored medicinal things.

Re: Mint, a new HTTP library for Elixir

#24
post #5

Earlier quoted context omitted.

It's in the context of Elixir, so search for "mint elixir" and I'm sure it'll be quite discoverable - or searching for "mint" on an Elixir contextualized site.

"mint elixir", unsurprisingly, mostly turns up beverages and mint-flavored medicinal things.

What search engine did you use?

On Google, the first two results for me on "mint elixir":

Mint, a new HTTP library for Elixir - Elixir https://elixir-lang.org/blog/2019/02/25/mint-a-new-http-libr... 42 mins ago - Mint is a new low-level HTTP library that aims to provide a small and functional core that others can build on top.

GitHub - ericmj/mint: Functional HTTP client for Elixir with support for ... https://github.com/ericmj/mint Functional HTTP client for Elixir with support for HTTP/1 and HTTP/2 - ericmj/mint.

Re: Mint, a new HTTP library for Elixir

#25

While I have qualms about the name since this is like the 20th Mint I've heard of now, I'm incredibly excited as to what this has to offer. The control over the underlying process is key to creating beautifully asynchronous applications, and it gives me a lot of node-got vibes in terms of how easy it is to use. And thank god, HTTPS support built in... it never ceases to amaze me why some HTTP libs don't have TLS as a…

TLS is a layer 4 protocol feature which can be used for other libraries such as database clients. Most languages split the TLS implementation to more easily reuse that code.

Re: Mint, a new HTTP library for Elixir

#27

A lightweight serverside Elixir framework like this is exactly what I was looking for earlier this week. Phoenix is really clunky in my opinion and pretty foreign (Ruby/Rails-like) coming from a lightweight Flask/Express/Go background.

Maybe you'd like https://github.com/elixir-maru/maru

Re: Mint, a new HTTP library for Elixir

#28
post #2

It took me a while to figure out whether this is an HTTP client library or a server library. Turns out it is the former. Nice! I like that it's in-process. I wish more Elixir libraries would default to such a design. (EDIT: I had accidentally written "latter" instead of "former" above, causing a bunch of people to correct me, thanks for that)

So, it's the former (client library).

Re: Mint, a new HTTP library for Elixir

#29

A lightweight serverside Elixir framework like this is exactly what I was looking for earlier this week. Phoenix is really clunky in my opinion and pretty foreign (Ruby/Rails-like) coming from a lightweight Flask/Express/Go background.

If you prefer something more low level, then you can look at libraries like Plug, Maru, Raxx and others.

Re: Mint, a new HTTP library for Elixir

#30

A lightweight serverside Elixir framework like this is exactly what I was looking for earlier this week. Phoenix is really clunky in my opinion and pretty foreign (Ruby/Rails-like) coming from a lightweight Flask/Express/Go background.

I'd recommend using plug + cowboy for your web layer and if you prefer to do away with some of the more prescriptive parts of phoenix.
Post reply on HN