Lua state in shared memory: a proof of concept

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Lua state in shared memory: a proof of concept

Victor Krapivensky
Hello,

I have recently implemented a proof-of-concept of keeping Lua state
entirely in shared memory.  When built on Linux, it leverages some of
its features so that the amount of physical memory used can grow and
shrink dynamically.

Hopefully someone will find this interesting.

The code is located at

https://github.com/shdown/lua-shm-state-poc