5 Followers
140 Following
85 Posts
Toots mostly about WebAssembly, WASI, Wasmtime, Rust, Capability-based security. Fastly. Ex-Mozilla.
websitehttps://blog.sunfishcode.online
githubhttps://github.com/sunfishcode

The Wasm component model design ethos in a nutshell:
- Capability-based security
- Structured concurrency
- Parameteric linking (ML Modules),
- Compartmentalized memory management
- Polyglot
- Formal semantics

#wasm #wasi

Looking forward to regular open office hours today, but there's a time change: due to daylight savings time here, the time in UTC has shifted an hour later.

https://github.com/sunfishcode/office-hours

cap-std is now at 1.0!

The main change in this release is the update to io-lifetimes 1.0, which marks the update to use the I/O safety features in the standard library when available.

io-lifetimes is now at 1.0!

The main functionality of OwnedFd/BorrowedFd/AsFd/etc. is stable in std as of Rust 1.64. io-lifetimes 1.0 just re-exports those, when available, and provides its own implementation on older Rust versions.

#rustlang

Tired: Unicode is complex, let's use ASCII
Wired: Unicode is complex, let's pass around handles to resources rather than passing around names

My presentation slides from the Wasm SIMD Subgroup meeting, proposing an approach for permitting nondeterministic SIMD operations, but preserving a path to deterministic semantics:

https://sunfishcode.github.io/RelaxedMathMode.pdf

#wasm

wow a lot of people are really migrating and seem to be sticking around for a bit, huh

New blog post: What is a World?

Lots of recent discussions in WASI have been talking about Worlds recently. What is a World?

https://blog.sunfishcode.online/what-is-a-world/

#wasm #wasi

What is a World?

sunfishcode's blog

@ttraenkler

> Is there ongoing work on such a tool? I am aware of wasm-ld, but as far as I know this is LLVM specific. Could a tool like this be generic?

Yes, there is ongoing work on tooling in this space. And yes, at this level, tools can be independent of LLVM because they're just operating on components, which fully encapsulate their implementation.

#wasm #wasi

So engines wouldn't have to support linking multiple components at all if they don't want to; they could just require linking be done in advance by a separate tool.

#wasm #wasi