News for hackers. Stuff that matters.
Re:Mint, a new HTTP library for Elixir by eternal_virgin on Monday February 25, 2019 @01:45PM (#19248181)
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 given.

Re:Mint, a new HTTP library for Elixir by ams6110 on Monday February 25, 2019 @01:57PM (#19248295)
> it never ceases to amaze me why some HTTP libs don't have TLS as a given

Separation of concerns. TLS termination is something that can be done separately, and at scale you want to separate it anyway.

Re:Mint, a new HTTP library for Elixir by carlosdp on Monday February 25, 2019 @03:53PM (#19249354)
For a server, sure, but for a client?
Re:Mint, a new HTTP library for Elixir by ams6110 on Monday February 25, 2019 @08:23PM (#19251234)
Admittedly, I missed that. I thought this was a server lib.
Re:Mint, a new HTTP library for Elixir by dharmab on Monday February 25, 2019 @02:14PM (#19248447)
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 by supernintendo on Monday February 25, 2019 @03:56PM (#19249375)
At least the naming is distinct within the Elixir ecosystem. It has always bothered me how close HTTPoison and HTTPotion are to one another.
Re:Mint, a new HTTP library for Elixir by dnautics on Monday February 25, 2019 @04:46PM (#19249770)
not to mention that the dominant JSON parser used to be called Poison.