Deutsch   English   Français   Italiano  
<vjtu57$26m9m$2@dont-email.me>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: David Brown <david.brown@hesbynett.no>
Newsgroups: comp.lang.c++
Subject: Re: 'Graphics' of libwy
Date: Wed, 18 Dec 2024 08:38:15 +0100
Organization: A noiseless patient Spider
Lines: 29
Message-ID: <vjtu57$26m9m$2@dont-email.me>
References: <4ffeda4ce7116f70754bcfcaee87cb729081fac3.camel@gmail.com>
 <vjqhau$1ceif$1@dont-email.me> <vjs2do$1p3ce$1@dont-email.me>
 <vjs7a7$1qa1n$1@dont-email.me> <vjs8uq$1qgh4$1@dont-email.me>
 <vjsa9f$1qkc5$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Date: Wed, 18 Dec 2024 08:38:15 +0100 (CET)
Injection-Info: dont-email.me; posting-host="d60357c14df3531c321ff0882880aedd";
	logging-data="2316598"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX19WKIrWkrUSbbITwE4H54rm2EdeveqED7A="
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101
 Thunderbird/102.11.0
Cancel-Lock: sha1:rx/PbJwFncPy7lnXWLLCM/Bx52k=
In-Reply-To: <vjsa9f$1qkc5$1@dont-email.me>
Content-Language: en-GB

On 17/12/2024 17:53, Paavo Helde wrote:
> On 17.12.2024 18:30, David Brown wrote:
>>
>> I think if there is ever going to be a standard gui library for C++, 
>> it will be written specially for the purpose.  That has some big 
>> advantages - if the designers decide they need extra language features 
>> for signals and slots, for example, then those can be added to the 
>> language rather than using an external tool.
> 
> For curiosity I looked at the https://neogfx.org page. Among other 
> things it says: "C++ lambdas have made traditional signals and slots 
> redundant".
> 
> It also promises "modern C++20 design" and "no reliance on macro-based 
> code generation".
> 
> NeoGFX itself has a too restrictive license (GPL), but at least it 
> suggests that C++ nowadays is expressive enough to actually allow for 
> some kind of self-contained and concise GUI library.
> 
> 

I haven't looked at NeoGFX in any detail - a one-person GPL'ed PC gui 
library is not something I would find useful for my work, for a good 
many reasons.  (But good luck to the developer anyway.)

Certainly lambdas can significantly simplify a lot of event-style 
programming.