MatinDevs

MatinDevs

How do wisp and Gleam compare to Elixir and Phoenix

I’ve been using Elixir and Phoenix recently. Although the syntax looks fine to me (and Phoenix is amazing), there’s some truth to the imperative, clean syntax of C#, which I’ve been using for many years.

And that’s why I immediately fell in love with Gleam. The language is a joy to write and read. The community and Maintainer (Louis Pilfold) have a fantastic mindset, trying to make an ecosystem that develops and enjoys using.

My primary programming is working on web applications and web APIs. I know that Gleam has Wisp, but I’m not sure whether it is as stable and feature-rich as Phoenix. For those who have tried both, what’s your opinion about Wisp? Is it an okay alternative to Phoenix?

Most Liked

D4no0

D4no0

I would personally describe this as gravitating towards imperative syntax, it’s not even about type safety in a lot of cases, especially since typechecking by the compiler improves with every new elixir release. This is completely understandable and it takes some time to shift the mindset.

Obviously not, for example only liveview that is a newer part of phoenix took 6 years of active development to get to version 1.0 .

From the looks of it wisp behaves a lot in the manner which Plug does, but overall doesn’t try to build an entire framework on top of that, so it’s up to you to build the abstractions you need.

Papipo

Papipo

I would recommend you to check Lustre if you haven’t yet.

Being able to share types between the backend and the frontend, and using the same code in a SPA, a web component or a server component is a game changer IMO.
Using gleam for both domain logic and the frontend is nuts. LiveView is an amazing library but it really lacks when it comes to pure frontend interactivity.

I envison a future in which complex domain logic is written in gleam and embedded in Phoenix apps, sometimes also using gleam for the frontend (with the guarantees that shared types bring).

dimitarvp

dimitarvp

Wisp is definitely lower-level, which I personally enjoy, but have in mind that you’ll have to roll your own stuff for various tasks. Of course that equation will become more and more favorable with time for Wisp as its ecosystem and community matures.

Where Next?

Popular in Discussions Top

scouten
I’m looking for a host for the server part of a small (personal) side project that I’m working on. It’s currently written in Node.js and ...
New
kostonstyle
Hi all How can I compare haskell with elixir, included tools, webservices, ect. Thanks
New
sergio
There’s a new TIOBE index report that came out that shows Elixir is still not in the top 50 used languages. It also goes on to call Elix...
New
Crowdhailer
I’ve been hearing much about the new formatter and it’s something I have been keen to try. I find examples buy far the most illuminating...
248 19327 150
New
rower687
Hi all, I’ve been reading a lot about the “let it crash” term and how supervising processes and the whole messaging passing make an elixi...
New
jer
I’ve been using umbrellas for a while, and generally started off (on greenfield projects at least) by isolating subapps based on clearly ...
New
nburkley
AWS re:Invent is on at the moment with some interesting announcements. One new feature in particular is the Lambda Runtime API for AWS La...
New
Nvim
Anybody knows a comprehensive comparison of Django and Phoenix, thanks for the help. Where are they similar? Where do they differ the m...
New
Fl4m3Ph03n1x
Background A few days ago I was listening to The future of Elixir from Elixir Talks, with Dave Thomas (@pragdave ) and Brian Mitchell. I...
New
paulanthonywilson
I like Umbrella projects and pretty much always use them for personal Elixir stuff, especially Nerves things. But I don’t think this is ...
New

Other popular topics Top

Qqwy
Update: How to use the Blogs & Podcasts section You can post links to your blog posts or podcasts either in one of the Official Blog...
3271 127089 1222
New
rms.mrcs
Hi, I need to transform a list of numbers into a map where the keys are the indexes and the values are the original values of the list. ...
New
josevalim
Hi everyone, One of the features added to Elixir early on to help integration with Erlang code was the idea of overridable function defi...
New
gshaw
What is the idiomatic way of matching for not nil in Elixir? E.g., First way: defp halt_if_not_signed_in(conn, signed_in_account) when...
New
alice
Hey, Just curious what are the main benefits of Elixir compared to Clojure? When is Elixir more useful than Clojure and vice versa? Th...
New
klo
Got a question about when to concat vs. prepending items to list then reversing to achieve appending. So i know lists boil down to [1 | ...
New
saif
Hello everyone, Long time lurker first time poster here. I’ve recently begun working on Elixir full-time again! :raised_hands: It’s been...
New
svb
Hi! Currently I want to submit a form by pressing the Enter key. However, since my input field is of type “textarea” this is just adds a...
New
sergio
Kind of like when jquery came out, it was super necessary. Existing drag and drop libraries have a bunch of baggage to support old browse...
New
AstonJ
Posting this to see if we can make things easier for people to get into Neovim. If you use Neovim and have a favourite distro please let ...
New

Latest on Elixir Forum

Elixir Forum

We're in Beta

About us Mission Statement