←back to thread

638 points wut42 | 5 comments | | HN request time: 0.817s | source
Show context
arrowsmith ◴[] No.44328363[source]
Ah man I'm really happy to see this and excited to try it out.

As an Elixir enthusiast I've been worried that Elixir would fall behind because the LLMs don't write it as well as they write bigger languages like Python/JS. So I'm really glad to see such active effort to rectify this problem.

We're in safe hands.

replies(12): >>44328630 #>>44328683 #>>44328727 #>>44328801 #>>44328898 #>>44329433 #>>44329534 #>>44329569 #>>44329604 #>>44329853 #>>44330513 #>>44331985 #
mrcwinn ◴[] No.44328727[source]
Worried it might fall behind… further? I love LiveView, Phoenix, Elixir, OTP. But the ecosystem is a wasteland of abandoned packages.

If Phoenix.new helps solve that problem, I’m all for the effort. But otherwise, the sole focus of the community leaders of Elixir should be squarely and exactly focused on creating the incentives and dynamics to grow the base.

Compare, for example, Mastra in TypeScript or PydanticAI in Python. Elixir? Nothing.

Not here to bash. It’s more just a disappointment because otherwise I think nothing comes close.

replies(3): >>44328821 #>>44328935 #>>44332142 #
uncircle ◴[] No.44328821[source]
All languages are a wasteland of abandoned packages, i.e. there is a very long tail of stuff no one has maintained for years. It’s all relative to the mindshare. For its size, Elixir is doing quite well.
replies(2): >>44329174 #>>44329938 #
1. mrcwinn ◴[] No.44329938[source]
It's not the long tail. It's that the HEAD of packages in Elixir are also often poorly maintained or not maintained. The fundamental question for any developer: can I be productive quickly? Despite all that Elixir has going for it, the answer is often "no."

Want a first-party client library for the service you're using? Typically the answer is "too bad, Elixir developer." And writing your own Finch or Req wrapper for their REST endpoint simply isn't a valid answer.

>For its size, Elixir is doing quite well.

I'm actually arguing the opposite. Elixir is not doing well because of its size. So how can that be influenced and changed?

replies(1): >>44330895 #
2. prophesi ◴[] No.44330895[source]
What packages in Elixir have you found unmaintained/missing in the ecosystem? Genuinely curious.
replies(2): >>44333301 #>>44336261 #
3. AlchemistCamp ◴[] No.44333301[source]
Probably the highest profile and most consistent example would be Stripe. The most popular Stripe wrapper for Elixir’s docs point to a 2019 Stripe API version: https://github.com/beam-community/stripity-stripe

Worse still, the quality of Stripe’s own docs have really degraded this decade for anyone not using a language they have an SDK for. Most of their newer docs assume m have a drop-down toggle for on backend language with a few popular languages and no option for “other”. Example: https://docs.stripe.com/billing/quickstart

None of this is a fault of anyone working on Elixir or Phoenix but it definitely has an effect of discouraging some of the fledgling entrepreneur types who Elixir would otherwise be a near perfect fit for, as Rails was in the late aughts.

4. movedx01 ◴[] No.44336261[source]
anything OAuth
replies(1): >>44337734 #
5. uncircle ◴[] No.44337734{3}[source]
There is an excellent (maintained, funded, audited AND with official certification) erlang/Elixir library for that: https://github.com/erlef/oidcc

I have just shipped a production service centered around OAuth and interfacing with OpenID Connect servers.