<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Ffi on PlumePHP</title><link>https://plumephp.com/tags/ffi/</link><description>Recent content in Ffi on PlumePHP</description><generator>Hugo</generator><language>zh-CN</language><lastBuildDate>Sun, 15 Jun 2025 17:00:00 +0800</lastBuildDate><atom:link href="https://plumephp.com/tags/ffi/index.xml" rel="self" type="application/rss+xml"/><item><title>LuaJIT FFI外部函数接口详解</title><link>https://plumephp.com/lua-ffi-foreign-function-interface/</link><pubDate>Sun, 15 Jun 2025 17:00:00 +0800</pubDate><guid>https://plumephp.com/lua-ffi-foreign-function-interface/</guid><description>&lt;h2 id="ffi-概述"&gt;FFI 概述&lt;/h2&gt;
&lt;p&gt;LuaJIT FFI（Foreign Function Interface）库允许 Lua 代码直接调用 C 函数和使用 C 数据结构，无需编写传统的 Lua C 扩展。相比 Lua 原生 C API，FFI 提供了更简洁的接口和更好的性能（JIT 编译器可以内联 FFI 调用）。&lt;/p&gt;</description></item></channel></rss>