Re: request for ffi.* C APIs

  • From: Konstantin Olkhovskiy <lupus@xxxxxxxxxx>
  • To: luajit@xxxxxxxxxxxxx
  • Date: Mon, 9 Sep 2013 10:34:03 +0400

09.09.2013 10:22 пользователь "Cheng, Long" <long.x.cheng@xxxxxxxxx>
написал:
> We have lots of c++ code and also data structures based on STL
containers, I don't think we can move them to luajit. C(C++)/Lua hybrid
programming is inevitable.

C++ interface is not the best choice for interfacing with other languages.
Wrap it in C interface and it will start to work nearly transparently (and
fast) in luajit.

Other related posts: