awesome-repositories.com
Blog
awesome-repositories.com

Descubre los mejores repositorios open-source con nuestra búsqueda potenciada por IA.

ExplorarBúsquedas curadasAlternativas open-sourceSoftware autohospedableBlogMapa del sitio
ProyectoAcerca deCómo clasificamosPrensaServidor MCP
Aviso legalPrivacidadTérminos
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
Tencent avatar

Tencent/xLua

0
View on GitHub↗

XLua

xLua is a scripting bridge and C++ wrapper used to embed the Lua language into host applications. It facilitates bidirectional data exchange and function calls between scripts and the host environment.

The project includes a runtime patching tool for replacing application logic and fixing bugs without requiring a system restart. It features a coroutine orchestrator that wraps asynchronous operations into linear code and a script validator that verifies digital signatures to ensure code authenticity and integrity before execution.

To minimize memory overhead and garbage collection, the system supports passing custom structures and enums via direct memory layout mapping. It further provides mechanisms for static type mapping and the synchronization of asynchronous logic.

Búsqueda con IA

Explora más repositorios increíbles

Describe lo que necesitas en lenguaje sencillo: la IA clasifica miles de proyectos open-source curados por relevancia.

Start searching with AI

Features

  • Embedded Scripting Engines - Provides a comprehensive bridge for embedding the Lua scripting language into host applications for bidirectional data exchange.
  • GC Reduction Strategies - Supports passing custom structs and enums between the scripting engine and host environment to reduce garbage collection overhead.
  • Scripting and Interop - Serves as a bridge for embedding the Lua scripting language into applications to facilitate data exchange and function calls.
  • Direct Memory Data Transfer - Passes complex data structures via raw memory pointers to avoid expensive object allocation and garbage collection overhead.
  • Script-to-Native Type Mappings - Maps host-side types to Lua environments through a predefined registry to ensure consistent data representation.
  • C Function Bindings - Interfaces the host language with Lua using a low-level C bridge for bidirectional function calls and data exchange.
  • Language Wrappers - Provides a C++ wrapper that allows host applications to call Lua functions and pass custom C structures.
  • Lua - Integrates a Lua interpreter into a host application to allow dynamic data exchange and function calls.
  • Hot-Patching Tools - Enables replacing application logic and fixing bugs at runtime using Lua scripts without requiring a system restart.
  • Script Validators - Ensures the authenticity of executable code by validating digital signatures before scripts are loaded.
  • Asynchronous - Allows non-blocking code to be written in a linear style by wrapping asynchronous operations using cooperative multitasking.
  • Coroutine Orchestrators - Provides a system for wrapping asynchronous operations into linear code using Lua cooperative multitasking routines.
  • Bytecode Validators - Verifies the integrity of pre-compiled scripts by checking digital signatures before the virtual machine executes the bytecode.
  • Signature Verification Tools - Ensures code authenticity and integrity by validating digital signatures on scripts before they are executed.
  • Runtime Patching Engines - Enables fixing bugs without restarting the system by replacing existing method implementations with scripts during runtime.
  • Scripting Memory Optimizations - Passes custom structs and enums between a host and Lua engine to minimize memory overhead and garbage collection.
  • Runtime Method Patching - Replaces existing host method implementations at runtime by intercepting calls through a dynamic script-based lookup table.
  • Async-to-Sync Wrappers - Simulates synchronous execution flow for asynchronous tasks by suspending and resuming cooperative multitasking routines.
  • Scripting Languages - Lua programming solution for C# projects.
10,101 estrellas·2,498 forks·C·10 vistas

Historial de estrellas

Gráfico del historial de estrellas de tencent/xluaGráfico del historial de estrellas de tencent/xlua

Alternativas open-source a XLua

Proyectos open-source similares, clasificados según cuántas características comparten con XLua.
  • yuin/gopher-luaAvatar de yuin

    yuin/gopher-lua

    6,933Ver en GitHub↗

    Gopher-lua is a complete implementation of the Lua language and its standard libraries written natively in Go. It serves as an embedded scripting engine and virtual machine that allows Go applications to execute Lua scripts and exchange data between the host and the script environment. The project provides a bytecode compiler to transform source code into a binary format for faster execution. It enables deep integration between the two languages by allowing the registration of native Go functions to be called from scripts, and the invocation of script functions directly from Go. The engine c

    Gogogopher-lualua
    Ver en GitHub↗6,933
  • dop251/gojaAvatar de dop251

    dop251/goja

    6,914Ver en GitHub↗

    Goja is a JavaScript engine and ECMAScript compliant interpreter implemented entirely in Go. It serves as an embedded scripting engine that allows Go applications to execute JavaScript code and integrate a programmable scripting layer without relying on Cgo or external native dependencies. The project functions as a bridge between Go and JavaScript, enabling bidirectional data exchange and function invocation. It allows Go hosts to expose native structs, slices, and maps as JavaScript objects and arrays, while providing mechanisms to export script values and functions back into native Go type

    Go
    Ver en GitHub↗6,914
  • alibaba/tengineAvatar de alibaba

    alibaba/tengine

    13,276Ver en GitHub↗

    Tengine is an enhanced Nginx web server distribution designed for high-traffic environments. It functions as a high-performance reverse proxy, dynamic load balancer, and HTTP/3 proxy server, integrating an embedded Lua scripting engine to allow for custom business logic and dynamic request processing. The project distinguishes itself through a focus on modern transport protocols and efficiency, featuring native support for QUIC and HTTP/3 to reduce connection latency. It implements userspace UDP forwarding to bypass the kernel for higher throughput and provides the ability to dynamically upda

    Chttp3ingressnginx
    Ver en GitHub↗13,276
  • luajit/luajitAvatar de LuaJIT

    LuaJIT/LuaJIT

    5,592Ver en GitHub↗

    LuaJIT is a high-performance Lua language implementation and just-in-time compiler. It functions as an embedded scripting engine and dynamic binary translator that converts portable bytecode into native machine code during execution. The project focuses on high-performance scripting by translating bytecode into architecture-specific instructions to achieve execution speeds close to compiled C code. It utilizes a lightweight runtime environment designed for minimal memory overhead. The system supports binary data processing via bitwise operations and enables asynchronous task management throu

    C
    Ver en GitHub↗5,592
Ver las 30 alternativas a XLua→

Preguntas frecuentes

¿Qué hace tencent/xlua?

xLua is a scripting bridge and C++ wrapper used to embed the Lua language into host applications. It facilitates bidirectional data exchange and function calls between scripts and the host environment.

¿Cuáles son las características principales de tencent/xlua?

Las características principales de tencent/xlua son: Embedded Scripting Engines, GC Reduction Strategies, Scripting and Interop, Direct Memory Data Transfer, Script-to-Native Type Mappings, C Function Bindings, Language Wrappers, Lua.

¿Qué alternativas de código abierto existen para tencent/xlua?

Las alternativas de código abierto para tencent/xlua incluyen: yuin/gopher-lua — Gopher-lua is a complete implementation of the Lua language and its standard libraries written natively in Go. It… dop251/goja — Goja is a JavaScript engine and ECMAScript compliant interpreter implemented entirely in Go. It serves as an embedded… robertkrimen/otto — Otto is a Go implementation of a JavaScript interpreter and embedded scripting engine. It provides a runtime… alibaba/tengine — Tengine is an enhanced Nginx web server distribution designed for high-traffic environments. It functions as a… luajit/luajit — LuaJIT is a high-performance Lua language implementation and just-in-time compiler. It functions as an embedded… openresty/lua-nginx-module — This project is an NGINX module that embeds the Lua scripting language directly into the server environment. It…