5 dépôts
Calls WebAssembly functions from host code using bindgen annotations for automatic parameter marshalling.
Distinct from Function Calling Interfaces: Distinct from Function Calling Interfaces: focuses on calling WebAssembly functions from host code, not AI model tool invocation.
Explore 5 awesome GitHub repositories matching artificial intelligence & ml · WebAssembly Function Callings. Refine with filters or upvote what's useful.
WasmEdge is an extensible WebAssembly runtime that executes WebAssembly bytecode in a secure sandbox for cloud, edge, and embedded applications. It functions as a multi-language compiler, compiling applications written in Rust, JavaScript, Go, and Python into WebAssembly bytecode for sandboxed execution, and as a server-side JavaScript runtime that runs JavaScript programs with ES6 modules, NPM packages, and Node.js-compatible APIs. The runtime also serves as an AI inference runtime, executing AI models from JavaScript using WASI-NN plug-ins for inference tasks on personal devices and edge har
Calls WebAssembly functions annotated with bindgen to pass complex parameters automatically from Go code.
Wasm3 est un interpréteur WebAssembly conçu pour l'intégration dans des runtimes embarqués. Il permet l'exécution de logique binaire portable sur des microcontrôleurs et du matériel aux ressources limitées, offrant un support pour les modules qui utilisent le WebAssembly System Interface (WASI) pour interagir avec les ressources système. Le runtime utilise une interprétation de bytecode basée sur des registres et une répartition directe pour mapper les registres virtuels aux registres CPU physiques. Il inclut une interface d'appel hôte pour mapper les importations aux fonctions C et utilise une validation de module statique pour garantir que le bytecode suit les règles de spécification avant l'exécution. Le projet fournit une gestion des ressources via des limites d'allocation de mémoire linéaire et un comptage de gaz au niveau des instructions pour éviter les boucles infinies et l'épuisement du système. L'observabilité est gérée via le traçage d'exécution, la surveillance des flux et le profilage des opérations de l'interpréteur. Pour le développement et l'assurance qualité, le runtime inclut un REPL interactif et prend en charge le fuzzing guidé par la couverture.
Maps WebAssembly imports to C functions to allow guest modules to interact with the host system.
Detours is a library for intercepting Win32 API calls and redirecting function calls at runtime on Windows, enabling binary-level instrumentation without requiring access to the original source code. It functions as an API hooking library and binary instrumentation toolkit, allowing developers to monitor or modify the behavior of compiled Windows binaries by hooking into their function execution paths. The project achieves this through detour-based function interception, where the first few instructions of a target function are replaced with a jump to a user-supplied detour function, while pr
Routes calls from one function to a custom replacement, enabling instrumentation or extension of existing APIs.
Extism is a cross-language WebAssembly plugin framework that lets applications written in any programming language load and execute plugins written in any other language. It provides a universal plugin system where host applications use idiomatic SDKs to load WebAssembly modules, call exported functions, and pass data back and forth, while plugin authors use development kits that handle memory management and host interaction so they can focus on business logic. The framework distinguishes itself through its comprehensive approach to cross-language integration, offering schema-driven binding g
Calls named functions inside loaded WebAssembly modules and receives return values through the host SDK.
Lucet est un runtime WebAssembly et un compilateur de sandboxing qui traduit le bytecode WebAssembly en code machine natif. Il sert d'environnement d'exécution sécurisé et de générateur de code natif conçu pour exécuter du code non fiable tout en empêchant l'accès non autorisé aux ressources du système hôte. Le projet se concentre sur le sandboxing haute performance en utilisant la compilation ahead-of-time pour atteindre des vitesses d'exécution quasi natives. Il implémente une isolation des fautes basée sur le logiciel et une interface d'appels hôtes pour gérer la communication sécurisée et l'échange de données entre le module isolé et l'application hôte externe. Le système fournit des capacités pour la génération de code machine natif, le mappage de mémoire linéaire et l'exécution basée sur sandbox pour assurer une forte isolation mémoire.
Provides a host-call interface to manage secure communication and data exchange between sandboxed modules and the host.