[Y-devel] Phil meet y-devel; y-devel meet Phil
phil at www.y-windows.org phil at www.y-windows.org
Mon Jul 19 22:33:01 BST 2004
Quoting Augie Fackler <durin at sbcglobal.net>:
>
> On Jul 18, 2004, at 2:46 PM, Ulrik Mikaelsson wrote:
>
> > No matter how much you want Y to resemble/differ from Qt, I think we
> > all can
> > agree on one thing: The protocol MUST be flexible enough to create a
> > pure,
> > non-X11 based GTK2 backend, as well as a Qt4 backend. I am unsure
> > about just
> > how Qt4 will work concerning backends, according to Trolltech the
> > modularity
> > of Qt4 drawing have been completely redesigned and improved, but if
> > that
> > modularity extends to the Widget level is something left to see.
>
> I'd like to interject that working with languages other than C++ would
> be a good thing too. Objective-C comes to my mind first, but also C#
> and other weird languages. Obj-C code doesn't mix at all with C++
> unless you're on an Apple-modified gcc or you are using disgusting
> wrapper functions, as an example.
> I'm biased towards Obj-C over other languages, and hope that a native
> port of GNUstep will be possible. That's my long-term goal...
Just to state my viewpoint on this -- we're going to have to write the core
library in C. Nothing else has the platform coverage, or interoperability with
other languages. At the end of the day, if I can't port the library to every
platform I've used in the last year (off the top of my head that's z/OS, AIX,
Solaris, HP-UX, OS/400, Windows XP/2k/2k3, about 9 variants of Linux for intel,
3 Linuces for PowerPC, 2 for zSeries, and MacOS X) without needing to rewrite
huge tranches of it, then there's something wrong with the design.
The server is a different kettle of fish, it has far less need to be immediately
portable. But even so, this is low-level code -- we need a language with
fine-grained control over what's going on. Again that implies C.
Also, I like writing C. It's a simple language -- programming well is hard
enough without things like operator overloading ganging up on you...
Cheers,
Phil
More information about the Y-devel mailing list
2026 © www.Y-Windows.Org - All Rights Reserved