Chapter 2.18 --- Extra Credit

Write a Foreign Function Interface

"Geniuses and supergeniuses always make their own rules... they do not accept the monkey customs of their lessers."

Robert A. Heinlein, Friday

Revision Note: The intro text requires minor expansion, and there should be more exercises.

Extending on Chapter 2.16, we will now write our own Foreign Function Interface for the Oculus Rift SDK using CFFI. This particular use case poses some interesting challenges that will hopefully prove more generally useful to you in your career as a Lisp Hacker.

We will also be using this library in Chapters 3.6 and 3.7; so that should be a good motivation to see this through to the end!

Exercise 2.18.1


Exercise 2.18.2


Exercise 2.18.3

Even More CFFI

Exercise 2.18.4


Exercise 2.18.5


Exercise 2.18.6

The Oculus Rift SDK

Exercise 2.18.7

A Basic 3D World

results matching ""

    No results matching ""