3 ms·
In Guile, because it lacks an optimizing native code compiler, they write C extensions just to get their code to perform acceptably. In Common Lisp the only rea
by oalae5niMiel7qu 6y ago
In Guile, because it lacks an optimizing native code compiler, they write C extensions just to get their code to perform acceptably. In Common Lisp the only reason you'd use CFFI is if you needed to call some code that was written in C.
- civodul 6y agoThat's not quite true anymore: Guile 3.0 has an optimizing compiler and a JIT and it performs pretty well. See for instance: https://wingolog.org/archives/2019/06/26/fibs-lies-and-benchmarks https://wingolog.org/archives/2019/06/26/fibs-lies-and-bench... Nowadays most Guile users write exclusively Scheme code, resorting to the FFI for code reuse rather than for performance reasons.