From e985aeda84d8af63c4bfaa176c3312dfb2f7f230 Mon Sep 17 00:00:00 2001 From: Mike Pall Date: Thu, 20 Jan 2011 22:14:17 +0100 Subject: FFI: Add preliminary FFI documentation (still incomplete). --- doc/status.html | 26 ++++++++++++++------------ 1 file changed, 14 insertions(+), 12 deletions(-) (limited to 'doc/status.html') diff --git a/doc/status.html b/doc/status.html index c99371eb..5ce3bf4c 100644 --- a/doc/status.html +++ b/doc/status.html @@ -30,6 +30,17 @@ ul li { padding-bottom: 0.3em; }
  • Extensions
  • -The JIT compiler is not complete (yet) and falls back to the +The JIT compiler falls back to the interpreter in some cases. All of this works transparently, so unless you use -jv, you'll probably never notice (the interpreter is » quite fast, too). Here are the known issues: @@ -221,7 +232,7 @@ commented, many basic design decisions are in need of an explanation. The rather un-traditional compiler architecture and the many highly optimized data structures are a barrier for outside participation in the development. Alas, as I've repeatedly stated, I'm better at -writing code than papers and I'm not in need of any academical merits. +writing code than papers and I'm not in need of any academic merits. Someday I will find the time for it. :-)
  • @@ -232,15 +243,6 @@ price of a major redesign of the compiler. This would also pave the way for emitting predicated instructions, which is a prerequisite for efficient vectorization.
  • -
  • -Currently Lua is missing a standard library for access to structured -binary data and arrays/buffers holding low-level data types. -Allowing calls to arbitrary C functions (FFI) would obviate the -need to write manual bindings. A variety of Lua extension modules are -available, with different scope and capabilities. Alas, none of them has been -designed with a JIT compiler in mind. An FFI for LuaJIT is currently -in the design phase, but there's no ETA, yet. -

  • -- cgit v1.2.3-55-g6feb