> On Monday, March 30, 2020 at 2:05:51 PM UTC+5:30, Rahul Sharma wrote: > > Hello > > > > I am interested to see that while making a deployable elixir release, the > > release system can bundle in the dynamically linked binaries like openssl > > Would that amount to the same effort on the elixir team's end?
If your erts (erlang runtime, aka BEAM) is built with static libraries, on a platform that supports this, then yes this is possible, but I don't think this is the Elixir team's main focus. > > It would be great to be able to create desktop apps(non gui) using elixir Yes it would. On Mon, 30 Mar 2020, at 09:07, Rahul Sharma wrote: > P.S. Is it possible to provide a gist of how to do the compilation with > the dynamic linking replaced with static ones. If you're comfortable with C/C++ and ok building from sources, then it's entirely possible to build Erlang/OTP from source, with statically compiled OpenSSL & zlib. http://erlang.org/doc/installation_guide/INSTALL.html IIRC you can hypothetically embed any NIFs you like using --enable-static-nifs but it's been a while since I tried it. Once you have that working, you could then drop your elixir .beam files in on top. Personally, given you're just getting started, I'd leave this for later -- this will either be a Great Adventure Where you Learn A Lot or a Horrible Nightmare :-) A+ Dave -- You received this message because you are subscribed to the Google Groups "elixir-lang-core" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/elixir-lang-core/c0489426-b696-497a-a440-4eda61c1be1a%40www.fastmail.com.
