[Y-devel] Phil meet y-devel; y-devel meet Phil

Andrew Suffield asuffield at debian.org
Sun Jul 18 22:14:20 BST 2004


On Sun, Jul 18, 2004 at 11:59:50AM +0100, phil at www.y-windows.org wrote:
> As promised...
> 
> Quoting meself:
> 
> > Here are the thing I know I need/should/want to do, in no particular order:
> >
> > Make sure Y is 64-bit clean.
> 
> I should be able to get this done today.  It should be a case of looking through
> the code for "int" and "unsigned" and replacing them with int32_t, uint32_t,
> size_t, off_t, ptrdiff_t, etc as appropriate.

I've almost done this already, although a few still remain.

> > Implement a shared memory transport mechanism -- should give local apps a bit
> > of a speed boost.
> 
> I'm going to do this with shm_open/mmap rather than shmat/shmget.  It's just a
> wee bit easier to manage the namespace if you're working with strings rather
> than 32-bit ints.  I'll extend the network protocol to include a
> try-and-negotiate-shared-memory phase, so apps shouldn't know which one they're
> on.

mmap() is the right way to go, and you don't need to play namespace
games. I've built the protocol to make this easy to add, even if it's
quite evil; I can sketch out how to go about it if you're interested.

> > Port gvim.
> 
> So I can develop Y in Y.

There are a couple of tricky prerequisites for this. The nastiest one
is probably font handling. I think all the others are taken care of
now (although you'd have to work from my branch to get current YKB
support).

> > Work out the API for video playback.
> 
> This'll involve a nasty trawl through the xine-lib source to see what would be
> the easiest API to provide.

An Xv clone, I'd say. That's closest to what they want to use.

> > XFree86/X.Org driver stealing.
> 
> So I can use native Y without wasting my GeForce FX.

Their drivers suck. You will regret this. You have been warned.

Frankly I'd rather get hold of the hardware documentation and do it
from scratch.

> > GL support.
> 
> Shouldn't be too hard to rig up a pass-through for the SDL hosted versions.
> Doing it native will be trickier unless we've managed to nick X drivers.

Excuse me while I vomit. All the existing free GL implementations are
vile devilspawn. They're even worse than xfree86 drivers.

-- 
  .''`.  ** Debian GNU/Linux ** | Andrew Suffield
 : :' :  https://www.debian.org/ |
 `. `'                          |
   `-             -><-          |
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : https://www.y-windows.org/pipermail/y-devel/attachments/20040718/db4bc49c/attachment.bin


More information about the Y-devel mailing list









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