3 May 2012 12:35
Callback from C
Robert Bebop <bebopviolin <at> gmail.com>
2012-05-03 10:35:29 GMT
2012-05-03 10:35:29 GMT
Hi all, Is it actually possible to callback from C with SBCL. According to the manual it's tricky but the CFFI manual claims that it's possible on some platforms with SBCL. I am a musician and enjoy messing around with audio DSP. I currently use SBCL on a GNU/Linux platform and have written a C wrapper for the JACK audio server. I am getting pretty good real-time performance with the current blocking method I am using (about 10 -15 ms latency) but it should improve if I can get the server to callback into LISP. I have written the FFI interface using SBCL's interface but if CFFI works I will recode to use it. Another question I have is whether there could be some unpleasant side effects of having a real-time thread callback into LISP. Thanks, Robert. ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
RSS Feed