The Racket Foreign Interface

29 views
Skip to first unread message

Stephen De Gabrielle

unread,
Aug 14, 2023, 4:13:33 AM8/14/23
to Racket Users
# The Racket Foreign Interface

by Eli Barzilay

> The `ffi/unsafe` library enables the direct use of C-based APIs within Racket programs—without writing any new C code. From the Racket perspective, functions and data with a C-based API are foreign, hence the term foreign interface. Furthermore, since most APIs consist mostly of functions, the foreign interface is sometimes called a foreign function interface, abbreviated FFI.

Find out more at https://docs.racket-lang.org/foreign

Questions and discussion at the Racket community [Discourse](https://racket.discourse.group/invites/VxkBcXY7yL) or [Discord](https://discord.gg/6Zq8sH5)
Reply all
Reply to author
Forward
0 new messages