#WebAssembly
I've replaced the inner BitBLT loop of #SqueakJS with handwritten #WebAssembly, and it still works... Now to generate and install it live from #Smalltalk.
I'm glad it's friday and can finally watch some wasm.io presentations
Everything is changing all at once!
Cool #WebAssembly app for describing files in machine-computable form using #RDF.

WebAssembly-Framework Spin 1.0: Serverless-Anwendungen mit Wasm
Das neue Release der Open-Source-Software soll die Anforderungen der Full-Stack-Entwickler durch eine breite Unterstützung verschiedenster Sprachen erfüllen.

WebAssembly-Framework Spin 1.0: Serverless-Anwendungen mit Wasm
Huge shoutouts to @ricochetcode* for starting the recurring #WebAssembly Community Stream, so many useful tidbits in an incredibly accessible short recap. 👏
In the last edition learn about improvements to WAMR (WebAssembly Micro Runtime), the new baseline compiler for Wasmtime, Winch, updates on the specification and more! :owoCatBlush:
https://www.youtube.com/watch?v=7JbQVdYPoI8
(*also to Luke Wagner who told me about the blessed work Bailey has been doing on this!)
#tech people - I'm starting to read about #wasm which is obviously becoming the thing.
I'm not sure if I've got why it's substantial - it's a compilation target to rival #javaScript, right? But as it stands it's not looking to compete in the space of _website_ engineering so much as offering a brower-useable destination.
So the bonus is that that non-web languages compile to #webAssembly - which means that (eg) Doom-in-browser becomes a thing (I know it's already a thing) but the existing 'transpile-x-to-JavaScript' methods aren't quite disrupted.
tl;dr, I guess - is there a 'next few years' roadmap where I, a generalist who ends up doing a lot of webdev, can start to think about not keeping up with JavaScript?
@flaki I would certainly be very interested in #tcl support on #wasm , can you point me to any more detail on this?
#tcltk #webassembly
Working on an oscilloscope for web synth
I'm using a bilinear interpolation-based rendering method to avoid a pixelated look
Lots of very cool modern web tech in this too
Samples are sent from the audio thread to a web worker thread in a lock-free circular buffer via `SharedArrayBuffer`
There, I'm rendering the waveform and displaying it with #rustlang + #webassembly + `OffScreenCanvas`
No main thread used at all!

I just transpiled a #Smalltalk compiled method for calculating a Fibonacci number to #WebAssembly, and ran it. Now I have something to time-profile...
Last week at the #wasmio #wasmio23 conference our friends over at the VMWare Wasm Labs (🌐 wasmlabs.dev) presented about bringing interpreted languages to #WebAssembly — such as #ruby, #python, #php, and more, soon even comparably obscure languages like #tcl!).
Okay that was quite enough hashtags for now, but if your first thought was “…but why?!”, that's an easy answer: you want to meet your users where they are! What's better, telling your future users off with "sorry you will need to learn Rust/JavaScript/whatever first", or telling them "You know Python? Great, we support Python!"?
Exactly.
On the other hand, if your first thought was “okay... but how??” boy have I got a blogpost for you! Here we talk about how we use the Wasm Labs team's work in our extension engine at Suborbital:
https://blog.suborbital.dev/bringing-python-to-se2-with-webassembly

Catch it live - the Bytecode Alliance #WebAssembly Community stream up at 11:00 EST:
#Development #Releases
WebKit features in Safari 16.4 · Apple’s most gigantic WebKit release yet, including PWA features! https://ilo.im/11yb28
_____
#Browser #Safari #WebKit #WebDevelopment #WebDev #Frontend #PWA #WebApp #WebPush #AppBadges #WebComponents #ShadowDOM #CSS #HTML #JavaScript #WebAssembly #WebAPI #DeveloperTooling #WebInspector #SafariWebExtensions #SafariContentBlockers #Image #Audio #Video
Web Development recap for week 12/2023
https://discu.eu/weekly/webdev/2023/12/
#css #javascript #nodejs #programming #typescript #webassembly #webdev
Get RSS feeds and support this bot with the premium plan: https://discu.eu/premium
It's now possible to execute native WebAssembly on React Native using Wasm3!
https://github.com/cawfree/react-native-webassembly
Discussions: https://discu.eu/q/https://github.com/cawfree/react-native-webassembly
I’ve been quiet lately, working on this PR! This adds support for loading & evaluating Open Policy Agent WASM bundles in an AssemblyLift function.
Hoping to have a demo written soon!
Carried on the work with #simd I've been doing recently
I've ported over the vocoder effect I built to web synth to use #wasm SIMD, now that it's supported in Safari
Changed the underlying chains of biquad filters used by the #dsp to use struct-of-arrays rather than array-of-structs, and apply 4 at a time
Good for a very dramatic perf improvement, at least 5x but I didn't do fine-grained measurement
Built with #rust #rustland #webassembly #webaudio
Tarmac new release v0.4.0 - Microservices with WebAssembly Functions
https://github.com/madflojo/tarmac/tree/v0.4.0
Discussions: https://discu.eu/q/https://github.com/madflojo/tarmac/tree/v0.4.0
Introducing Kotlin/Wasm: the full transcript of the talk we presented yesterday with @bashorov at Wasm I/O, including the videos of the demos. Enjoy! https://seb.deleuze.fr/introducing-kotlin-wasm/

#WebAssembly Providers Speed Ahead to Fill #Serverless Gaps
https://thenewstack.io/webassembly-providers-speed-ahead-to-fill-serverless-gaps/
The Tug-of-War over Server-Side WebAssembly
https://digest.browsertech.com/archive/browsertech-digest-the-webassembly-rift/
Discussions: https://discu.eu/q/https://digest.browsertech.com/archive/browsertech-digest-the-webassembly-rift/
The Tug-of-War over Server-Side WebAssembly
Link: https://digest.browsertech.com/archive/browsertech-digest-the-webassembly-rift/
Discussion: https://news.ycombinator.com/item?id=35288059
“Every big-boy language today needs pattern matching, so naturally https://grain-lang.org has pattern matching!”
#wasmio #wasmio23 #webassembly

Wasm I/O Dan-ception: @ricochetcode on-stage, co-presenting with @danologue who is present via a pre-recorded video, himself referring back to @sunfish's earlier talk (without knowledge of the actual contents as it happened). :blobcateyesspin:
Hat tip for pulling off this "hybrid presence" moment, masterfully executed :foxClap:

“As a a devrel at @stackblitz I frequently have to liaison between engineers and e.g. product managers who have no idea what WebAssembly is. Not having an accessible description to what this technology entails is making that a lot harder than it should be…” — @sylwia at the Wasm I/O 2023 panel discussion on making #WebAssembly more accessible (somewhat paraphrased)
📸 @hola_soy_milk @k33g_org Oscar Spencer & @sylwia at #wasmio #wasmio23

Use the language of your choice with Pages Functions via WebAssembly
https://blog.cloudflare.com/pages-functions-with-webassembly/
#CloudflareWorkers #CloudflarePages #WebAssembly #WASM
I often like to say “Let computers do what computers do best”, and using IDLs (interface-definition languages) to describe the *intent* of the interface, then using binding generators to do the hard work of implementing that intent for us in a machine-understandable manner is such a beautiful example of that :BlobhajTinyHeart:

OMG, I have dreamt of combining #WebAssembly and #RSocket for a long time. Jarrod Overson did it with WasmRS! https://github.com/WasmRS/docs/blob/main/wasmrs.md

DotNetIsolator: a new experimental .NET package from Steve Sanderson for running code in an isolated sandbox using WebAssembly and WASI:
Relatedly, we have just published a blogpost about bringing #Python into #WebAssembly on our wasm-based plugin engine, Suborbital, so if you care for nifty hacks and sandboxing the snek, check it out! 🐍
https://blog.suborbital.dev/bringing-python-to-se2-with-webassembly
It has been a day-long trek but I have finally arrived to Barcelona for tomorrow's wasmio.tech to talk (and watch ppl talk) shop about #webassembly :blobcatnerd:
#wasmio
Serverless #webassembly - good high-level article
https://thenewstack.io/serverless-webassembly-for-browser-developers/
@surma @lgarron I'm also not sure what's wrong with rollup (vite is using it as well under the hood).
@surma Yeah, I think wasm-bindgen is almost as low-level as you can get in terms of compiling from Rust to WASM (emscripten is lowest level), so it should definitely work, good point! 👆
@lgarron I assume, you've already tried wasm-pack?
https://github.com/rustwasm/wasm-pack
If yes, I'd be interested why it wouldn't work for you.
Oh wow!
A bit over a year ago (on my mastodon.technology account), I've predicted that someone will build a collaborative video editor with #WebAssembly in the next year or so (which is this year).
Something like #Figma, but for video.
Well, seems like the prophecy will soon be fulfilled:
Zack Radisic is behind this project:
https://zackoverflow.dev/
That person knows what their are doing.
Let's see, how that turns out. 🍿
On my way to Barcelona for Wasm I/O to present with @bashorov our joint talk "Introducing Kotlin/Wasm" on Friday. Never too late to buy a ticket and attend 😉
https://wasmio.tech/sessions/introducing-kotlin-wasm/
⛅ Cloud Native
Run your own #webassembly cloud (kudos to @rawkode)
Kubernetes beginners tutorial by the excellent Kunal Kushwaha
@saiyam teasing Kubernetes 201 learnings series
a world to win: webassembly for the rest of us
https://wingolog.org/archives/2023/03/20/a-world-to-win-webassembly-for-the-rest-of-us
Discussions: https://discu.eu/q/https://wingolog.org/archives/2023/03/20/a-world-to-win-webassembly-for-the-rest-of-us
Web Development recap for week 11/2023
https://discu.eu/weekly/webdev/2023/11/
#css #javascript #nodejs #programming #typescript #webassembly #webdev
Get RSS feeds and support this bot with the premium plan: https://discu.eu/premium
Almost forgot about this PR I made a year ago
https://github.com/rustwasm/wasm-pack/pull/1117
but yesterday it finally shipped in the latest wasm-pack release
https://github.com/rustwasm/wasm-pack/releases/tag/v0.11.0
Now you can compile your #Rust code to #wasm and generate #deno compatible bindings in a single step.
How Climatiq uses Rust and WebAssembly to achieve latencies as low as 30ms
https://www.gustavwengel.dk/how-we-keep-the-climatiq-api-fast
Discussions: https://discu.eu/q/https://www.gustavwengel.dk/how-we-keep-the-climatiq-api-fast
mlang - a new programming language for WebAssembly
https://github.com/ligangwang/m
Discussions: https://discu.eu/q/https://github.com/ligangwang/m
The ability to run R in a browser via webR is one of the most exciting #RStats developments 💡 This blog post from @hrbrmstr shows you how to set up a minimal webR-powered app on your own server!
https://rud.is/b/2023/03/12/almost-bare-bones-webr-starter-app/
"WebR is a version of the open-source R interpreter compiled for WebAssembly, along with a supporting TypeScript library for interacting with the console and R objects from a JavaScript environment."
https://www.tidyverse.org/blog/2023/03/webr-0-1-0/
/ht @ethanwhite
Web Development recap for week 10/2023
https://discu.eu/weekly/webdev/2023/10/
#css #javascript #nodejs #programming #typescript #webassembly #webdev
Get RSS feeds and support this bot with the premium plan: https://discu.eu/premium
Times they are a changin’….
Not only is R able to compile to #WebAssembly and run in the browser, this is the first news article where I have seen this:
“Absolute game changer of an #RStats package," Bruno Rodrigues, author of the chronicler R package, **said in a post on #Mastodon**.”
https://www.infoworld.com/article/3690508/wasm-comes-to-r.html
So today I dug through a bunch of Go code, to then write some C bindings for a tool that runs (C)Python inside Wasm, topped it all off by writing a small Python example program as demonstration.
Neither of these languages I "know" how to program in. :blobcateyesspin:
#webassembly is fun :blobfoxangrylaugh:
Web Development recap for week 9/2023
https://discu.eu/weekly/webdev/2023/9/
#css #javascript #nodejs #programming #typescript #webassembly #webdev
Get RSS feeds and support this bot with the premium plan: https://discu.eu/premium
Over the last few months, my colleague Patrick Jahr and I wrapped four #ProjectFugu APIs for #Blazor #WebAssembly: The Badging, File Handling, Web Share, and Async Clipboard API. You can now conveniently use these modern web #capabilities from C#. Thanks to @KristofferStrube for his valuable insights into wrapping APIs for Blazor and his feedback on our article. #webcapabilities https://www.thinktecture.com/net/adding-superpowers-to-your-blazor-webassembly-app-with-project-fugu-apis/