Hallo,
cyrille henry hat gesagt: // cyrille henry wrote:

> >luagl is not as fast as C, but it's already much faster than using
> >lots of separators or double gemheads. 
> >
> >Regarding Gem-externals: Does anyone have a simple template project
> >how to write and compile a custom Gem external? This could be very
> >useful, but I'm a bit confused how to do this in a simple way.
> >
> 
> 
> use a gem object (like cube).
> search and replace "cube" by the name of your object in both the ccp and h 
> file.
> use this makefile (adjust the name of the file / src directory).
> it should compile.

Thanks a lot Cyrille. I made a little "benchmark" of a [linebuffer]
object in luagl vs. a quickly hacked C++ version (warning, very ugly
code!! Includes bugs I didn't care to fix for now.)

In this case, Lua does compare quite well with the C++ version on my
machine.

Ciao
-- 
 Frank Barknecht                                     _ ______footils.org__

Attachment: lua-c-gemtest.tgz
Description: GNU Unix tar archive

_______________________________________________
PD-list@iem.at mailing list
UNSUBSCRIBE and account-management -> 
http://lists.puredata.info/listinfo/pd-list

Reply via email to