What we can do is have all the libraries carefully examined and merged into a new one
Sir,I am a die-hard c++ fan. I have noticed that languages like Java and C# have a built-in GUI libraries.
On 12 October 2016 at 13:50, Victor Dyachenko
<victor.d...@gmail.com> wrote:
> For C++ we have at least Qt and wxWigets. Why do we need to put them into
I don't recall anyone suggesting putting Qt or wxWidgets into the standard.
> Standard? To have big deprecated parts in the Standard in the future?
Why would such deprecation be necessary?
I just wanted to say that one can write portable GUI today using C++ without having "C++ standard library".
> Standard? To have big deprecated parts in the Standard in the future?
Why would such deprecation be necessary?Why std::auto_ptr, std::strstream et al were deprecated? Because today we have better solutions. GUI and GUI libraries are evolving. Imagine MFC mid-90's vintage being the part of Standard. GUI system is a very sophisticated thing. Much more complex than vector class or sorting algorithm.
But if your view is that it's better to have
nothing than to have something
in the standard library, I doubt I'm going to agree with that view.
For to have a gui is needled a real world naming convention, and a fully integration with Modern C++.And a new C++ standardy library is needled, to be consistent, robust, simple to learn.....
Cairo HW-accelerates that part, so why wouldn't this library they are
proposing, since it's based
on Cairo?
> how "C++" UIs are transitioning to doing everything in HTML5, QML, XAML, or
> so on with barely any C++ even in the application UI code.
Ah, yes, thus creating UIs that are bad both in performance and in quality as
far as bugs go.
What C++ needs is a modern GUI library, standard or not,
and such declarative UIs based on languages with next to no type checking
aren't the solution.
--
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-pr...@isocpp.org.
To view this discussion on the web visit https://groups.google.com/a/isocpp.org/d/msgid/std-proposals/2050507.DOLSdCVWf1%40tjmaciei-mobl1.
On Wed, Oct 12, 2016 at 9:45 PM, Ville Voutilainen <ville.vo...@gmail.com> wrote:
> how "C++" UIs are transitioning to doing everything in HTML5, QML, XAML, or
> so on with barely any C++ even in the application UI code.
Ah, yes, thus creating UIs that are bad both in performance and in quality as
far as bugs go.+1! Personally, give me programmatic/procedural control of the GUI any day. XML et al won't cut it most of the time, for various reasons.
On 12 October 2016 at 13:50, Victor Dyachenko
<victor.d...@gmail.com> wrote:
> For C++ we have at least Qt and wxWigets. Why do we need to put them into
I don't recall anyone suggesting putting Qt or wxWidgets into the standard.
> Standard? To have big deprecated parts in the Standard in the future?
Why would such deprecation be necessary?
Just to put more oil on fire.
GUI imply existing of next libraries:
- image-vector manipulation,
- image-raster manipulation,
- retrieving user action from mouse/keyboard/trackball/joystick/touch-screen/...
- Styles ( AKA skinning ) ( possibly/greatly imply XML library )First two of them are already mentioned as 2D libraries.
I think that we can put more and more items on above list.
So real question is: What libraries we need to implement ( add to standard ) before creating standard GUI?
On Thu, Oct 13, 2016 at 10:36 AM, Thiago Macieira <thi...@macieira.org> wrote:
Em quinta-feira, 13 de outubro de 2016, às 09:22:05 CEST, D. B. escreveu:
> Yeah, I call it gtkmm. ;-) It has a solid foundation, is adopting modern
> C++ at a rapid pace, and - excuse the cliche - just works. Plus, markup
> semantics are available for those who want it. And it's only going to get
> more modern with GTK+ 4 having just branched to development.
>
> (Shame how most of the internet tries to present GTK+ et al don't exist,
> then. gtkmm especially! I know it's not got a 'real' C++ base, but the key
> thing is it works, and very well.)
We're going off-topic here... we can continue off-list if you want.
The problem with GTK+ and gtkmm is the same as the problem with QtWidgets and
that which I talked about before: right now, all of them are imperative
programming.
I know GTK+ developers are willing to break with the past, sacrificing their
existing user-base, in order to improve their functionality and API. So it's
possible they'll transform their API so that it becomes declarative/retained-
mode. It remains to be seen.
Either way, GTK+/gtkmm is not a good foundation today, any more than Cairo is
(GTK+ 2 and 3 use Cairo).
--
Thiago Macieira - thiago (AT) macieira.info - thiago (AT) kde.org
Software Architect - Intel Open Source Technology Center
--
You received this message because you are subscribed to the Google Groups "ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an email to std-proposal...@isocpp.org.
To post to this group, send email to std-pr...@isocpp.org.
On 12 October 2016 at 14:05, Victor Dyachenko
<victor.d...@gmail.com> wrote:
>> I don't recall anyone suggesting putting Qt or wxWidgets into the
>> standard.
>
> I just wanted to say that one can write portable GUI today using C++ without
> having "C++ standard library".
One can write a whole lot of things without using the standard library
for that. The issue
there is that such solutions are less portable than they would be as
standard features,
and the availability is another issue.
>> > Standard? To have big deprecated parts in the Standard in the future?
>> Why would such deprecation be necessary?
> Why std::auto_ptr, std::strstream et al were deprecated? Because today we
> have better solutions. GUI and GUI libraries are evolving. Imagine MFC
GUI libraries, and especially their APIs, don't seem to evolve nearly
as fast as some
people like to think. But if your view is that it's better to have
nothing than to have something
in the standard library, I doubt I'm going to agree with that view.
> mid-90's vintage being the part of Standard. GUI system is a very
> sophisticated thing. Much more complex than vector class or sorting
> algorithm.
Yeah, which is actually a fair reason to have a standardized GUI
library or to have standardized
facilities that help GUI programming.
We're going off-topic here... we can continue off-list if you want.
The problem with GTK+ and gtkmm is the same as the problem with QtWidgets and
that which I talked about before: right now, all of them are imperative
programming.
I know GTK+ developers are willing to break with the past, sacrificing their
existing user-base, in order to improve their functionality and API. So it's
possible they'll transform their API so that it becomes declarative/retained-
mode. It remains to be seen.
Either way, GTK+/gtkmm is not a good foundation today, any more than Cairo is
(GTK+ 2 and 3 use Cairo).
In 2010, after investigating Cairo, we investigated what Clutter does (COGL),
and redesigned everything. The product was that is the core of the QtQuick
module: the scene graph. That was first released in Qt 5.0 -- it is, quite in
fact, one of the two reasons why we switched from 4.x to 5.x.
So if you want a good API to base on for graphics, look into that. You can
skip the QML bits, just the core scene graph is fine.