[Xorg] Server side widgets

Roland Mainz roland.mainz at nrubsig.org
Sun Jul 11 11:31:42 PDT 2004

Ely Levy 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?

I doubt this will be fun for the application developers. Just think
about issues like IME, Accessibility etc. IMO something more RISC-like
may be better... much better.

What about allowing JAVA applications run within the Xserver ? The JVM
can run more than one language (see
http://flp.cs.tu-berlin.de/~tolk/vmlanguages.html/) and there are
JAVA-bindings for X11 (see http://sourceforge.net/projects/escher/) ...
we would only need an API that X11 applications can talk to the JVM
(rules: No one comes up with the term "IDL". FORBIDDEN! xx@@@!!!).

> > > 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:)


> > > 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

... but when it happens all hell break loose. Think about AmigaOS -
which had no memory protection etc. 98% of the time everying was fine -
but when one application went mad then the whole OS was screwed.



  __ .  . __
 (o.\ \/ /.o) roland.mainz at nrubsig.org
  \__\/\/__/  MPEG specialist, C&&JAVA&&Sun&&Unix programmer
  /O /==\ O\  TEL +49 641 7950090
 (;O/ \/ \O;)

More information about the xorg mailing list