This repository was archived by the owner on Oct 8, 2025. It is now read-only.

Description
I would love to integrate Scala Native in nginx unit.
It:
- Supports C ABI for calling functions passing structs (only by pointer) and set callbacks
- Can't generate dynamic libraries
- Isn't thread-safe ( you can't have callbacks that allocate memory with the GC from other threads than the main thread )
Since it can't export dynamic languages I guess the only option is the External language module.
Is there any documentation of the process to integrate a new language?
What is the rough idea behind the external language module mode?
Is it possible to integrate such a language given the constraints I listed above?
Thank you very much if you want to answer.