#wasm
#CheerpJ 3.0: a JVM replacement in HTML5 and WebAssembly to run Java applications (and applets) on modern browsers https://leaningtech.com/announcing-cheerpj-3-0-a-jvm-replacement-in-html5-and-webassembly-to-run-java-applications-and-applets-on-modern-browsers/
#Java #wasm
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."
#Linux #Kernel module running #WASM filters with wasm3 - https://github.com/cisco-open/wasm-kernel-module #dailylinks
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:
"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

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
Is this nerd catnip or what? RISC-V, WebAssembly & Synth tunes. https://www.youtube.com/watch?v=B5SpcO1NSKc

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
Evolution of WebAssembly: past, present, future (Bailey Hayes)
https://www.youtube.com/watch?v=6_BRLqxiZPU
#WebAssembly #Wasm
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
Javy: JavaScript to WebAssembly toolchain
https://github.com/bytecodealliance/javy
#ES_Next_News #ECMAScript #JavaScript #WebAssembly #Wasm
#nusa TODO
- [ ] try wzprof to profile #wasm module compiled from various languages
https://blog.stealthrocket.tech/performance-in-the-spotlight-webassembly-profiling-for-everyone/
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
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.
Programming Best Practices, Understanding WASM, and Fast hashing
#SoftwareDevelopment #wasm #ComputerScience
👉 Please retweet if you ❤ Plurrrr. Thanks! 👍
Programming Best Practices, Understanding WASM, and Fast hashing
#SoftwareDevelopment #wasm #ComputerScience
👉 Please retweet if you ❤ Plurrrr. Thanks! 👍
🦀 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
Understanding Wasm, Part 1: Virtualization https://www.neversaw.us/2023/05/10/understanding-wasm/part1/virtualization/ #wasm
Understanding Wasm, Part 1: Virtualization https://www.neversaw.us/2023/05/10/understanding-wasm/part1/virtualization/ | https://lobste.rs/s/ha2x0q #wasm
#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.
Programming Best Practices, Understanding WASM, and Fast hashing
#SoftwareDevelopment #wasm #ComputerScience
👉 Please retweet if you ❤ Plurrrr. Thanks! 👍
Great @cloudnativefdn #kubecon #cloudnativecon recap from my colleague Paul Nashawaty and I still wish I could have gone (it was too close to RSA)
https://www.techtarget.com/searchitoperations/opinion/Takeaways-and-emerging-trends-from-KubeCon-Europe-2023
wzprof, a cross-language profiler using WebAssembly https://github.com/stealthrocket/wzprof #go #performance #wasm
wzprof, a cross-language profiler using WebAssembly https://github.com/stealthrocket/wzprof | https://lobste.rs/s/iem3oe #go #performance #wasm
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
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!)
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.🤪
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
Functions as a Service in Go with WASM, WASI and Rust https://eli.thegreenplace.net/2023/faas-in-go-with-wasm-wasi-and-rust/ | https://lobste.rs/s/hrhmor #go #rust #wasm
50 Shades of #Rust or emerging Rust #GUIs in a #WASM world
https://monadical.com/posts/shades-of-rust-gui-library-list.html
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
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/
«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.»
via https://twitter.com/devongovett/status/1600679294833156097
🤯
Urgh, #Rust + #WASM + #Vue is such a dream stack! ✨ 💖
Stay tuned for some magic in the next few days... 🤞
#RustLang #VueJS #WebAssembly #Transpiler(:awesome:)
How #ApacheAPISIX Enables #Wasm Functionality https://api7.ai/blog/how-apisix-supports-wasm
I want to talk about WebGPU https://cohost.org/mcc/post/1406157-i-want-to-talk-about-webgpu | https://lobste.rs/s/q4ment #graphics #wasm #web
I want to talk about WebGPU https://cohost.org/mcc/post/1406157-i-want-to-talk-about-webgpu #web #graphics #wasm
Will JavaScript become the most popular WebAssembly language?
https://thenewstack.io/will-javascript-become-the-most-popular-webassembly-language/
#ES_Next_News #ECMAScript #JavaScript #WebAssembly #Wasm
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
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
#Spin is an open source framework for building and running fast, secure, and composable cloud microservices with WebAssembly https://github.com/fermyon/spin
#wasm
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
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)
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
#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! 🤩
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)
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.
The RFC for the design for #Wasm GC support in #Wasmtime is now up!
https://github.com/fitzgen/rfcs-2/blob/wasm-gc/accepted/wasm-gc.md#summary
WordPress CLI and PHPUnit fully offline and in the browser.
Incredible stuff. #php #wordpress #wasm
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
@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.
Learning about #Wasm from @baihay in her #DevOpsDays #Nashville Ignite talk: "Wasm Whirlwind"
@NashvilleDevOps