3 مستودعات
Mechanisms for exchanging functions, memory, global variables, and exceptions between JavaScript and WebAssembly modules.
Distinct from JavaScript Interoperability: Distinct from JavaScript Interoperability: specifically targets the Wasm-JS boundary rather than general language interop.
Explore 3 awesome GitHub repositories matching programming languages & runtimes · WebAssembly-JavaScript Interoperability. Refine with filters or upvote what's useful.
V8 is a high-performance JavaScript and WebAssembly engine designed to compile and execute code within host applications. It functions as an embeddable scripting engine and just-in-time compiler, providing a portable library for integrating dynamic script execution into native software environments. The engine incorporates a WebAssembly runtime to execute compiled binary code for a stack-based virtual machine at near-native speeds. It enables native application scripting by allowing a JavaScript execution environment to be embedded directly into a native program to handle dynamic logic. The
Facilitates the execution and interoperability of JavaScript and WebAssembly within the same runtime environment.
wasm-bindgen هو مولد روابط وطبقة تشغيل بيني مصممة لتعيين أنواع البيانات والوظائف عبر الحدود بين WebAssembly وJavaScript. يعمل كواجهة وظائف أجنبية (foreign function interface) تقوم بتوليد الكود المتكرر الضروري لتمكين التواصل ثنائي الاتجاه بين Rust وبيئة تشغيل المتصفح. يولد المشروع كود الغراء والمغلفات التي تؤتمت تحويل الأنواع المعقدة، مما يسمح بتصدير وظائف Rust كوحدات JavaScript واستيراد واجهات برمجة تطبيقات المتصفح إلى Rust. يستخدم وحدات الماكرو الإجرائية لتعريف هذه الواجهات ويولد الروابط بناءً على تعريفات أنواع Rust. يدير النظام الذاكرة من خلال تمرير مؤشر الذاكرة الخطية ويتعامل مع تبادل الموارد باستخدام مقابض الذاكرة التي تديرها JavaScript. يعتمد على اتفاقية استدعاء متوافقة مع C ABI لتمرير الأعداد الصحيحة والأرقام العشرية البدائية بين الوحدة والمضيف.
Manages the exchange of complex data types, functions, and memory between WebAssembly and JavaScript.
Documents how to share data and functions between JavaScript and WebAssembly modules.