awesome-repositories.com
المدونة
awesome-repositories.com

اكتشف أفضل مستودعات المصادر المفتوحة باستخدام بحث مدعوم بالذكاء الاصطناعي.

استكشفعمليات بحث منسقةبدائل مفتوحة المصدربرمجيات ذاتية الاستضافةالمدونةخريطة الموقع
المشروعحولكيفية ترتيب النتائجالصحافةخادم MCP
قانونيالخصوصيةالشروط
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
Tencent avatar

Tencent/xLua

0
View on GitHub↗
10,101 نجوم·2,498 تفرعات·C·10 مشاهدات

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.

سجل النجوم

مخطط تاريخ النجوم لـ tencent/xluaمخطط تاريخ النجوم لـ tencent/xlua

بحث بالذكاء الاصطناعي

استكشف المزيد من المستودعات الرائعة

صف ما تحتاجه بلغة بسيطة — وسيقوم الذكاء الاصطناعي بترتيب آلاف المشاريع مفتوحة المصدر المنسقة حسب الصلة.

Start searching with AI

بدائل مفتوحة المصدر لـ XLua

مشاريع مفتوحة المصدر مشابهة، مرتبة حسب عدد الميزات المشتركة مع XLua.
  • yuin/gopher-luaالصورة الرمزية لـ yuin

    yuin/gopher-lua

    6,933عرض على 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
    عرض على GitHub↗6,933
  • dop251/gojaالصورة الرمزية لـ dop251

    dop251/goja

    6,914عرض على 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
    عرض على GitHub↗6,914
  • alibaba/tengineالصورة الرمزية لـ alibaba

    alibaba/tengine

    13,276عرض على 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
    عرض على GitHub↗13,276
  • luajit/luajitالصورة الرمزية لـ LuaJIT

    LuaJIT/LuaJIT

    5,592عرض على 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
    عرض على GitHub↗5,592
عرض جميع البدائل الـ 30 لـ XLua→

الأسئلة الشائعة

ما هي وظيفة 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.

ما هي الميزات الرئيسية لـ tencent/xlua؟

الميزات الرئيسية لـ tencent/xlua هي: Embedded Scripting Engines, GC Reduction Strategies, Scripting and Interop, Direct Memory Data Transfer, Script-to-Native Type Mappings, C Function Bindings, Language Wrappers, Lua.

ما هي البدائل مفتوحة المصدر لـ tencent/xlua؟

تشمل البدائل مفتوحة المصدر لـ tencent/xlua: 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…