Re: [Chicken-users] [Chicken-announce] [SECURITY] Incomplete fix for CVE-2012-6122 (select() fs_set buffer overrun)

2013-05-11 Thread Peter Bex
On Wed, May 08, 2013 at 08:18:21PM +0200, Peter Bex wrote: Recently, we fixed a problem related to the use of POSIX select(), which was assigned CVE-2012-6122. See http://lists.nongnu.org/archive/html/chicken-users/2012-06/msg00031.html for more details on the original bug. We fixed the

[Chicken-users] A couple of questions

2013-05-11 Thread Kooda
Hi, I’ve been working with Scheme for quite some time now, with various implementations, and I wanted to thank you for working on this wonderful one that is Chicken. I’m still pretty new to functional programming and I recently discovered the functional reactive programming style. I was

Re: [Chicken-users] A couple of questions

2013-05-11 Thread Brad Pitt
Hi  Clarify please what kind of grapchis programming, games, gui, simulation ? And what a platform? Maybe interesting for you : http://lush.sourceforge.net/  http://www.pawfal.org/fluxus/ Hi, I’ve been working with Scheme for quite some time now, with various implementations, and I wanted to

Re: [Chicken-users] A couple of questions

2013-05-11 Thread Kooda
On Sat, May 11, 2013 at 10:24:21PM +0400, Brad Pitt wrote: Hi  Clarify please what kind of grapchis programming, games, gui, simulation ? The main goal is a game engine. And what a platform? Currently it’s only under unix-like OS but it would be nice to distribute executables this way

Re: [Chicken-users] A couple of questions

2013-05-11 Thread Brad Pitt
Getting stanalone executable not a big deal, linking with extensions maybe litle bit tricky. http://wiki.call-cc.org/man/4/Deployment  http://wiki.call-cc.org/man/4/Extensions On windoz u can try something like boxedapp or filejoiner, this one pack all application files into single

Re: [Chicken-users] A couple of questions

2013-05-11 Thread Dan Leslie
Bare in mind that both lush and fluxus are FOSS, both GPL, so if you're planning on using it in a game engine that you'll be monetizing be certain that you're abiding by their licenses. Likely this means distributing full source. If that's not desirable to you, might I suggest the SDL egg

Re: [Chicken-users] A couple of questions

2013-05-11 Thread Kooda
On Sat, May 11, 2013 at 01:43:01PM -0700, Dan Leslie wrote: Bare in mind that both lush and fluxus are FOSS, both GPL, so if you're planning on using it in a game engine that you'll be monetizing be certain that you're abiding by their licenses. Likely this means distributing full source.

[Chicken-users] Thanks Chicken Scheme

2013-05-11 Thread Mathieu Desrochers
Many thanks for making it possible to write software in scheme. I just spent a few months hacking a web application handled by the Chicken Scheme runtime.Just posting a link to the project page in the hope of giving something back. http://mathieu-desrochers.github.io/Scheme-Experimentations/ In

Re: [Chicken-users] Thanks Chicken Scheme

2013-05-11 Thread Peter Bex
On Sat, May 11, 2013 at 05:03:24PM -0400, Mathieu Desrochers wrote: Many thanks for making it possible to write software in scheme. I just spent a few months hacking a web application handled by the Chicken Scheme runtime.Just posting a link to the project page in the hope of giving

[Chicken-users] Passing floats to and from foreign functions

2013-05-11 Thread pluijzer .
Hello everybody, I'm having trouble passing floating point numbers to and from foreign functions. This is what I'm doing: -- test.scm -- (require-extension easyffi) (print ((foreign-lambda float testGet))) ((foreign-lambda void testSet float) 4.0) (print ((foreign-lambda float testGet))) --

Re: [Chicken-users] Passing floats to and from foreign functions

2013-05-11 Thread John Cowan
pluijzer . scripsit: I'm having trouble passing floating point numbers to and from foreign functions. That is because Scheme inexact numbers correspond to C doubles, not C floats. There is no support in Chicken for C floats. -- John Cowan co...@ccil.org http://www.ccil.org/~cowan

Re: [Chicken-users] Passing floats to and from foreign functions

2013-05-11 Thread Jim Ursetto
Hi pluijzer ., You did not declare a prototype in test.scm (technically, test.c) for the functions in wrapper.c. I believe return values default to int if there is no prototype, and the float arg is promoted to double, but I'm not positive. Anyway, simply add the following to the top of