3 مستودعات
Mechanisms for intercepting and translating exceptions between different execution environments, such as WebAssembly and JavaScript.
Distinct from Process Exception Interception: Focuses on translating exceptions across a language boundary rather than just capturing process-level crashes within one runtime
Explore 3 awesome GitHub repositories matching software engineering & architecture · Cross-Runtime Exception Translation. Refine with filters or upvote what's useful.
wasm-bindgen is a glue code generator and interoperability tool that facilitates high-level communication and data exchange between compiled Rust modules and JavaScript environments. It functions as a memory bridge and type definition generator, allowing the exchange of complex data types and the calling of functions across execution boundaries. The project distinguishes itself by automating the conversion of data types and function signatures using attribute-based bindings. It generates the necessary JavaScript and WebAssembly wrappers to manage linear memory mapping and creates automatic Ty
Intercepts native Wasm traps and JavaScript errors to translate them into language-specific error types across the boundary.
هذا المشروع عبارة عن جسر وقت تشغيل متعدد اللغات وإطار عمل تداخل مصمم لتنفيذ كود .NET وNode.js داخل عملية نظام تشغيل واحدة. يعمل كمحرك تنفيذ عبر وقت التشغيل ومضيف برمجة نصية داخل العملية، مما يتيح التواصل ثنائي الاتجاه وتبادل البيانات بين بيئات Common Language Runtime وJavaScript للقضاء على عبء التواصل عبر العمليات. يتميز إطار العمل بتوفير نظام للاستدعاءات غير المتزامنة ثنائية الاتجاه وتجميع البيانات التلقائي للمخازن المؤقتة الثنائية والقيم القابلة للتسلسل بين أنواع الكائنات المدارة المختلفة. يسمح بتجميع وتنفيذ ملفات المصدر أو النصوص البرمجية المضمنة من لغات متعددة داخل تطبيق قيد التشغيل من خلال الاستفادة من نموذج مترجم مشترك. يغطي المشروع مجموعة واسعة من القدرات بما في ذلك تفريغ المهام غير المتزامنة إلى خيوط الخلفية، وتكامل المنطق الخارجي كبرمجيات وسيطة لإطار عمل الويب، وتنفيذ SQL غير المتزامن. كما يوفر أدوات مراقبة لتعيين الاستثناءات عبر وقت التشغيل ويدعم تصحيح أخطاء العمليات المدارة والأصلية.
Translates native exceptions into standard error objects to maintain consistent error handling across execution environments.
The Cloudflare Workers Rust SDK is a toolchain and framework for building high-performance serverless functions using Rust. It compiles code into WebAssembly modules that execute within a sandboxed host environment at the edge. The project provides a typed remote procedure call system for invoking functions across different worker instances and utilizes procedural macros for mapping these distributed interfaces. It uses trait-based bindings and standardized wrappers to provide type-safe access to platform services and web-standard request and response objects. The SDK covers a broad range of
Intercepts low-level system panics and translates them into catchable exceptions to prevent worker crashes.