3 repository-uri
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.
Acest proiect este un bridge de runtime poliglot și un framework de interop conceput pentru a executa cod .NET și Node.js în cadrul unui singur proces de sistem de operare. Acesta funcționează ca un motor de execuție cross-runtime și host de scripting in-process, permițând comunicarea bidirecțională și schimbul de date între Common Language Runtime și mediile JavaScript pentru a elimina overhead-ul comunicării cross-process. Framework-ul se distinge prin furnizarea unui sistem pentru callback-uri asincrone bidirecționale și marshalling automat al bufferelor binare și al valorilor serializabile între diferite tipuri de obiecte gestionate. Permite compilarea și execuția fișierelor sursă sau a scripturilor inline din mai multe limbaje în cadrul unei aplicații care rulează, prin utilizarea unui model de compilator comun. Proiectul acoperă o gamă largă de capabilități, inclusiv offloading-ul sarcinilor asincrone către thread-uri de fundal, integrarea logicii externe ca middleware de framework web și execuția SQL asincronă. De asemenea, oferă instrumente de observabilitate pentru maparea excepțiilor cross-runtime și suportă debugging-ul proceselor atât gestionate, cât și native.
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.