terrorjack, to random
@terrorjack@functional.cafe avatar

finally the #wasmtime winch backend can run the ghc wasm backend test suite. there's a good reason why every engine out there has a baseline jit and tier-up strategy, glad my daily driver is catching up

SnoopJ, to python
@SnoopJ@hachyderm.io avatar

Managed to build the #WASI #CPython and get it running in wasmtime via the #Python API, thanks to @brettcannon's build script and documentation 👀

SnoopJ,
@SnoopJ@hachyderm.io avatar

The magic of #WebAssembly and #WASI is that as long as you can feed your target program to a runtime capable of understanding it, everything else just kinda works, because it's already expressed on the far side of the abstraction boundary.

I have not written a line of #Rust before, but I was able to slightly tweak one of the #wasmtime examples to get the CPython WASI build running for the most basic task.

#WASM #Python

bnjbvr_en, to firefox

Using alternative browser engines in the European Union

https://developer.apple.com/support/alternative-browser-engines/

This is huge! This could allow other Web browser engines like 's to run on iOS, and expand the possibilities with on iOS, by allowing engines like to run in Apple phones 🥳

(o/c terms and conditions apply, and the costs might be prohibitive)

squillace, to webassembly
@squillace@hachyderm.io avatar

If you've not read through the #BytecodeAlliance blog post on wasmtime and cranelift in 2023, I recommend it, not merely for #wasmtime information, but rather for a great summary of proposals in #webassembly and the component model. really well done. https://bytecodealliance.org/articles/wasmtime-and-cranelift-in-2023

sunfish, to webassembly
@sunfish@hachyderm.io avatar

Interesting in trying out the new wasmtime serve in #Wasmtime 14? Here's a quick tutorial showing how to build a #WASI HTTP component, and how to run it:

https://github.com/sunfishcode/hello-wasi-http#hello-wasi-http

#wasm

sunfish, to random
@sunfish@hachyderm.io avatar

A fun new feature in #Wasmtime 14 is the wasmtime serve CLI, which starts an HTTP server and sends requests to a wasm module via wasi-http.

#wasi

clone,

@sunfish I just updated #wasmtime to 14.0.1 - but it looks like the new wasmtime serve command is behind a feature-flag, and the normal shipped wasmtime is build without this feature? So I guess I would have to build wasmtime from source?

terrorjack, to random
@terrorjack@functional.cafe avatar

#wasmtime 14 brings async support to c api? christmas is really coming early isn't it

sunfish, to random
@sunfish@hachyderm.io avatar

The resources PR in Wasmtime has now landed!

This is the PR to convert #Wasmtime's host implementation of the CLI world in #WASI Preview 2 to using handles and resources.

Guest code before handles:
bindings::foo::bar(x);
bindings::foo::drop(x); // don't forget!

With handles:
x.bar();
// drop is automatic!

sunfish, to random
@sunfish@hachyderm.io avatar

A new roadmap on the Bytecode Alliance blog about what we're working on and how it all fits together:

https://bytecodealliance.org/articles/webassembly-the-updated-roadmap-for-developers

#wasi #wasm #wasmtime

_json420, to random
@_json420@fosstodon.org avatar

What's the time? It's #wasmtime

sunfish, to random
@sunfish@hachyderm.io avatar

#Wasmtime has a JIT and a #Wasm runtime that uses a lot of pointers, so it's especially cool that this PR is able to make it preserve strict provenance and run under stacked borrows in Miri:

https://github.com/bytecodealliance/wasmtime/pull/6338

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • ngwrru68w68
  • everett
  • InstantRegret
  • magazineikmin
  • thenastyranch
  • rosin
  • GTA5RPClips
  • Durango
  • Youngstown
  • slotface
  • khanakhh
  • kavyap
  • DreamBathrooms
  • provamag3
  • tacticalgear
  • osvaldo12
  • tester
  • cubers
  • cisconetworking
  • mdbf
  • ethstaker
  • modclub
  • Leos
  • anitta
  • normalnudes
  • megavids
  • lostlight
  • All magazines