Masthash

#WASM

Markus Eisele
4 hours ago

I published `vite-plugin-vue-hsml@0.1.0` just some seconds ago 🚀

It's 100% unstable 😆, but uses #Rust via #wasm 🦀

I didn't even test what would happen if it would throw an error 😜

A next step is to create a #vscode extension to build syntax highlighting and I never did something like that

https://www.npmjs.com/package/vite-plugin-vue-hsml

I made some minimal first steps with #wasm using #wasmpack in #Rust so I can call #hsml in #nodejs 🚀

Now I can try to implement a `vite-plugin-vue-hsml` to support
```
<template lang="hsml"/>
h1 This is hsml :)
</template>
```
in `.vue` files

https://github.com/Shinigami92/hsml/pull/6/files

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 "#WebAssembly. Everywhere." paradigm shift based on #WASM, #WASI and Component Model.

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

"This document proposes to enable browsers to render web pages that are served not as HTML files, but as Wasm files, skipping the need for #HTML, #JS, and #CSS parsing in the rendering of the page, by having the #WebGPU, #ARIA, and #WebHID APIs exposed directly to #Wasm. To enable developers to continue to use the wider range of APIs exposed on the web, a mechanism to "escape" to a JavaScript environment would need to be made available as well."

Dan Gohman
4 days ago

Virtual Platform Layering is all about running code built for one world on a different world, using virtualization. @ricochetcode and Luke Wagner have a great deep dive on the topic:

https://www.youtube.com/watch?v=qxBPMm-bd10

#wasm #wasi

deadprogram
5 days ago

"Note: Go won't work with this until v1.22 because it doesn't yet support 'go:wasmexport' even if TinyGo works today"

https://github.com/kubernetes-sigs/kube-scheduler-wasm-extension/pull/6

#tinygo #wasm #kubernetes #k8s

Tao of Mac
5 days ago

SQLite builds for WASI

Well, this was a surprise to pick up over breakfast. Apparently a bit of inspired weekend hacking from last year was actually useful for people to build upon. (...)

#hack #ashell #weekend #ipad #wasm #vmware #sqlite

https://taoofmac.com/space/links/2023/05/24/0818

SQLite builds for WASI
Chris Biscardi
5 days ago

A look at a real-world Leptos #wasm application and what its like to develop web UI with #rustlang as the primary language, rather than #javascript

https://www.youtube.com/watch?v=ie13kswrWu4

Jonathan Beri
6 days ago

Is this nerd catnip or what? RISC-V, WebAssembly & Synth tunes. https://www.youtube.com/watch?v=B5SpcO1NSKc

#riscv #wasm #eurorack

1 week ago

Same!

> I've always tended to be a web maximalist, but I've never felt more optimistic than I do now about the power of the modern web as a true application platform. @ameo

https://cprimozic.net/blog/building-a-signal-analyzer-with-modern-web-tech/

#Browser #WebDev #WebWorkers #SharedArrayBuffer #OffscreenCanvas #Wasm #WebGPU

Axel Rauschmayer
2 weeks ago

Evolution of WebAssembly: past, present, future (Bailey Hayes)
https://www.youtube.com/watch?v=6_BRLqxiZPU
#WebAssembly #Wasm

Steve Croxford
2 weeks ago

For you #dotnet #wasm fans out there, it looks like #wasi experiment is going to be moving from an experiment to be supported in dotnet 8. Want to run dotnet code inside a dotnet app while fully isolated? or how about running aspnetcore server in a browser, well wasi is for you: https://www.youtube.com/watch?v=gKX-cdqnb8I

૮༼⚆︿⚆༽つ
2 weeks ago

#nusa TODO

- [ ] try wzprof to profile #wasm module compiled from various languages
https://blog.stealthrocket.tech/performance-in-the-spotlight-webassembly-profiling-for-everyone/

Golang Weekly
2 weeks ago

Capsule: the WASM runners project (a long "Getting Started" with the #Capsule project (written with #Golang and #Wazero) - a simple way to run #TinyGo #WASM modules from #Golang)

https://k33g.hashnode.dev/capsule-the-wasm-runners-project

Discussions: https://discu.eu/q/https://k33g.hashnode.dev/capsule-the-wasm-runners-project

#golang #programming #webassembly

Tom
2 weeks ago

I'm now successfully compiling some zig to #wasm. https://github.com/contextfreeinfo/tacana/blob/9174bb8b9426640b30c79a083c766699c21e37b6/examples/zig/explore-webgpu.zig And then intercepting those calls in the host. https://github.com/contextfreeinfo/tacana/blob/9174bb8b9426640b30c79a083c766699c21e37b6/src/main.rs#L132 Some of this requires gymnastics. And not yet calling actual #webgpu in my host functions.

John Bokma
2 weeks ago

Programming Best Practices, Understanding WASM, and Fast hashing

#SoftwareDevelopment #wasm #ComputerScience

👉 Please retweet if you ❤ Plurrrr. Thanks! 👍

https://plurrrr.com/archive/2023/05/11.html

Tom
2 weeks ago

This blue screen is brought to you by wgpu-native, though coded in Rust. I think there's possibly a method to my madness. #webgpu #wasm

Linux window with plain blue content and title Tacaná.
John Bokma
2 weeks ago

Programming Best Practices, Understanding WASM, and Fast hashing

#SoftwareDevelopment #wasm #ComputerScience

👉 Please retweet if you ❤ Plurrrr. Thanks! 👍

https://plurrrr.com/archive/2023/05/11.html

jbz
2 weeks ago

🦀 50 Shades of Rust
Or emerging Rust GUIs in a WASM world
— monadical.com

#Rust #WASM
https://monadical.com/posts/shades-of-rust-gui-library-list.html

Dan Gohman
2 weeks ago

#Wasm components which import and export the same interface are stackable.

Linking isn't based on a single global namespace, so there's no conflict in having many components implement the same API. So you can chain together many components, much like in Unix pipelines, but with libraries that you call.

John Bokma
2 weeks ago

Programming Best Practices, Understanding WASM, and Fast hashing

#SoftwareDevelopment #wasm #ComputerScience

👉 Please retweet if you ❤ Plurrrr. Thanks! 👍

https://plurrrr.com/archive/2023/05/11.html

Melinda Marks
2 weeks ago
Lobste.rs
2 weeks ago

wzprof, a cross-language profiler using WebAssembly https://github.com/stealthrocket/wzprof #go #performance #wasm

Lobsters
2 weeks ago

wzprof, a cross-language profiler using WebAssembly https://github.com/stealthrocket/wzprof | https://lobste.rs/s/iem3oe #go #performance #wasm

Marc Vertes
3 weeks ago

https://goplay.tools is pretty neat.
This nice playground allows you to run #go programs directly in the browser, thanks to #yaegi interpreter compiled in #wasm. Nice job!

RT k33g_org: 👋 Today, I started the first pages of a new ebook, "#WASI World" (title may change).
The central theme is #Webassembly outside the browser.

With several topics:
- #WASM SDK (@realwasmedge #Wazero, ...)
- Host & Module SDK (@extism, @\SuborbitalDev ...)
- Applicative Frameworks… https://twitter.com/i/web/status/1656560152340844544

Watching bits of #googleio2023 today I am surprised Google have not bought Jetbrains yet.

Not that I wish they would as I think better if they don’t.

Biggest take away was #kotlin + #wasm will be getting a lot of attention going forward

Chris Dickinson
3 weeks ago

WHEW so this took a while to write.

I went to go explain why WASM might succeed at JVM's goal of "write once, run anywhere" and found that I ... really needed to define my terms better.

So, here's the first part of a series on understanding #wasm: virtualization.

https://www.neversaw.us/2023/05/10/understanding-wasm/part1/virtualization/

(Get excited for the part where I find a paper from 1978 that validates my mental framework!)

#writing #blog

Jan :rust: :ferris:
3 weeks ago

It's alive!🎉

I've built a #transpiler in #Rust, compiled it to #WASM and integrated it into a #Vue app! :awesome:

It's called selecuery.✨

It can transpile X++ select statements into query expressions. If you think "X++" is a typo and you don't have any idea of what I'm talking about, don't worry.😄

Have a look at the video below.

This project is dear to my heart! ❤️ I've started it 2019 for learning #RustLang.

I think, I've been transpiled during this project as well.🤪

#Compiler #Magic

A video showing a web app with two code editors side-by-side.
On the left, source code is entered, which looks like an SQL dialect. As the code is entered on the left, the code editor on the right updates in real-time. The right editor shows the SQL-like statement in a very different form, namely as a sequence of method calls on a query object.

So it has just transpiled a declarative SQL-like statement into a procedural query expression.

You can think of it a bit like C#'s LINQ: LINQ also has a declarative form and a procedural form.
Edoardo Vacchi
3 weeks ago

@lobsters «There are several high-quality #WASM runtimes that work outside the browser environment, [...] The one I like most, however, is #wazero» yes, I do feel the same way 😬

Lobste.rs
3 weeks ago

Functions as a Service in Go with WASM, WASI and Rust https://eli.thegreenplace.net/2023/faas-in-go-with-wasm-wasi-and-rust/ #go #rust #wasm

Lobste.rs
3 weeks ago

Ambient 0.2: multiplayer UI, sound, clientside WASM, and more https://www.ambient.run/post/ambient-0-2 #web #games #rust #graphics #wasm

Lobsters
3 weeks ago

Ambient 0.2: multiplayer UI, sound, clientside WASM, and more https://www.ambient.run/post/ambient-0-2 | https://lobste.rs/s/uviyja #games #graphics #rust #wasm #web

Nigel Poulton
4 weeks ago

New blog post.

I've been diving into containerd shims and WebAssembly trying to figure it all out. So... I put my findings together as a blog post.

https://nigelpoulton.com/webassembly-and-containerd-how-it-works/

#WebAssembly #Wasm #containerd #Kubernetes

containerd helping WebAssembly climb Kubernetes logo
Matthias Wagler
4 weeks ago

«I’ve been playing with #SQLite in the browser via #WASM the past few days. I have to say, it’s really nice to have a full database available locally.»

@devongovett

via https://twitter.com/devongovett/status/1600679294833156097

🤯

Dan Gohman
4 weeks ago

#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

Jan :rust: :ferris:
4 weeks ago

Urgh, #Rust + #WASM + #Vue is such a dream stack! ✨ 💖

Stay tuned for some magic in the next few days... 🤞

#RustLang #VueJS #WebAssembly #Transpiler(:awesome:)

Mx. Savanni D'Gerinel
4 weeks ago

At this point, I have an expression that builds just the web portion of the app from a node2nix set of dependencies and the directly using webpack to generate the end result.

If I can build the rust-wasm module, I should be able to include it as a dependency.

#Wasm #Rust #nixos

Jan :rust: :ferris:
1 month ago

Whoop! 🎉 I've just called a #Rust #WASM module from my #Vite #Vue app! :awesome:

It uses rsw with it's Vite plugin:

https://github.com/rwasm/vite-plugin-rsw

Good examples can be found here:
https://github.com/rwasm/learn-wasm

It requires a bit of config, but not too bad, given that it's bleeding edge.

What tripped me up in the very end:
You need to call `init()` first from your wasm module, otherwise error "wasm is undefined", when calling your function.

https://users.rust-lang.org/t/wasm-pack-without-node-js-npm/55949

#WebAssembly #WebDev #VueJS #RustLang

Lobsters
1 month ago

loxcraft: a compiler, language server, and online playground for the Lox programming language https://github.com/ajeetdsouza/loxcraft | https://lobste.rs/s/4rqlsy #compilers #compsci #plt #release #rust #wasm

🥳 It’s happening: the Intent to Deprecate and Remove for Web SQL has been sent: https://groups.google.com/a/chromium.org/g/blink-dev/c/fWYb6evVA-w/m/pziWcvboAgAJ; read more about our plans on the blog: https://developer.chrome.com/blog/deprecating-web-sql.

Together with the SQLite team, we’ve prepared a replacement for Web SQL based on SQLite Wasm backed by the origin private file system (OPFS): https://developer.chrome.com/blog/sqlite-wasm-in-the-browser-backed-by-the-origin-private-file-system/.

There’s also a Web SQL 🔜 SQLite Wasm migration guide: https://developer.chrome.com/blog/from-web-sql-to-sqlite-wasm/.

#️⃣ Hashtags: #SQLite #WebSQL #Wasm #WebAssembly #OPFS #ProjectFugu

Markus Eisele
1 month ago

#Spin is an open source framework for building and running fast, secure, and composable cloud microservices with WebAssembly https://github.com/fermyon/spin
#wasm

Aram 🌈♾️
1 month ago

On June 29th, I'll be giving a talk about developing #rustlang #wasm plugins for #zellij in the Vienna Rust meetup.

It's still a while off, so I'll have more details as the date approaches - but if you're in the area, drop by to say hi.

RT jeromepetit: Nous avons le plaisir de recevoir @\k33g_org au @\poitoujug pour nous parler de #WASM avec #Extism !

Robin Lovelace
1 month ago

Looks like a world first to me 🚀 New functionality developed as part of collaboration between @activetraveleng and @turinginst 🔥
#opensource contributions welcome 🙏👇
---
RT @CarlinoDustin
Introducing the world's first? open source tool to sketch areas bounded by streets! Give it a shot at https://dabreegster.github.io/route_snapper/ and feedback at https://github.com/dabreegster/route_snapper/issues
#openstreetmap #rust #wasm #gis
https://twitter.com/CarlinoDustin/status/1651555058897625088

Jaap
1 month ago

With https://Tusk.Ninja's ''Txt2Img' you can create an image online, upload a background image (optional), add text, emoji's etc. and post it directly as a 'Toot' to your #Mastodon followers. Works on mobile and desktop. It adds 'alt-text' automatically too.

It's a #dotNET 8 Preview 3 #Blazor #WASM SPA (web application)

Tusk
.

Ninja

-- Created with TXT2IMG https://Tusk.Ninja
Nigel Poulton
1 month ago

Love it. runwasi 💪💪 #wasm #WebAssembly

Mug with runwasi logo
George Stagg
1 month ago

For those R fans waiting patiently for a version of shinylive.io for R, here is a little sneak preview of the progress we've made recently. This is a screen capture showing an editable R Shiny app, running without a Shiny server, on Wasm via Shinylive and webR😀 #RStats #wasm

A screen capture of a Shinylive session. On the left is R Shiny code, and on the right is the resulting application.

The video demonstrates editing the code on the left, and the application on the right updating live to reflect the changes.
Nigel Poulton
1 month ago

I'm about to chat and learn about #Wasm at OPEN SPACE SESSION 1 here at #KubeConEU

11am

#WebAssembly

Open space lounge at KubeConEU
Kara de la Marck
1 month ago

Super easy way to play with scikit-learn examples in your browser! 👏 👏
#wasm

This is cool, @adrin 🎉

https://scikit-learn.org/dev/auto_examples/index.html

Guido Schmidt
1 month ago

Finally back on the #ziglang train to #thingumbrella #wasm world.

Changed my edge of chaos to use thi.ng/wasm-api-canvas instead of faking pixels via div/dom elements + added several variations... let's call it a 'staggered' edge of chaos.

#generative #GenerativeArt #genart #CreativeToots #CreativeCoding

Karsten Schmidt
1 month ago

#ReleaseWednesday This round of releases includes (among others):

- https://thi.ng/timestep - new package for fixed timestep simulation updates, discussed in previous tweet
- https://thi.ng/api - added function to simplify typed array initialization from vector data, e.g. super useful for #WebGL / #WASM interop
- https://thi.ng/scenegraph - added .mapLocalPointToGlobal() to map local point from anywhere in the scene hierarchy to world space (e.g. useful for camera controllers, view matrix creation)

Other small additions/fixes to https://thi.ng/color, https://thi.ng/random, https://thi.ng/vectors and https://thi.ng/webgl...

Link to changelogs:

https://github.com/thi-ng/umbrella/blob/develop/README.md#latest-updates

Happy coding! 🤩

#ThingUmbrella #TypeScript #OpenSource

Nigel Poulton
1 month ago

Looks like i dodged a bullet today. #Wasm and #AKS 😄 @squillace

Ralph S pontificating about Wasm on AKS ;-)
David Jones
1 month ago

It's surprisingly straightforward to put WASM programs into JavaScript as Base64 literals:

wasm$b64 = "AGFzbQEAAAABCAJgAX8AYAAAAhQCASQFcHJpbnQAAAEkBHB1dGMAAAMCAQEHCQEFaGVsbG8AAgohAR8AQRQQAUH3ABABQe8AEAFB8gAQAUHsABABQeQAEAEL"
wasm$ = atob(wasm$b64)
bs = Uint8Array.from(wasm$, (e)=>e.charCodeAt(0));
compileWASM = WebAssembly.instantiate(bs, imports)

Though it is obviously not particularly efficient.

(a complete example here: https://gitlab.com/drj11/tutorial-wasm/-/blob/main/wasm2.html)

#WASM

Dan Gohman
1 month ago

From a systems programming perspective, a key aspect of #Wasm GC is that it's not layered on top of an address space.

There's no way in Wasm code to get a "raw pointer" to a GC object. This means that APIs built on exporting linear memory and passing around pointers won't be directly usable in languages built on Wasm GC.

The Wasm component model's shared-nothing design will allow GC languages and linear-memory languages to use the same APIs and interoperate, enabling a unified ecosystem.

Dan Gohman
1 month ago
Veit Schiele
1 month ago

Now begins the talk by Roman Yurchak (@rth) on Pyodide (@pyodide): https://www.meetup.com/python-users-berlin
#Python #Berlin #WASM

📢 Build in-browser WordPress experiences with WordPress Playground 🛝 and WebAssembly! The full(!) WordPress powered by PHP running solely in the browser with WebAssembly 🤯. Learn how Adam Zieliński pulled this off! https://developer.chrome.com/blog/wordpress-playground/
#WordPress #Wasm #WebAssembly #PHP

tooz
2 months ago

@isntitvacant I’ve been attempting a deep dive into #wasm / #wasi right now and it would probably be very helpful to see notes turned into a blog post.

Chris Dickinson
2 months ago

I am tempted to turn my ad-hoc notes about the projects, concepts, and contributions going on in #wasm and #wasi into a blog post 🤔

(Though, maybe I'm the only one that finds it a little impenetrable to sort out what's going on from the outside?)

Veit Schiele
2 months ago

I’m already looking forward to the @pyberlin meetup on 13 April with a talk by Roman Yurchak (@rth) on Pyodide (@pyodide): https://www.meetup.com/python-users-berlin-pub/events/291107839/
#Python #Pyodide #WASM

I spent some time hacking with #wasm in #rustlang and here's what I've learned.

wasmtime doesn't have sufficient WASI support for my needs

wasmer looks more promising and has solid WASI support but their examples don't even compile for me.

womp womp

mcdwayne
2 months ago

Learning about #Wasm from @baihay in her #DevOpsDays #Nashville Ignite talk: "Wasm Whirlwind"

@NashvilleDevOps