awesome-repositories.com
Blog
awesome-repositories.com

Descoperă cele mai bune repository-uri open source cu căutare AI.

ExploreazăCăutări recomandateAlternative open-sourceSoftware self-hostedBlogHartă site
ProiectDespreCum realizăm clasamentulPresăServer MCP
LegalConfidențialitateTermeni
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
Tencent avatar

Tencent/xLua

0
View on GitHub↗
10,101 stele·2,498 fork-uri·C·10 vizualizări

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.

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.

Istoric stele

Graficul istoricului de stele pentru tencent/xluaGraficul istoricului de stele pentru tencent/xlua

Căutare AI

Explorează mai multe repository-uri excelente

Descrie ce ai nevoie în limbaj simplu — AI-ul sortează mii de proiecte open source selectate în funcție de relevanță.

Start searching with AI

Întrebări frecvente

Ce face 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.

Care sunt principalele funcționalități ale tencent/xlua?

Principalele funcționalități ale tencent/xlua sunt: Embedded Scripting Engines, GC Reduction Strategies, Scripting and Interop, Direct Memory Data Transfer, Script-to-Native Type Mappings, C Function Bindings, Language Wrappers, Lua.

Care sunt câteva alternative open-source pentru tencent/xlua?

Alternativele open-source pentru tencent/xlua includ: 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…

Alternative open-source pentru XLua

Proiecte open-source similare, clasificate după numărul de funcționalități comune cu XLua.
  • yuin/gopher-luaAvatar yuin

    yuin/gopher-lua

    6,933Vezi pe 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
    Vezi pe GitHub↗6,933
  • dop251/gojaAvatar dop251

    dop251/goja

    6,914Vezi pe 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
    Vezi pe GitHub↗6,914
  • alibaba/tengineAvatar alibaba

    alibaba/tengine

    13,276Vezi pe 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
    Vezi pe GitHub↗13,276
  • luajit/luajitAvatar LuaJIT

    LuaJIT/LuaJIT

    5,592Vezi pe 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
    Vezi pe GitHub↗5,592
  • Vezi toate cele 30 alternative pentru XLua→