Re: How about Gnuporhia - was PEU CVS

new topic     » goto parent     » topic index » view thread      » older message » newer message

Before Pete wrote Peu, I decided to take a crack at it. My program was ca=
lled=20
"Gnuphoria", on account that it would be released under GPL.

There were a lot of problems with Gnuphoria. Since sequences can move aro=
und=20
in memory, I used this arcane scheme of blocks which held the addresses. =
The=20
upper byte of the handle referred to the block the byte was stored in, an=
d=20
the lower byte was the index into the block.

Of course, all I really needed to do was allocate space in memory for a=20
structure that held the address of the sequence; something like:

   struct Seq {
      void *address; /* points to the structure */
      ...
   }

It just got worse from there. I got some basic stuff working - sequences,=
=20
simple control structures - but Pete's code far outstripped mine.

That was fine with me, since I was really hating C coding anyway. So I dr=
opped=20
my project. I can't recally why Pete eventually dropped Peu, though...

-- David Cuny

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu