On Aug 3, 11 13:53, Lutger Blijdestijn wrote:
Jimmy Cao wrote:
2011/8/2 so<[email protected]>
On Tue, 02 Aug 2011 03:51:56 +0300, Brad Roberts<
[email protected]> wrote:
I don't think that any gui library belongs in phobos because there's
essentially no agreement about what cross-platform library is standard.
Pick any random 10 gui developers about what library they used (assuming
they do anything cross-platform) and you'll get more than 1 answer. I'd
be shocked if you get a clear enough majority to suggest 1 that'd make a
big set of people happy.
Sorry, the gui library landscape just doesn't approach being obvious
enough to be in the standard library.
My 2 cents,
Brad
I agree, GUIs (and other huge libraries that everyone has their own
favorite) don't belong standard library. Other languages get away with it
because they are either platform themselves or support only one platform.
Another reason not to include them to the standard library, remember
phobos has rules (we might need to change many things).
But if we have something small, simple and cross-platform somewhere, why
not!
If a GUI library were included in Phobos, that would make D a much better
competitor against C#. That's why I hope such an inclusion would be
possible in the future. I see why it might not be possible, though.
I really doubt that. You don't get to really compete with C# until D runs on
.NET and perhaps even until microsoft adopts it. I don't think a standard
gui lib will make any difference.
There was a D.net (which seems no longer updated), and when D runs on
.NET, the language can use all .NET libraries like WinForms and WPF
immediately, and there's no need to have another GUI lib.
(And why D needs to compete against C#?)