[erlang-questions] GUI development with Erlang

Zachary Kessin zkessin@REDACTED
Thu Dec 7 15:32:36 CET 2017


I was thinking of something like Electron https://electronjs.org/ with an
Erlang backend.

Mind I have no idea how to actually build that

Zach
ᐧ

On Thu, Dec 7, 2017 at 2:50 PM, Joe Armstrong <erlang@REDACTED> wrote:

> If you want something that just works and is reasonably simple to implement
> Browser based GUI's are pretty good.
>
> The combination of web sockets + SVG/Canavas/DOM manipulation in JS
> is pretty easy to setup and loads of people understand JS/Browser things.
>
> Stand-alone outside the browser is tricky.
>
> TCL/Tk is really easy to get going and interface (yes it's old but works
> well)
>
> Java Swing is what it is - and if you're good at Java might be an
> alternative
> but you'd have to interface it to Erlang.
>
> QT is brilliant but you'd need to write the GUI in C++ and interface it to
> Erlang
>
> WxWidgets is actually pretty good but has a steep learning curve (a cliff)
> -
> I did actually manage to build some interfaces with it and concluded that
> it was pretty good but that it needed a *lot* of examples and getting
> started
> tutorials.
>
> Cheers
>
> /Joe
>
>
> On Wed, Dec 6, 2017 at 12:43 PM, Alan Gingras <alangingras@REDACTED>
> wrote:
>
>> 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.
>>
>>
>> Alan
>>
>> On December 6, 2017 at 3:04 AM Zachary Kessin <zkessin@REDACTED> wrote:
>>
>> 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).
>>
>> 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.
>>
>> Zach
>>>>
>> On Tue, Dec 5, 2017 at 10:13 AM, Sergej Jurečko <sergej.jurecko@REDACTED>
>> wrote:
>>
>> What we did when we wanted to ship a GUI app with Erlang was running erl
>> in the background and communicate over stdin/stdout.
>>
>> Regards,
>> Sergej
>>
>>
>> On 5 Dec 2017, at 09:07, Alex S. <alex0player@REDACTED> wrote:
>>
>> 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.
>>
>> 2017-12-03 22:43 GMT+03:00 Alan Gingras <alangingras@REDACTED>:
>>
>> 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 (http://www.mono-project.com/d
>> ocs/gui/winforms/).  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.
>>
>>
>>
>> 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.
>>
>>
>>
>> Thanks.
>>
>> Alan
>>
>> _______________________________________________
>> erlang-questions mailing list
>> erlang-questions@REDACTED
>> http://erlang.org/mailman/listinfo/erlang-questions
>>
>>
>> _______________________________________________
>> erlang-questions mailing list
>> erlang-questions@REDACTED
>> http://erlang.org/mailman/listinfo/erlang-questions
>>
>>
>>
>> _______________________________________________
>> erlang-questions mailing list
>> erlang-questions@REDACTED
>> http://erlang.org/mailman/listinfo/erlang-questions
>>
>>
>>
>>
>> --
>> Zach Kessin
>> Reduce project risk with training in Elm For web teams
>> Skype: zachkessin
>> +972 54 234 3956 <+972%2054-234-3956> / +44 203 734 9790
>> <+44%2020%203734%209790> / +1 617 778 7213 <(617)%20778-7213>
>>
>> _______________________________________________
>> erlang-questions mailing list
>> erlang-questions@REDACTED
>> http://erlang.org/mailman/listinfo/erlang-questions
>>
>>
>> _______________________________________________
>> erlang-questions mailing list
>> erlang-questions@REDACTED
>> http://erlang.org/mailman/listinfo/erlang-questions
>>
>>
>


-- 
Zach Kessin
Reduce project risk with training in Elm For web teams
Skype: zachkessin
+972 54 234 3956 / +44 203 734 9790 / +1 617 778 7213
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://erlang.org/pipermail/erlang-questions/attachments/20171207/54c38c90/attachment.htm>


More information about the erlang-questions mailing list