Discussion
Loading...

Post

Log in
  • About
  • Code of conduct
  • Privacy
  • Users
  • Instances
  • About Bonfire
Kat Marchán 🐈
Kat Marchán 🐈
@zkat@toot.cat  ·  activity timestamp 3 hours ago

@mcc @whitequark wait are you talking about stuff that might be crossing over into wasm components here?

  • Copy link
  • Flag this post
  • Block
Kat Marchán 🐈
Kat Marchán 🐈
@zkat@toot.cat replied  ·  activity timestamp 3 hours ago

@mcc @whitequark (also not sure if you’re aware of wizer and weval)

  • Copy link
  • Flag this comment
  • Block
mcc
mcc
@mcc@mastodon.social replied  ·  activity timestamp 3 hours ago

@zkat @whitequark I have not heard of either of these things.

  • Copy link
  • Flag this comment
  • Block
Kat Marchán 🐈
Kat Marchán 🐈
@zkat@toot.cat replied  ·  activity timestamp 3 hours ago

@mcc @whitequark one is a partial evaluator, the other executes the init function for a wasm module and snapshots the result, so when you run the snapshot it starts after all the setup has been done

  • Copy link
  • Flag this comment
  • Block
✧✦Catherine✦✧
✧✦Catherine✦✧
@whitequark@mastodon.social replied  ·  activity timestamp 3 hours ago

@zkat @mcc these are very good tools

  • Copy link
  • Flag this comment
  • Block
mcc
mcc
@mcc@mastodon.social replied  ·  activity timestamp 3 hours ago

@zkat @whitequark I don't know. I don't know how to use wasm components.

  • Copy link
  • Flag this comment
  • Block
Kat Marchán 🐈
Kat Marchán 🐈
@zkat@toot.cat replied  ·  activity timestamp 3 hours ago

@mcc @whitequark they expose and consume genetic interfaces defined in a language called WIT, which you can have bindings for in a language-agnostic manner. They’re designed such that they support a lot of the higher level type stuff Rust does, like sum types aka fancy enums, but you don’t have to worry about shenanigans when consuming/producing this stuff. A component written in one language can connect with one in any other language

  • Copy link
  • Flag this comment
  • Block
mcc
mcc
@mcc@mastodon.social replied  ·  activity timestamp 3 hours ago

@zkat @whitequark If this works, it might obviate what I was wanting to write. I don't know.

  • Copy link
  • Flag this comment
  • Block
Kat Marchán 🐈
Kat Marchán 🐈
@zkat@toot.cat replied  ·  activity timestamp 2 hours ago

@mcc @whitequark I mean if all it does is help show you some prior art I’m happy :)

  • Copy link
  • Flag this comment
  • Block
Kat Marchán 🐈
Kat Marchán 🐈
@zkat@toot.cat replied  ·  activity timestamp 3 hours ago

@mcc @whitequark @TartanLlama wrote an excellent post about it that goes step by step: https://tartanllama.xyz/posts/wasm-plugins/

Building Native Plugin Systems with WebAssembly Components | Sy Brand

Sandboxed plugins with well-defined interfaces
  • Copy link
  • Flag this comment
  • Block

bonfire.cafe

A space for Bonfire maintainers and contributors to communicate

bonfire.cafe: About · Code of conduct · Privacy · Users · Instances
Bonfire social · 1.0.1-alpha.33 no JS en
Automatic federation enabled
Log in
  • Explore
  • About
  • Members
  • Code of Conduct