[PD] lua scripting for pd objects
fbar at footils.org
Sun Apr 13 16:38:34 CEST 2008
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
> 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
Frank Barknecht _ ______footils.org__
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 24880 bytes
Desc: not available
More information about the Pd-list