filipw, to dotnet
@filipw@mathstodon.xyz avatar

my new blog post: dotnet WASI applications in .NET 8.0

🔗 https://www.strathweb.com/2023/09/dotnet-wasi-applications-in-net-8-0/
🏷️

sunfish, to random
@sunfish@hachyderm.io avatar

wasi-http has just advanced to Phase 2, on the path to #WASI Preview 2!

https://github.com/WebAssembly/wasi-http/pull/54

smallcircles, to random
@smallcircles@social.coop avatar

🤔 What if #OpenDocument used #SQLite?

Benefits would include:

  • Smaller documents
  • Faster File/Save times
  • Faster startup times
  • Less memory used
  • Document versioning
  • A better user experience

A nice thought experiment by the SQLite folks..

https://www.sqlite.org/affcase1.html

https://news.ycombinator.com/item?id=37553574

smallcircles,
@smallcircles@social.coop avatar

@sebsauvage agreed. #SQLite getting incredibly popular for all kinds of use cases. And including production DB at relatively high scale too.

What popped up in my head as an extension of this thought experiment, having taken an interest for #WebAssembly (server-side Component Model + #WASI) was SQLite + #Wasm ..

https://www.sqlite.org/wasm/doc/trunk/index.md

And then picture - in this case - OpenDocument as a WASI interface, backed by SQLite.

hywan, to golang
@hywan@fosstodon.org avatar

WASI support in Go, https://go.dev/blog/wasi.

The Go compiler now supports Wasm with the WASI ABI. It still produces quite heavy modules and it’s kind of slow. TinyGo remains a best option, https://tinygo.org/.

isntitvacant, to webassembly
@isntitvacant@hachyderm.io avatar

Looking for a little light travel reading on the way to ?

Consider "Understanding WASM, part 3: You Are Here"! It's a deep dive on system interfaces: what they are, their history, and what WASI might mean for them.

https://www.neversaw.us/2023/09/04/understanding-wasm/part3/you-are-here/

smallcircles, to webassembly
@smallcircles@social.coop avatar
smallcircles, to UI
@smallcircles@social.coop avatar

#Zellij terminal workspace.

https://zellij.dev

Extensible workspace #UI for the terminal using a #WebAssembly / #WASI based plugin system.

lambdageek, to vscode
@lambdageek@mastodon.social avatar

So I made a thing...

It's a VS Code extension based on Kirill Osenkov's @KirillOsenkov MS Build structured log viewer.

https://marketplace.visualstudio.com/items?itemName=lambdageek.msbuild-structured-log-viewer

The desktop version runs on CoreCLR, the https://insiders.vscode.dev version runs using the new (and still very experimental!) .NET 8 WASI workload on top of VS Code's WASI extension host (https://code.visualstudio.com/blogs/2023/06/05/vscode-wasm-wasi)

HenrikRxn, to dotnet

Seems WASI support in .NET will be (partly) postponed until .NET 9

The WASI tracking issue on Github now has Milestone set to 9.0.0 https://github.com/dotnet/runtime/issues/65895

This happened just after .NET 8 Preview 6 was released and I noticed when re-visiting my "Hello World" WASI, see https://henrikrxn.github.io/blog/Wasi-dotnet-8-preview-7/

#dotnet #wasi #webassembly #wasm

konstantin, to random

Today I get to revisit an old service - my very first WASI implementation where a Go app hosts a #wasi runtime that executes WASM scripts written in Rust. It dates back to v1 of https://wasmer.io. The goal is to try and make a Swift snippet compile to #wasm in a way that can run inside the runtime.

smallcircles, to random
@smallcircles@social.coop avatar

#WebAssembly: An Updated Roadmap for Developers

" This roadmap reflects changes occurring in standards within the WebAssembly Community Group (CG) and the #WASI Subgroup within the #W3C. This includes WebAssembly Core, WebAssembly Component Model, WASI (WebAssembly System Interface), and a number of WASI-based interfaces. "

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

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

orsinium, to golang
@orsinium@fosstodon.org avatar

@palash Goroutines certainly work on , I use them a lot. They are just single threaded, but "concurrency is not parallelism", so it shouldn't affect how you write code.

Plus, if you have troubles with the scheduler, you can always try .

orsinium,
@orsinium@fosstodon.org avatar

@preslavrachev

  1. Goroutines use "cooperative multitasking", they release control back to the scheduler when they are blocked or a certain amount of calls (what Erlang calls "reductions") passed since the last release.

  2. You can do system calls only with #WASI which will be available only in #golang 1.21. You cannot do system calls from the browser (GOOS=js) for safety reasons. You can, however, use WebAPI to do network calls, and then you work with JS promises:

https://github.com/life4/gweb/blob/master/web/http_request.go#L21

lambdageek, to vscode
@lambdageek@mastodon.social avatar

Here's a sample VS Code extension using the .NET WASI support to run some C# code in a VS Code extension using WebAssembly.

https://github.com/lambdageek/sample-dotnet-wasi-vscode/tree/main

#vscode #dotnet #webassembly #wasi

brettcannon, to python
@brettcannon@fosstodon.org avatar

I wrote https://snarky.ca/wasi-support-for-cpython-june-2023/ to cover the state of #WASI support in #Python and where I hope it goes in the future

rml, to Podcast

ep about from a -y point of view, and from an point of view
https://fossandcrafts.org/episodes/058-wasm.html

sunfish, to random
@sunfish@hachyderm.io avatar

One of the things I'm really excited for in #WASI is the ability to virtualize any API. This includes the filesystem API, which will be useful for connecting filesystem-using application code to many different host APIs.

brettcannon, to random
@brettcannon@fosstodon.org avatar

Blog post on how #VSCode is trying to support #WebAssemby via #WASI in extensions: https://code.visualstudio.com/blogs/2023/06/05/vscode-wasm-wasi

smallcircles, to random
@smallcircles@social.coop avatar

Ping @alcinnz want to pass recent finding to ya:

https://social.coop/@smallcircles/110445148829899767

I guess what Hixie is proposing is not in line with direction you wanna give to your browser impl? Not sure. But this intriguing. For a different project I've been looking a bit into - what I call a ". Everywhere." paradigm shift based on , and Component Model.

(Very much in 'hype cycle' stage for early adopters with growing attention in corporate world. Not so much so in circles yet)

sunfish, to random
@sunfish@hachyderm.io avatar

What's the question you've always wanted to ask about #WASI but never knew who or when or where to ask?

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