3 repositorios
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.
Este proyecto es un puente de runtime políglota y framework de interoperabilidad diseñado para ejecutar código .NET y Node.js dentro de un único proceso del sistema operativo. Funciona como un motor de ejecución cross-runtime y host de scripting in-process, permitiendo la comunicación bidireccional y el intercambio de datos entre el Common Language Runtime y los entornos de JavaScript para eliminar la sobrecarga de comunicación entre procesos. El framework se distingue por proporcionar un sistema para callbacks asíncronos bidireccionales y marshalling automático de buffers binarios y valores serializables entre diferentes tipos de objetos gestionados. Permite la compilación y ejecución de archivos fuente o scripts en línea de múltiples lenguajes dentro de una aplicación en ejecución aprovechando un modelo de compilador común. El proyecto cubre una amplia gama de capacidades, incluyendo la descarga de tareas asíncronas a hilos en segundo plano, la integración de lógica externa como middleware de framework web y la ejecución asíncrona de SQL. También proporciona herramientas de observabilidad para el mapeo de excepciones cross-runtime y admite la depuración de procesos tanto gestionados como nativos.
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.