Skip to content

Instantly share code, notes, and snippets.

View ydewit's full-sized avatar

Yuri de Wit ydewit

  • Connecticut, USA
View GitHub Profile
@ydewit
ydewit / lean-ffi-article.md
Last active July 18, 2024 16:06
Understanding Lean's Foreign Function Interface (FFI)

Understanding Lean's Foreign Function Interface (FFI)

WARNING

Note on FFI Interface Stability The current Foreign Function Interface (FFI) in Lean 4 was primarily designed for internal use within the Lean compiler and runtime. As such, it should be considered unstable. The interface may undergo significant changes, refinements, and extensions in future versions of Lean. Developers using the FFI should be prepared for potential breaking changes and should closely follow Lean's development and release notes for updates on the FFI system.

Table of Contents