3 Repos
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.
Dieses Projekt ist eine polyglotte Runtime-Brücke und ein Interop-Framework, das darauf ausgelegt ist, .NET- und Node.js-Code innerhalb eines einzigen Betriebssystemprozesses auszuführen. Es fungiert als Cross-Runtime-Execution-Engine und In-Process-Skript-Host, was eine bidirektionale Kommunikation und Datenaustausch zwischen der Common Language Runtime (CLR) und JavaScript-Umgebungen ermöglicht, um den Overhead der Cross-Process-Kommunikation zu eliminieren. Das Framework zeichnet sich dadurch aus, dass es ein System für bidirektionale asynchrone Callbacks und automatisches Data-Marshalling von Binärpuffern und serialisierbaren Werten zwischen verschiedenen verwalteten Objekttypen bereitstellt. Es ermöglicht die Kompilierung und Ausführung von Quelldateien oder Inline-Skripten aus mehreren Sprachen innerhalb einer laufenden Anwendung durch Nutzung eines gemeinsamen Compilermodells. Das Projekt deckt ein breites Spektrum an Funktionen ab, einschließlich asynchronem Task-Offloading auf Hintergrundthreads, der Integration externer Logik als Web-Framework-Middleware und asynchroner SQL-Ausführung. Zudem bietet es Observability-Tools für Cross-Runtime-Exception-Mapping und unterstützt sowohl verwaltetes als auch natives Prozess-Debugging.
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.