Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Gleam #189

Open
Pjino opened this issue Nov 5, 2019 · 6 comments
Open

Gleam #189

Pjino opened this issue Nov 5, 2019 · 6 comments

Comments

@Pjino
Copy link

Pjino commented Nov 5, 2019

How about porting Raxx and Ace to Gleam?
the BEAM is fantastic, Elixir has a lot of virtues, but the latest developments on LiveView, Phoenix and Elixir are not in the right (purist) direction and Gleam seems to be in the right direction and maturity state that would boom with Raxx/Ace and Vice-versa.
Do you think it would be worth it from your side?

@lpil
Copy link

lpil commented Nov 5, 2019

Personally I'd love to see Ace in Gleam or Erlang so I can use it in Gleam projects without the Elixir dependency. 😁

@CrowdHailer
Copy link
Owner

I'm probably not able to do this myself at the moment. I would however love to help someone who wants to try and do it.

Thinking about it some more, I would potentially go for writing Ace in erlang and Raxx in Gleam.
Get a typed interface but a server that can be used anywhere in the bean ecosystem.
Also, if I remember correctly @lpil, gleam doesn't yet help much with spawning and send/receive which is a lot of the Ace code.

@lpil
Copy link

lpil commented Nov 6, 2019

Yes that's right. I think that may be the best approach for where we are now.

@CrowdHailer
Copy link
Owner

Maybe I should submit a talk proposal then it would have to be done.

@lpil
Copy link

lpil commented Nov 6, 2019

I've previously had some success decompiling Elixir beam files into Erlang. It's a bit ugly and you need to replace all the calls to Elixir modules but it does the trick!

@CrowdHailer
Copy link
Owner

Forgot about this issue.

Raxx replacement is mostly handled by https://hexdocs.pm/gleam_http/, There is a cowboy adapter for gleam_http that would work as an ace substitute.

For a Gleam Server I started work on Lean https://github.com/midas-framework/midas/tree/master/src/midas/lean

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants