[Y-devel] Fw: Somethoughts about Y)
Ulrik Mikaelsson rawler at rsn.bth.se
Mon Mar 8 06:43:46 GMT 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Monday 08 March 2004 00.39 skrev claude M:
> I already asked how the Y protocol would handle new widgets
> inserted trough modules into the server. The client who wishes to
> use this new widget should link againts a special version of libYc++
> (at leat it is so in the current implementation).
I completely agree that it is not a viable alternative for the client
application to upload a new plugin to the server. What if the client and
server is running on different operating systems, or even worse, different
CPU architectures? As long as Y doesn't plan to incorporate some kick-ass
bytecode language to support platform-independent plugins, it is NOT a good
solution. (And even if we overlook cross-platform issues, is anyone
particulary happy with dealing with the kind of versioning problems that
comes along with linking plugins for an arbitary server. And what about third
party implementations of Y? Should they have to build their server after the
same, potentially weak, model just to keep compability with the plugins?)
Plugins are a powerful concept, but it doesn't solve everything well. I think
Y should stick to using plugins for providing different means of graphical
output, human input, protocol carrier and so on...
> Client side widget means that whould be no protocol change
> when new widget are introduced. Which for me is the right thing.
> The argument opposed to this is GUI consistence. But I think
> there will ever be a widget missing in the server... And an
> application can need a special widget without wanting to be
> inconsistent with the rest of the desktop.
Can anyone say GIMP? Plain canvas surfaces will always be needed.
> For me the ideal windows server whould be the same as quartz
> compositor, but having the drawing client library (Quartz 2d) also
> making usage of accelerated hardware by using a Cairo+Libglx like
> approach.
As I think of it, the for me ideal display server is the one that is purely a
display server, using server-side widgets as much as possible, but still
supports fast direct drawing to canvases.
I think it would be a mistake to try to build a complete desktop environment
inside the server. I think Y would be wise to support some sever-side core
widgets, buttons, sliders, labels, menus windows, etc.
Server-side widgets will probably give a HUGE advantage in terms of
performance and latency, enabling users to run smaller applications even over
a 56kbit dialup connection without too much lag.
However, we cannot rely on server-side widgets to be enough for _EVERYTHING_.
Sooner or later some application WILL require directly drawing to a canvas,
and that day we'd better hope that the performance of the carrier protocol
can deal with it. (Even over a LAN, not just through a UNIX-socket)
Just my humble oppinion.
Regards
/ Ulrik
- --
New York-- to that tall skyline I come
Flyin' in from London to your door
New York-- lookin' down on Central Park
Where they say you should not wander after dark.
New York.
-- Simon and Garfunkle
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQFATBYl069SELtZwIkRAj/3AJ9lK+CxpRXqgWT80y4x9Meoz0yMkgCfZA95
k0Dvxh0XkH6rq1g2QlWGDQY=
=89sK
-----END PGP SIGNATURE-----
More information about the Y-devel mailing list
2026 © www.Y-Windows.Org - All Rights Reserved