Support for Foreign Function Interface (FFI)
SnorlaxAssist opened this issue · 3 comments
SnorlaxAssist commented
A more powerful way to access libraries to make lune more extensible. Similar to node-ffi.
- Allow Lune to directly call functions defined in libraries. This will enable more complex and high-performance features.
- Security should be considered heavily on this solely because execution could be unknown, something like prompting the end user once to allow libraries being used in running scripts via
lune run
. - Some Use Cases
- High-performance computing tasks within Lune.
- Accessing system-level or third-party services.
- Communicating with the GPU in Lune.
- And more.
CompeyDev commented
This would be great to have as an alternative, considering the ETA for native modules is currently unknown. +1.