Hi all,

I've pushed a large set of patches which generalize and replace
float-arrays with a new set of array types for every C primitive type.
They are defined in sub-vocabularies of the specialized-arrays
vocabulary. There are also direct specialized arrays for accessing
arbitrary memory in specialized-arrays.direct, and
specialized-vectors, which are resizable, in specialized-vectors.

These changes obsolete the old >c-*-array and c-*-array> words, as
well as the *-nth and set-*-nth words, in the alien.c-types
vocabulary. The old way was to create a byte array of ints from a
Factor sequence was with the >c-int-array word; you'd access the
elements with int-nth and set-int-nth. This made it hard to write
generic code and it wasn't type safe either. It was really just a
hold-over from the days before Factor even had generic sequences, so
this crap needed to go away at some point.

Unfortunately, code that uses the old alien array words will need to
be updated. I've updated all usages in basis/ and most in extra/, but
some of the changes required are non-trivial, and I didn't understand
all of the code completely. I don't want to delay binary builds for a
long time while code is updated -- we just went almost two weeks
without binaries until two days ago -- so I opted to move a bunch of
modules to unmaintained instead.

The main culprit is extra/opengl. This contains some non-basis OpenGL
code for features such as shaders, as well as assorted utilities, like
the demo-support vocab. The code looks really tricky and I think it
can be cleaned up a lot.

Vocabularies which depend on
extra/opengl/{shaders,demo-support,framebuffers}, among them boids,
bunny, cfdg, nehe, are also temporarily in unmaintained now, but once
extra/opengl is updated they can be moved back because they have no
dependencies on the old alien array words in themselves. In
particular, boids and cfdg only appear to use a couple of words from
extra/opengl/demo-support, so perhaps demo-support could be split up.

Slava

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Factor-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/factor-talk

Reply via email to