[Xorg] Server side widgets

Ely Levy elylevy-xserver at cs.huji.ac.il
Sun Jul 11 10:56:54 PDT 2004


On Sun, 11 Jul 2004, Roland Mainz wrote:

> Ely Levy wrote:
> Think about remote X11: Client is a Cray SV1 (vector machine), server is
> Xorg server on Linux/x86... how to you want to run the C++ code of a
> Cray in the Xserver ? :)

Running a code at the server?
the xserver has the widget you just call it,
you don't pass code?

> > What the advantage of bytecode?
>
> Having a platform-independent, low-level language and a way to run a
> scheduler to allow fair CPU usage by all widgets regardless how the
> widget code was designed/written.

Yea, In the way you are thinking of, which is actually preety cool,
this would be a major advantage:)

> [snip]
> > Write them well?:)
> > actually i saw it happen in client side as well, making certain
> > clients go berserk and take all CPU,
> > so there isn't much diffrance IMOH.
>
> Sure, but there is always the way to "kill -9 ${pid_of_berserk_client}".
> You really do not want to kill the whole server just because one client
> got rabies.

Yea,
I guess you are right,
But still with well written code i don't think it would
happen too often

Ely




More information about the xorg mailing list