#LiveBook is supporting Erlang... and it could support Gleam ;-)

1 messages · Page 1 of 1 (latest)

wise zephyr
keen night
#

Would be a lot more than just embedding it in Rustler

wise zephyr
#

yes, of course, it's not going to be as easy as that

#

I speak from ignorance, but after getting the compiler and lsp, maybe next step could be a BEAM embedded compiler 🙂

keen night
#

I think it would be an extreme amount of work for not much of a benefit

#

Being able to run the compiler inside the BEAM doesn't put you much closer to being able to implement livebook

stiff gull
#

Since spawnfest is coming up, could this be a nice project to pick? Hasn't anyone tried it and/or has ideas/comments on what's needed, if it's feasible etc...

keen night
#

I think this project would take many months to deliver

#

And I think it would involve a large redesign of the compiler to enable new expressions to be analysed and compiled in the context of some already evaluated state

#

Hmm or maybe the existing design could remain but a new API be inserted into the side of analyser that largely only uses the expression typer

stiff gull
#

Shoot, too bad 😅

exotic violet
#

is livebook like jupyter but for elixir?

keen night
#

Pretty much

#

It's better in some ways

#

The state in them is always reproducable as the cells can't be run out of order

floral salmon
#

Or maybe we could just wrap livebook sever

#

And I think we could cache the previously compiled code so we could run it before the current code to reach the proper state

keen night
#

A NIF isn’t necessarily, nope. Lots of ways to get Elixir and the compiler talking.