[Y-devel] Wiki: Porting window managers

James Harr james at grickle.org
Fri Feb 27 00:36:53 GMT 2004


> I've noticed that you seem to see a rather high priority for
> this X emulation layer.  In order to enrich the discussion, I'll
> offer another point of view:
> 
> X emulation is bad.  It should have low priority (in the hope
> that it will have become unnecessary befor it gets implemented),
> and in any case it can be done on the application layer, ie you'd
> have an Y app that pretends to be a X server.  In the unlikely case
> that the thing ever becomes a success, it could still be "modularised"
> and moved into the server.

Well, if we're going to want to get anyone to use Y, we have to provide back 
portability.

> Reasons:  It will pollute the developement tree with old X problems,
> as if there weren't enough new Y problems yet. (Only that these new
> problems can be solved for good, whereas those old problems are here
> to stay and can only be kludged around.)  It will pollute the desktop
> with X programs, and thus break the consistency of the user interface.
> If X apps run well in the emulation, people won't have an incentive
> to port them to Y.  If they have problems, people will think that it's
> Y's fault and go back to real X.

How will it polute Y? It will be in its own module, it will essentially be 
drawing on a canvas. Nothing in Y will be designed around X. I understand the 
poluting the consistency problem, but eventually people will start to write 
Y-native apps in the long run even if X apps polute it initially.

Face it, there aren't going to be enough quality Y applications out until 
people start using Y (IE complex mail readers). And Y isn't going to be used 
(by the average user) until there are applications that work in Y.

Yes it will break consistency in the interface and will be slower than native 
Y applications. These two factors (mainly speed) will eventually bring people 
over to start developing in Y. That and the fact that writing code in QT/GTK 
is also longer/more confusing than Y (imho).

Plus there is no way distributions will include Y unless there is some 
interoperability between X and Y. And if you can get a major distro to 
include Y as a desktop gui, that's where a lot of the user base will come 
from.

</counterpoint> :-)

Thanks
-- James Harr



More information about the Y-devel mailing list









2026 © www.Y-Windows.Org - All Rights Reserved