Am Sun, 26 May 2013 07:41:54 +0200 schrieb Stéphane Letz <l...@grame.fr>:
> > Le 26 mai 2013 à 00:14, Marc Joliet <mar...@gmx.de> a écrit : > > > Am Sat, 25 May 2013 08:59:58 +0200 > > schrieb Stéphane Letz <l...@grame.fr>: > > > > [...] > >>> Some obvious alternatives to the CFFI would be: > >>> > >>> - Cython, which is, to my understanding, not dynamic enough for what I > >>> wanted, > >>> but which can be used to wrap C++ code, so would have the advantage of not > >>> requiring FAUST2. > >>> > >>> - the FAUST2 LLVM backend + Unladen Swallow, which ties you to CPython, > >>> whereas > >>> the CFFI works (or at least will work) with various Python > >>> implementations. > >>> > >>> - Ctypes, which is dynamic, like the CFFI, but supposedly not as nice to > >>> use > >>> and slower. > > [...] > >> > >> Have you ever thought about using the *dynamic* Faust technology in this > >> application? That is libfaust + LLVM? > >> > >> Stéphane > > > > Hmmm, no, I hadn't, because 1.) I hadn't really heard of libfaust before > > outside > > of the Makefile and stupidly assumed it was an internal library (perhaps a > > more > > prominent mention should be made somewhere in the docs?), and 2.) I sort of > > took my first idea for an implementation and ran with it, just to get > > something > > working quickly. > > > > Now that you mentioned it, I have looked into it more and it looks like it > > won't > > change much, other than that I don't have to spawn a faust process anymore, > > i.e. > > > > dsp code -> faust2 -> C code -> CFFI -> Python object > > > > becomes > > > > dsp code -> libfaust -> C code -> CFFI -> Python object > > The idea would possibly be: > > dsp code -> libfaust -> LLVM IR -> CFFI (??) -> Python object [...] Hmmm... I'll have to research how best to do that, especially since I have no clue about LLVM. I did find out today that LLVM has a C API (LLVM-C), perhaps something can be done with that. I look into that in a few weeks (after exams). Until then what I have now works. -- Marc Joliet -- "People who think they know everything really annoy those of us who know we don't" - Bjarne Stroustrup
signature.asc
Description: PGP signature
------------------------------------------------------------------------------ Try New Relic Now & We'll Send You this Cool Shirt New Relic is the only SaaS-based application performance monitoring service that delivers powerful full stack analytics. Optimize and monitor your browser, app, & servers with just a few lines of code. Try New Relic and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_may
_______________________________________________ Faudiostream-users mailing list Faudiostream-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/faudiostream-users