[erlang-questions] wXWidgets

Joe Armstrong erlang@REDACTED
Fri Oct 28 16:18:47 CEST 2016


Yup - actually I've been digging through my 10-15 year old TCL/TK stuff
which amazingly still works well - and is *way* simpler than wxWidgets

The canvas widget in HTML seems to be about the right level of
abstraction - actually all one needs is a widget that can draw things
using the SVG
path and group commands ...

/Joe



On Fri, Oct 28, 2016 at 2:30 PM, Fred Youhanaie <fly@REDACTED> wrote:
> Joe,
>
> If you enjoy the simplicity of Tcl/Tk, why not write the GUI part as a
> Tcl/Tk based erlang port?
>
> e.g. https://github.com/fredyouhanaie/portcl
>
> Cheers,
> f.
>
>
>
> On 28/10/16 12:53, Joe Armstrong wrote:
>>
>> Hello,
>>
>> Has anybody made a library of high level abstractions to be
>> used on-top of wxWidgets?
>>
>> The wxWidget library is very low level - and many of the manual pages
>> say "see external documentation" and just point into the C++
>> documentation.
>>
>> I took a quick peep at the canvas code in the demo/ex_canvas.erl
>> module. Code like this is horrible and I can imagine it to be a
>> rather straightford mapping of the equivalent code in C++.
>>
>> When programming Erlang what I absolutely don't want to do
>> is "pretend I'm writing in C++" then painfully translate this into Erlang.
>>
>> What I'd really like is the simplicity of TCL/TK or processing
>> for writing GUI software - or how about rebol?
>>
>> Ten minutes of playing with rebol (from www.rebol.com)
>> was enough to convince me that the current way GUIs are
>> built is a total mess.
>>
>> I get the impression that GUI programming is actually going
>> backwards - in the 80's there were systems build on languages
>> like TCL that did not need GByte downloads and complex IDEs.
>>
>> Nowadays  a Graphics Library can easily be a GByte of code -
>> so what went wrong - in the 1980's and entire OS with graphics
>> was a few tens of MBytes ....
>>
>> Cheers
>>
>> /Joe
>> _______________________________________________
>> erlang-questions mailing list
>> erlang-questions@REDACTED
>> http://erlang.org/mailman/listinfo/erlang-questions
>>
>



More information about the erlang-questions mailing list