wittjosiah

wittjosiah

Has anyone tried to create an Electron-like library using Elixir instead of Node?

Just wondering if anyone had explored the possibility of creating desktop applications with Elixir. I’ve seen the Scenic library, which looks very impressive, but seems more targeted to embedded devices despite being able to build for desktop as well. I imagine you could still write some quite nice desktop applications with Elixir using something like Phoenix LiveView though. If such a project exists or any experimentation around that idea, I’d be interested to check it out!

Most Liked

LostKobrakai

LostKobrakai

This is not easy with the beam, as compiled code is not very portable between different target systems/architectures/OSs - if you include the erlang runtime as well as when you install the runtime on the clients machine. This has been discussed quite a few times here in the context of building releases or not. There are afaik options for cross compilation, though, but it seems it would include a lot of upfront work to get only that part running.

Last Post!

wittjosiah

wittjosiah

Makes sense, I imagine there would be a lot of work to get a framework like running. Was mostly just curious if anyone had explored it yet since I certainly don’t have the knowledge required right now :sweat_smile:.

Sounds like this might be something worth exploring more once releases are sorted through a bit more though!

Where Next?

Popular in Questions Top

New
Emily
I have VueJS GUIs with the project generated using Webpack. I have Elixir modules that will need to be used by the VueJS GUIs. I forese...
New
jay1
Why is it that the mnesia database isn’t the most preferred database for use in Elixir/Phoenix?
New
greenz1
I have a phoenix application from which a user can download multiple(5-6) files of size 1MB. I couldn’t find anything related to sending ...
New
belgoros
I’m not a pro in using Regex and can’t figure out why the following behaviour happens, especially if we take into account the difference ...
New
bsollish-terakeet
Credo is smart enough to check for (something like) this: assert length(the_list) == 0 with this response: Checking if an enum is empt...
New
Harrisonl
We have an ECS cluster with 4 services, where each task joins a single cluster, via discovery ECS discovery service. Currently when I de...
New

Other popular topics Top

Brian
What is the proper way to load a module from a file in to IEX? In the python world, doing something like this pretty standard: from ....
New
dokuzbir
I want to highlight html closing tags when i click a html tag. That works in .html files but doesnt work for html.eex templates. How can...
New
Darmani72
If I have a post route which an argument: post /my_post_route/:my_param1, MyController.my_post_handler How would get the post params ...
New
bsollish-terakeet
Credo is smart enough to check for (something like) this: assert length(the_list) == 0 with this response: Checking if an enum is empt...
New
shijith.k
I am trying to start a new phoenix project with elixir 1.9, but mix phx.new does not work. It says that ** (Mix) The task "phx.new" could...
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

We're in Beta

About us Mission Statement