#Gleam
1 messages · Page 1 of 1 (latest)
Hi,
Thank you for interesting in the SDK. ❤️ I didn't have a chance to try Gleam binding yet but I guess that they need to have Elixir compiler during compilation.
The other way is to port the core part to Erlang and writing a codegen for Gleam. With this ways Gleam developers don't need to have Elixir compiler on their machine.
I've do some experiment on porting core to Erlang at https://github.com/wingyplus/dagger/tree/elixir-dagger-core/sdk/elixir/dagger_core and do some refactoring on https://github.com/dagger/dagger/pull/6103 to see what the core part is. Feels free to discuss if you're interest. ^^
Cool - might take a look. Not really using elixir for anything, just have an interest in different languages - came across gleam today and it looked nice, the beam vm looks quite interesting
@kindred latch @lyric pike I have a small prototype demo of Dagger in Gleam here https://github.com/fluentci-io/daggerverse/blob/feat/gleam-sdk/gleam-sdk/sdk/src/gleam_dagger.gleam
Just see you posted in this channel after saw it in #1196419797206970450 message. 🙂
Discord is the easiest way to communicate over voice, video, and text. Chat, hang out, and stay close with your friends and communities.
I have an experimentation on extract the core part (graphql, engine, etc.) at https://github.com/wingyplus/dagger/tree/elixir-dagger-core/sdk/elixir/dagger_core. Currently support only the graphql http client and engine connection part (not including auto provisioning and cli bin mode). I believe pending tasks is to implement querybuilder and autoprovision. The gleam part can be reduced to just binding it with ffi (https://gleam.run/book/tour/external-functions.html) and the codegen. 🙂
Let me know what you thought.