<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<p>Electron is mainly an executable, which is a customized Chrome
browser. The UI itself is only as heavy as a typical
HTML/JavaScript page. See here for an overview:</p>
<p><a class="moz-txt-link-freetext" href="https://electronjs.org/docs/tutorial/quick-start">https://electronjs.org/docs/tutorial/quick-start</a></p>
<p>It's very similar to Erlang. In Erlang you have the VM and OTP.
Your application is lightweight but when you create a distribution
you have to package the VM, libraries and your application into
it. It's the same with Electron.</p>
<p>The Electron executable is loading and executing your
application, which is a web-based JavaScript application. That
application could connect to your running Erlang VM like any other
web-based application running locally in a browser.</p>
<p>GrzegorzJ<br>
</p>
<br>
<div class="moz-cite-prefix">On 07/12/2017 17:46, Thomas Elsgaard
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:CAKSYKuKxGpQEOC=G=dqKvcQS7egnpFj3OU-1GX9WF+x_eAi8tg@mail.gmail.com">Hello
World is 115 MB ;-)<br>
<div class="gmail_quote">
<div dir="ltr">tor. 7. dec. 2017 kl. 16.10 skrev Joe Armstrong
<<a href="mailto:erlang@gmail.com" moz-do-not-send="true">erlang@gmail.com</a>>:<br>
</div>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">How big are the applications built with
Electron?</div>
<div dir="ltr">
<div><br>
</div>
<div>/Joe<br>
<div><br>
</div>
<div><br>
</div>
</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Thu, Dec 7, 2017 at 3:32 PM,
Zachary Kessin <span dir="ltr"><<a
href="mailto:zkessin@gmail.com" target="_blank"
moz-do-not-send="true">zkessin@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">I was thinking of something like
Electron <a href="https://electronjs.org/"
target="_blank" moz-do-not-send="true">https://electronjs.org/</a>
with an Erlang backend.
<div><br>
</div>
<div>Mind I have no idea how to actually build that</div>
<div><br>
</div>
<div>Zach</div>
</div>
<div hspace="streak-pt-mark" style="max-height:1px"><img
alt=""
style="width:0px;max-height:0px;overflow:hidden"
src="https://mailfoogae.appspot.com/t?sender=aemtlc3NpbkBnbWFpbC5jb20%3D&type=zerocontent&guid=e51eb577-bfe3-45c9-897e-6855e2ebff69"
moz-do-not-send="true"><font size="1"
color="#ffffff">ᐧ</font></div>
<div class="m_-3961926365648977628HOEnZb">
<div class="m_-3961926365648977628h5">
<div class="gmail_extra"><br>
<div class="gmail_quote">On Thu, Dec 7, 2017 at
2:50 PM, Joe Armstrong <span dir="ltr"><<a
href="mailto:erlang@gmail.com"
target="_blank" moz-do-not-send="true">erlang@gmail.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0
0 0 .8ex;border-left:1px #ccc
solid;padding-left:1ex">
<div dir="ltr">If you want something that just
works and is reasonably simple to implement
<div>Browser based GUI's are pretty good.</div>
<div><br>
</div>
<div>The combination of web sockets +
SVG/Canavas/DOM manipulation in JS</div>
<div>is pretty easy to setup and loads of
people understand JS/Browser things.</div>
<div><br>
</div>
<div>Stand-alone outside the browser is
tricky.</div>
<div><br>
</div>
<div>TCL/Tk is really easy to get going and
interface (yes it's old but works well)</div>
<div><br>
</div>
<div>Java Swing is what it is - and if
you're good at Java might be an
alternative</div>
<div>but you'd have to interface it to
Erlang.</div>
<div><br>
</div>
<div>QT is brilliant but you'd need to write
the GUI in C++ and interface it to Erlang</div>
<div><br>
</div>
<div>WxWidgets is actually pretty good but
has a steep learning curve (a cliff) -</div>
<div>I did actually manage to build some
interfaces with it and concluded that</div>
<div>it was pretty good but that it needed a
*lot* of examples and getting started</div>
<div>tutorials.</div>
<div><br>
</div>
<div>Cheers</div>
<span
class="m_-3961926365648977628m_-3325487326787903320HOEnZb"><font
color="#888888">
<div><br>
</div>
<div>/Joe</div>
<div>
<div><br>
</div>
</div>
</font></span></div>
<div
class="m_-3961926365648977628m_-3325487326787903320HOEnZb">
<div
class="m_-3961926365648977628m_-3325487326787903320h5">
<div class="gmail_extra"><br>
<div class="gmail_quote">On Wed, Dec 6,
2017 at 12:43 PM, Alan Gingras <span
dir="ltr"><<a
href="mailto:alangingras@comcast.net"
target="_blank"
moz-do-not-send="true">alangingras@comcast.net</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="margin:0 0 0
.8ex;border-left:1px #ccc
solid;padding-left:1ex">
<div>
<p
style="font-size:12pt;font-family:helvetica,arial,sans-serif;color:rgb(51,51,51)">Thanks
for the suggestion. I've been
trying to keep the work totally
in Erlang. Partly because I am
trying to become better with
Erlang itself and partly out of
stubbornness. I had looked at
using a browser based GUI but
for what I'm doing I really
don't want (or need) to be too
complicated. One of the other
responses suggested using C# to
create the front end and
communicate with Erlang via
TCP. I had thought of that as
well, but decided to pursue
using pure Erlang but have
become stymied by wxErlang and
its difficulty. Most likely I
will end up pursing the C# (or
similar) front end.</p>
<span
class="m_-3961926365648977628m_-3325487326787903320m_3075486859570258726HOEnZb"><font
color="#888888">
<p
style="font-size:12pt;font-family:helvetica,arial,sans-serif;color:rgb(51,51,51)"><br>
</p>
<p
style="font-size:12pt;font-family:helvetica,arial,sans-serif;color:rgb(51,51,51)">Alan</p>
</font></span>
<div>
<div
class="m_-3961926365648977628m_-3325487326787903320m_3075486859570258726h5">
<blockquote type="cite">On
December 6, 2017 at 3:04 AM
Zachary Kessin <<a
href="mailto:zkessin@gmail.com"
target="_blank"
moz-do-not-send="true">zkessin@gmail.com</a>>
wrote:<br>
<br>
<div dir="ltr">I had thought
it would be an interesting
idea to build a GUI
toolset around Erlang such
that each widget on screen
was a process. That being
said I think to develop
such a toolkit would
probably cost on the order
of $1,000,000 (Total guess
on the number).
<div><br>
</div>
<div>If I had to develop a
desktop app with Erlang
I would probably use
something like Electra
to do a virtual browser
with an Elm Frontend.</div>
<div><br>
</div>
<div>Zach</div>
</div>
<div style="max-height:1px"><img
alt=""
style="width:0px;max-height:0px;overflow:hidden"
src="https://mailfoogae.appspot.com/t?sender=aemtlc3NpbkBnbWFpbC5jb20%3D&type=zerocontent&guid=bbf5f505-2549-4a38-a6fd-29b8e0f717f4"
moz-do-not-send="true"><span
style="color:#ffffff;font-size:xx-small">ᐧ</span></div>
<div
class="m_-3961926365648977628m_-3325487326787903320m_3075486859570258726m_6813984153880418754ox-20fc03f0dc-gmail_extra"><br>
<div
class="m_-3961926365648977628m_-3325487326787903320m_3075486859570258726m_6813984153880418754ox-20fc03f0dc-gmail_quote">On
Tue, Dec 5, 2017 at
10:13 AM, Sergej Jurečko
<<a
href="mailto:sergej.jurecko@gmail.com"
rel="noopener
noreferrer"
target="_blank"
moz-do-not-send="true">sergej.jurecko@gmail.com</a>>
wrote:<br>
<blockquote>
<div
style="word-wrap:break-word">What
we did when we
wanted to ship a GUI
app with Erlang was
running erl in the
background and
communicate over
stdin/stdout.
<div><br>
</div>
<div>Regards,</div>
<div>Sergej
<div>
<div
class="m_-3961926365648977628m_-3325487326787903320m_3075486859570258726m_6813984153880418754ox-20fc03f0dc-h5"><br>
<div><br>
<blockquote
type="cite">
<div>On 5 Dec
2017, at
09:07, Alex S.
<<a
href="mailto:alex0player@gmail.com"
rel="noopener
noreferrer"
target="_blank"
moz-do-not-send="true">alex0player@gmail.com</a>> wrote:</div>
<br
class="m_-3961926365648977628m_-3325487326787903320m_3075486859570258726m_6813984153880418754ox-20fc03f0dc-m_3839855025867719409Apple-interchange-newline">
<div>
<div dir="ltr">For
what it's
worth, you can
always
implement your
view and
controller in
something like
C#/F#, and
your model in
Erlang, and
hook them up
via TCP.
Alternatively,
there was an
Erlang-toF#
compiler
floating
around I
believe.
<div
class="m_-3961926365648977628m_-3325487326787903320m_3075486859570258726m_6813984153880418754ox-20fc03f0dc-gmail_extra"><br>
<div
class="m_-3961926365648977628m_-3325487326787903320m_3075486859570258726m_6813984153880418754ox-20fc03f0dc-gmail_quote">2017-12-03
22:43
GMT+03:00 Alan
Gingras <<a
href="mailto:alangingras@comcast.net" rel="noopener noreferrer"
target="_blank"
moz-do-not-send="true">alangingras@comcast.net</a>>:<br>
<blockquote>
<div>
<div
class="m_-3961926365648977628m_-3325487326787903320m_3075486859570258726m_6813984153880418754ox-20fc03f0dc-m_3839855025867719409m_-6646632643758852175WordSection1">
<p
class="m_-3961926365648977628m_-3325487326787903320m_3075486859570258726m_6813984153880418754ox-20fc03f0dc-MsoNormal">Has
anyone tried
using Windows
Forms (.net)
with Erlang?
This would be
in a similar
fashion to way
Python can use
Windows
Forms. On
Linux I
believe this
would be Mono
(<a
href="http://www.mono-project.com/docs/gui/winforms/"
rel="noopener
noreferrer"
target="_blank"
moz-do-not-send="true">http://www.mono-project.com/docs/gui/winforms/</a>).
Basically I
think I’m
looking for
something
similar to
Python’s
“import” and
C#’s “using”
features. If
no one has
anything, any
hints on how a
feature like
this might be
implemented.</p>
<p
class="m_-3961926365648977628m_-3325487326787903320m_3075486859570258726m_6813984153880418754ox-20fc03f0dc-MsoNormal"> </p>
<p
class="m_-3961926365648977628m_-3325487326787903320m_3075486859570258726m_6813984153880418754ox-20fc03f0dc-MsoNormal">Basically,
I have been
working on
implementing
genetic
programming in
Erlang and
would like to
provide a GUI
front end.
The WxWidgets
front end that
comes with
Erlang is
difficult at
best. I’ve
used several
different GUI
kits on *nix
and Windows
platforms but
WxWidgets
seems the most
difficult for
me. So I’m
trying to see
what else is
available. I
followed Joe
Armstrong’s
quest earlier
this year and
didn’t see
where he came
up with
anything.</p>
<p
class="m_-3961926365648977628m_-3325487326787903320m_3075486859570258726m_6813984153880418754ox-20fc03f0dc-MsoNormal"> </p>
<p
class="m_-3961926365648977628m_-3325487326787903320m_3075486859570258726m_6813984153880418754ox-20fc03f0dc-MsoNormal">Thanks.</p>
<p
class="m_-3961926365648977628m_-3325487326787903320m_3075486859570258726m_6813984153880418754ox-20fc03f0dc-MsoNormal">Alan</p>
</div>
</div>
<br>
_______________________________________________<br>
erlang-questions mailing list<br>
<a
href="mailto:erlang-questions@erlang.org"
rel="noopener
noreferrer"
target="_blank"
moz-do-not-send="true">erlang-questions@erlang.org</a><br>
<a
href="http://erlang.org/mailman/listinfo/erlang-questions"
rel="noopener
noreferrer"
target="_blank"
moz-do-not-send="true">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
_______________________________________________<br>
erlang-questions mailing list<br>
<a
href="mailto:erlang-questions@erlang.org"
rel="noopener
noreferrer"
target="_blank"
moz-do-not-send="true">erlang-questions@erlang.org</a><br>
<a
href="http://erlang.org/mailman/listinfo/erlang-questions"
rel="noopener
noreferrer"
target="_blank"
moz-do-not-send="true">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</div>
<br>
_______________________________________________<br>
erlang-questions
mailing list<br>
<a
href="mailto:erlang-questions@erlang.org"
target="_blank"
moz-do-not-send="true">erlang-questions@erlang.org</a><br>
<a
href="http://erlang.org/mailman/listinfo/erlang-questions"
rel="noopener
noreferrer"
target="_blank"
moz-do-not-send="true">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
<br>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div
class="m_-3961926365648977628m_-3325487326787903320m_3075486859570258726m_6813984153880418754ox-20fc03f0dc-gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div>Zach
Kessin</div>
<div><span
style="background-color:#ffffff"><span
style="color:#274e13">Reduce project risk with training in Elm For web
teams</span></span></div>
<div><span
style="font-size:12.8px">Skype:
<span
style="color:#274e13">zachkessin</span></span><br>
</div>
<div><span
style="font-size:12.8px"><a
href="tel:+972%2054-234-3956" value="+972542343956" target="_blank"
moz-do-not-send="true">+972
54 234 3956</a>
/ </span><span
style="font-size:12.8px"><a href="tel:+44%2020%203734%209790"
value="+442037349790"
target="_blank" moz-do-not-send="true">+44 203 734 9790</a> / </span><span
style="font-size:12.8px"><a href="tel:%28617%29%20778-7213"
value="+16177787213"
target="_blank" moz-do-not-send="true">+1 617 778 7213</a></span></div>
<div><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
_______________________________________________<br>
erlang-questions mailing
list<br>
<a
href="mailto:erlang-questions@erlang.org"
target="_blank"
moz-do-not-send="true">erlang-questions@erlang.org</a><br>
<a
href="http://erlang.org/mailman/listinfo/erlang-questions"
target="_blank"
moz-do-not-send="true">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</blockquote>
</div>
</div>
</div>
<br>
_______________________________________________<br>
erlang-questions mailing list<br>
<a
href="mailto:erlang-questions@erlang.org"
target="_blank"
moz-do-not-send="true">erlang-questions@erlang.org</a><br>
<a
href="http://erlang.org/mailman/listinfo/erlang-questions"
rel="noreferrer" target="_blank"
moz-do-not-send="true">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
<br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</blockquote>
</div>
<br>
<br clear="all">
<div><br>
</div>
-- <br>
<div
class="m_-3961926365648977628m_-3325487326787903320gmail_signature"
data-smartmail="gmail_signature">
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div dir="ltr">
<div>Zach Kessin</div>
<div><span
style="background-color:rgb(255,255,255)"><font
color="#274e13">Reduce
project risk with
training in Elm
For web teams</font></span></div>
<div><span
style="font-size:12.8px">Skype:
<font
color="#274e13">zachkessin</font></span><br>
</div>
<div><span
style="font-size:12.8px"><a
href="tel:+972%2054-234-3956" value="+972542343956" target="_blank"
moz-do-not-send="true">+972
54 234 3956</a> / </span><span
style="font-size:12.8px"><a href="tel:+44%2020%203734%209790"
value="+442037349790"
target="_blank"
moz-do-not-send="true">+44
203 734 9790</a>
/ </span><span
style="font-size:12.8px"><a
href="tel:%28617%29%20778-7213" value="+16177787213" target="_blank"
moz-do-not-send="true">+1
617 778 7213</a></span></div>
<div><br>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<br>
</div>
_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org" target="_blank"
moz-do-not-send="true">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions"
rel="noreferrer" target="_blank" moz-do-not-send="true">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</blockquote>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
erlang-questions mailing list
<a class="moz-txt-link-abbreviated" href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a>
<a class="moz-txt-link-freetext" href="http://erlang.org/mailman/listinfo/erlang-questions">http://erlang.org/mailman/listinfo/erlang-questions</a>
</pre>
</blockquote>
<br>
</body>
</html>