Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Lisp

Name: Anonymous 2014-05-18 16:14

Is there a lisp with manual memory management? I.e. with the ability to choose between pass-by-value and pass-by-ref, to free and allocate memory, to choose what gets allocated on heap, stack, registers, to choose the memory layout of structs, etc?

Name: Anonymous 2014-05-18 17:49

>>3
You can call c from lisp.

http://www.sbcl.org/manual/index.html#Foreign-Function-Interface
http://common-lisp.net/project/cffi/ if you want it to be portable
http://www.cliki.net/FFI ffis for other languages

and you can inline C in chicken scheme. chicken scheme is the shit.
http://www.call-cc.org/

The interpreted schemes each have their own ffi but there isn't a library to unify them like cffi.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List