Re: Phil meet y-devel; y-devel meet Phil

Andrew Suffield <[email protected]>
Newsgroups gmane.comp.graphics.y.devel
Message-ID <[email protected]>
On Sun, Jul 18, 2004 at 11:59:50AM +0100, [email protected] 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
 : :' :  http://www.debian.org/ |
 `. `'                          |
   `-             -><-          |
signature.asc (application/pgp-signature, 189 B)
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFA+ugslpK98RSteX8RArt8AJ4q8jGwg8UOAAMfFbdGONDNx2pgVQCfbFUR
bQj07Wgk7Lw5WkC1kz2XrZU=
=5/9D
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.