extism VS edge-runtime

Compare extism vs edge-runtime and see what are their differences.

extism

The framework for building with WebAssembly (wasm). Easily load wasm modules, move data, call functions, and build extensible apps. (by extism)

edge-runtime

A server based on Deno runtime, capable of running JavaScript, TypeScript, and WASM services. (by supabase)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
extism edge-runtime
46 5
3,757 561
5.2% 5.7%
9.2 9.6
3 days ago 2 days ago
Rust Rust
BSD 3-clause "New" or "Revised" License MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

extism

Posts with mentions or reviews of extism. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-06.
  • Extism – make all software programmable. Extend from within
    1 project | news.ycombinator.com | 8 Apr 2024
    1 project | news.ycombinator.com | 17 Jan 2024
  • Faces.js, a JavaScript library for generating vector-based cartoon faces
    11 projects | news.ycombinator.com | 6 Apr 2024
    Extism can be really useful for packaging up and running cross-language libraries!

    The most clear information about it is at: https://extism.org, but its a bit focused on the primary use case for Extism, being a universal plugin system.

    There is a C PDK (https://github.com/extism/c-pdk) which you'd probably want to use in a new wrapper around your library in C++, and compile it to wasm32 freestanding or WASI, but without emscripten. Extism doesn't currently have an interop layer to emscripten.

  • Show HN: Now my pet programming language can run in the browser
    3 projects | news.ycombinator.com | 10 Feb 2024
    It may just be my own unique obsession to peek at the internals of .wasm, but if anyone else is curious:

    https://modsurfer.dylibso.com/module?hash=ab6f4b2de9db171347...

    u/nbittich - curious if you've tried to use your language as as a scripting language inside other apps? I took a peak at your browser wasm environment, and think we could hook up the `compute` entrypoint you have here[0], but I'm not certain what the `ctx` does without going super deep, and if it could be passed into an Extism function[1] (which is how I'd try to run it from within 16+ other languages).

    [0]: https://github.com/nbittich/adana/blob/master/adana-script-w...

    [1]: https://github.com/extism/extism

  • WebAssembly Playground
    9 projects | news.ycombinator.com | 4 Feb 2024
    Yep, this is one of the initial motivations for creating Extism: https://github.com/extism/extism -- and it works across 16 host languages & 8 guest languages.
  • WASI 0.2.0 and Why It Matters
    8 projects | news.ycombinator.com | 26 Jan 2024
    On the devx, there's definitely some rough edges around building and using Wasm. My company has been working on a framework to ease integrating Wasm into existing applications. One area it focuses on is providing easy data passing between the host program and the Wasm and vice versa. https://github.com/extism/extism We do not have WASI preview 2 support yet, but are interested in integrating it.
  • Extism, the universal WASM framework, reaches 1.0
    2 projects | news.ycombinator.com | 9 Jan 2024
  • Extism, the WebAssembly framework, hits 1.0
    1 project | news.ycombinator.com | 9 Jan 2024
  • Extism 1.0.0 Released
    1 project | news.ycombinator.com | 8 Jan 2024
  • WASM by Example
    16 projects | news.ycombinator.com | 15 Nov 2023
    Extism handles this really well across 16 or so different languages - and you don’t need to write a whole IDL / schema.

    https://github.com/extism/extism

    It’s a general purpose framework for building with WebAssembly and sharing code across languages is a great way to put it to work.

edge-runtime

Posts with mentions or reviews of edge-runtime. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-04-15.
  • Supabase – General Availability Week
    7 projects | news.ycombinator.com | 15 Apr 2024
    - Functions have a critical bug that prevent us from using in development so we decided to move to our own API servers: https://github.com/supabase/edge-runtime/issues/212
  • Edge Functions: Node and native NPM compatibility
    2 projects | news.ycombinator.com | 12 Dec 2023
    source: https://github.com/supabase/edge-runtime

    we needed this to get feature parity across local, the platform, and self-hosting

  • Edge Functions: Node and native npm compatibility
    2 projects | dev.to | 12 Dec 2023
    Refactoring the module loader fixes a few other bugs, such edge functions erroring out when an deno.lock file is already present in the project.
  • Hugging Face is now supported in Supabase
    4 projects | dev.to | 7 Aug 2023
    Cold-starts are the time it takes for the “initial load” of an Edge Function. Because the model needs to be downloaded to the Edge Function, could starts can take anywhere from ~2-6s (based on the model). Loading the initial model and building the pipeline usually contributes to it. We are experimenting with the idea of attaching a “read-only disk” of models to our Edge Runtime which mitigate any download penalties. We’ll share more details about these optimizations in a future blog post.
  • Supabase Edge Runtime: Self-Hosted Deno Functions
    12 projects | news.ycombinator.com | 11 Apr 2023
    [Supabase engineer & Author of the blog post]

    Hi Mark, hosted Supabase Edge Functions would still run on Deno Deploy, so those limitations would still exist. However, we plan to introduce file system access via integration with Supabase Storage. This is still a rough idea stage, maybe we'll have a solid answer in a couple of months :)

    For dynamic imports, we haven't looked into it since Supabase users haven't requested it. If you can open an issue on Edge Runtime repo [0] and explain how you intend to use them, we can probably work on a solution.

    [0] https://github.com/supabase/edge-runtime/issues

What are some alternatives?

When comparing extism and edge-runtime you can also consider the following projects:

wit-bindgen - A language binding generator for WebAssembly interface types

postgres_lsp - A Language Server for Postgres

WASI - WebAssembly System Interface

vecs - Postgres/pgvector Python Client

wasmtime - A fast and secure runtime for WebAssembly

kickstart - My interpretation of an endless library

wasmer - 🚀 The leading Wasm Runtime supporting WASIX, WASI and Emscripten

braid-spec - Working area for Braid extensions to HTTP

jssc - Java library for talking to serial ports (with added build support for maven, cmake, MSVC)

windmill - Open-source developer platform to turn scripts into workflows and UIs. Fastest workflow engine (5x vs Airflow). Open-source alternative to Airplane and Retool.

nodejs-snowflake - Generate time sortable 64 bits unique ids for distributed systems (inspired from twitter snowflake)

deno - A modern runtime for JavaScript and TypeScript.