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

Question: What are the steps to integrate a custom programming language? #432

@lolgab

Description

@lolgab

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.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions