On Wed, Jan 24, 2007 at 11:22:48AM -0700, S Mattison wrote:
> On 1/22/07, Peter Amstutz <[EMAIL PROTECTED]> wrote:
> > Alternately we could also have a "blob" type for this case.
> 
> I'm a big fan of the "Blob" type. I do a lot of SQL database work. ;)

Well, the goal is to avoid blobs as much as possible, in favor of 
breaking out data into separate, meaningful fields whenever it makes 
sense.  That said, stream-encoded data (particularly compressed formats) 
does often need to be treated as an opaque blob.  However, in the 
context of the original discussion the current design has a "uint8" 
type, so the function of blobs is filled by using an array of unsigned 
bytes.  Only if we don't have unsigned integers is a "blob" type needed.  
Although in that case you *still* need to figure out an appropriate 
mapping of your blob type into the target language.

> Have you looked at the 'game' called Colobot? Their "3d bot
> programming language" has a data-structure called "Point", for
> positions in 3d space.
> http://www.epsitec.ch/colobot/program/prog050.txt

Um.  How is a "point" different from a normal x,y,z vector?

-- 
[   Peter Amstutz  ][ [EMAIL PROTECTED] ][ [EMAIL PROTECTED] ]
[Lead Programmer][Interreality Project][Virtual Reality for the Internet]
[ VOS: Next Generation Internet Communication][ http://interreality.org ]
[ http://interreality.org/~tetron ][ pgpkey:  pgpkeys.mit.edu  18C21DF7 ]

Attachment: signature.asc
Description: Digital signature

_______________________________________________
vos-d mailing list
vos-d@interreality.org
http://www.interreality.org/cgi-bin/mailman/listinfo/vos-d

Reply via email to