are there any libraries to interop with WASM?

This page summarizes the projects mentioned and recommended in the original post on /r/haskell

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
  • wasm-api-hs

    Discontinued High-level Haskell bindings to Wasm C API.

    Check out https://github.com/dfinity/wasm-api-hs, it is a Haskell binding for the official, general-purpose Wasm C API, and so should work with multiple Wasm engines.

  • SaaSHub

    SaaSHub - Software Alternatives and Reviews. SaaSHub helps you find the best software and product alternatives

    SaaSHub logo
  • winter

    Haskell port of the WebAssembly OCaml reference interpreter (by dfinity-side-projects)

    There's winter by dfinity, which ports the wasm spec interpreter originally written in OCaml. There aren't quick examples around so it'll take a while before you get familiar with its internals.

  • inline-js

    Call JavaScript from Haskell, and vice versa!

    Another way to do this would be using inline-js to load and run the wasm stuff via node. inline-js already supports exporting Haskell functions as sync functions on the JS side, so they can be used as wasm import functions. I've always wanted to write a blog post about using inline-js as a wasm runner but unsure if there's real interest out there..

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Wasmi v0.32: WebAssembly interpreter is now faster than

    6 projects | news.ycombinator.com | 28 May 2024
  • Build your own WebAssembly Compiler

    3 projects | news.ycombinator.com | 3 Dec 2023
  • Keeping Up To Date With Toy, and Other Langs

    2 projects | /r/ProgrammingLanguages | 26 Feb 2023
  • Show HN: I wrote a WebAssembly Interpreter and Toolkit in C

    6 projects | news.ycombinator.com | 9 Jan 2023
  • Show HN: I wrote a WebAssembly Interpreter and Toolkit in C

    1 project | /r/hypeurls | 9 Jan 2023

Did you konow that Haskell is
the 23rd most popular programming language
based on number of metions?