https://github.com/extism/perl-sdk
Extism Perl Host SDK - easily run WebAssembly modules / plugins from Perl applications
https://github.com/extism/perl-sdk
Last synced: over 1 year ago
JSON representation
Extism Perl Host SDK - easily run WebAssembly modules / plugins from Perl applications
- Host: GitHub
- URL: https://github.com/extism/perl-sdk
- Owner: extism
- License: other
- Created: 2024-01-19T23:50:50.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-12-11T23:22:32.000Z (over 1 year ago)
- Last Synced: 2025-03-23T08:41:59.782Z (over 1 year ago)
- Language: Perl
- Homepage: https://extism.org
- Size: 2.66 MB
- Stars: 6
- Watchers: 6
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: .github/CODEOWNERS
Awesome Lists containing this project
README
# Extism perl-sdk
The Perl SDK for integrating the [Extism](https://extism.org) runtime. Add the `Extism` distribution into your Perl project to run Extism plugins.
Join the [Extism Discord](https://extism.org/discord) and chat with us!
## Building and Installation
Installation under [`local::lib`](https://metacpan.org/pod/local::lib#The-bootstrapping-technique) is recommended.
From CPAN: `cpanm Extism`
## Getting Started
Take a look at `Extism/script/demo-perl-extism` or the tests in `Extism/t`.
## Testing
To test and internet connection is required and you must have the [WASI SDK](https://github.com/WebAssembly/wasi-sdk?tab=readme-ov-file#quick-start) setup with `WASI_SDK_PATH` pointing to it.
`make test`
## Presentation
The Extism perl-sdk was featured at TPRC 2024: [Native deps a pain? WebAssembly can help!](https://www.youtube.com/watch?v=7THl2DSbZNc) Slides are in `docs/`.
## TODO
* More host function / plugin->call bindings