D language for Graphical User Interface and Cross Platform Development

rikki cattermole rikki at cattermole.co.nz
Wed Jun 24 14:25:07 UTC 2020


On 25/06/2020 2:09 AM, WebFreak001 wrote:
> On Tuesday, 23 June 2020 at 16:28:26 UTC, rikki cattermole wrote:
>> On 24/06/2020 12:17 AM, aberba wrote:
>>> On Tuesday, 23 June 2020 at 07:51:57 UTC, Suliman wrote:
>>>> There is also https://github.com/dayllenger/beamui
>>>
>>> Seriously,this is it.
>>>
>>> Its checks in just about everything would like a D GUI to have. 
>>> Especially CSS-like styling and slimming things down.
>>>
>>> Thanks for sharing
>>
>> There is no dedicated event loop or windowing library underpinning it.
>>
>> [...]
> 
> it's using SDL, X11 or Win32, waiting for messages using the platform 
> specific event loops there. Where did you get your assumption there from 
> or what do you mean if you don't mean these event loops but some other 
> event loop?

SDL is the only backend that is capable of you interacting with the 
event loop itself in a meaningful way.

However it wasn't designed for the majority of use cases, a very narrow 
set. While useful, it has significant limitations.

Being able to wait and get system windowing library events is always 
required and each backend is capable of doing that. But that doesn't 
mean it'll play nicely with threads, shared libraries (like X11) or 
other event loops.


More information about the Digitalmars-d mailing list