tomayac, to webassembly
@tomayac@toot.cafe avatar

📢 The slides of Thomas Nattestad's and my talk on 👉 at Google 👈 are available at https://docs.google.com/presentation/d/1bnYntCeekIev8hZnizixvLPUV7ljfJ2hNO6vBOcnXlE/edit?usp=sharing.

In the talk, we showed a lot of examples of how Google uses in its products, creates tooling for Wasm, and contributes to Wasm's standardization.

For questions, catch either of us at the conference.

tomayac,
@tomayac@toot.cafe avatar

🎥 Woohoo, the team now has released the recording of our talk "WebAssembly at Google": https://youtu.be/2En8cj6xlv4?si=7a4uG958VkModwcw.

erikhorton, to rust

Building a game can be a fun process, but how do you get it to your users? has a great toolchain for building for other platforms, so here's how you can deploy a app to mobile (), as well as to http://itch.io (with ).

https://blog.erikhorton.com/2024/03/31/deploy-bevy-to-android-and-wasm.html

zobier, to webassembly
zobier avatar

bare-bones mash-up of the iced (ui lib) and wasmer (wasm runtime) hello worlds https://github.com/zobier/waui/blob/main/src/main.rs

tomayac, to webassembly
@tomayac@toot.cafe avatar

An <activity-graph> web component similar to what you know from GitHub: https://mariohamann.com/activity-graph-component. I love this trend of server-rendered components. See the demo: https://mariohamann.github.io/activity-graph/.

opengisch, to webassembly

@qgis im Webbrowser? Kann man inzwischen auch. Die Präsentation von Michael Schmuki (OPENGIS.ch) und Andreas Neumann (@eth) an der @FOSSGIS_Konf kann online angesehen werden https://buff.ly/3ISZtvJ

haubles, to webassembly
@haubles@fosstodon.org avatar

WASI 0.2 is here ✨ the Component Model unlocks #webassembly's potential outside the browser, and brings with it a fundamentally different way to build for the #web and beyond.

#Wasm components are language-agnostic units of code, that use more secure interaction and communication methods, and unlock exciting potential for the future of composability and compatibility.

Learn more about it from the people building it at @devs in @TheNewStack https://thenewstack.io/wasi-0-2-unlocking-webassemblys-promise-outside-the-browser/

mhneifer, to rust
smallcircles, to webassembly
@smallcircles@social.coop avatar
Vrixyz, to rust
@Vrixyz@mastodon.gamedev.place avatar

How would one go about providing panic reporting in web with ? @getsentry ; I’m exploring the space https://github.com/Vrixyz/web_panic_report, let’s discuss !

nwah, to Emulation

Can't believe I've actually got this working....

Atari800 core compiled to WebAssembly and running in the browser—with sound.

#atari #atari800 #emulation #retrocomputing #wasm

Screen recording showing the Atari 8-bit game Blue Max booting, and playing the intro song.

TinyGo, to golang Spanish

We just updated the TinyGo Playground with the latest versions of everything. Plus dark mode.
What? You didn't know you can try TinyGo online including simulated hardware powered by WebAssembly? :)
https://play.tinygo.org/

gws, to webassembly
@gws@mstdn.social avatar

I recently wrote a deep-dive blog post discussing the patches we make to LLVM Flang to cross-compile objects from Fortran source for . It's at https://gws.phd/posts/fortran_wasm/, do take a look if you're interested. With recent releases of LLVM, the patches are now much easier to handle than they used to be -- though, admittedly, still pretty hacky. There are also some fun little interactive BLAS & LAPACK demos near the end of the post, like this hand-drawn digit classifier.

A video showing a demo app consisting of an empty box on the left and a histogram on the right. The video shows hand-drawn digits being written into the box (e.g. with a mouse or touchscreen). The histogram is updating live as the digits are drawn. It shows a probability distribution over the digits 0-9, attempting to classify which digit has been drawn.

preslavrachev, to golang
@preslavrachev@mastodon.social avatar

Today, I found by accident that the demo site I created 3 years ago to accompany my book "Generative Art in Go" is till alive an kicking!

https://goart.netlify.app/

We are talking about crude generative art sketches like the one on the photo. Upload a photo in whichever resolution you want, and leave the generator to do its job.

It's all done in the browser thanks to WASM.

I am interested to yee your creations!


programming

gws, to webassembly
@gws@mstdn.social avatar

This is a wonderful article about WebAssembly, webR, and more at https://www.nature.com/articles/d41586-024-00725-1

In case anyone is wondering, when I was still working at Newcastle we did indeed improve assessing R (and Python) code in @numbas. The Numbas programming extension evaluates learner-submitted code in Pyodide and webR, running under : https://github.com/numbas/numbas-extension-programming

devs, to webassembly
@devs@fastly.social avatar

Meet Jco 👋

The latest JS toolchain/runtime built specifically for components and WASI 0.2. Get all the details in the Bytecode Alliance announcement:

https://bytecodealliance.org/articles/jco-1.0

pybonacci, to webassembly
@pybonacci@mastodon.social avatar

No installation required: how WebAssembly is changing scientific computing
https://www.nature.com/articles/d41586-024-00725-1

#wasm

tomayac, to webassembly
@tomayac@toot.cafe avatar

📖 Did you ever want to learn how to compile programming languages to ? If so, my new guide is for you.

Compiling to and optimizing with :

👉 https://web.dev/articles/binaryen 👈

At the worked example of a synthetic toy language called ExampleScript, read how to compile it to WebAssembly and how to optimize the output!

voxpelli,
@voxpelli@mastodon.social avatar

@tomayac Nice! Have you looked at ? That's another intriguing optimisation step for / : https://github.com/bytecodealliance/wizer

rysiek, to webassembly
@rysiek@mstdn.social avatar

Okay so, with #WASM we can have pretty much any programming language in a browser, right?

So I could, say, come up with my own very special programming language and only use that client side on my website.

And you could come up with your programming language, and use that client side on your website.

We could have a different programming language for each domain even!

I will call these: domain-specific languages.

:blobcatpeek:

#Programming #JavaScript

screwtape, to scheme
@screwtape@mastodon.sdf.org avatar

@rml did you see the shindig? Tbh when I think of a scheme hacker with a lot of web creation experience who isn't @Sandra or @chris (or Christine herself) I think of you.
@cwebber

SnoopJ, to python
@SnoopJ@hachyderm.io avatar

Managed to build the and get it running in wasmtime via the API, thanks to @brettcannon's build script and documentation 👀

SnoopJ,
@SnoopJ@hachyderm.io avatar

The magic of and is that as long as you can feed your target program to a runtime capable of understanding it, everything else just kinda works, because it's already expressed on the far side of the abstraction boundary.

I have not written a line of before, but I was able to slightly tweak one of the examples to get the CPython WASI build running for the most basic task.

omenos, to programming
@omenos@fosstodon.org avatar

Decided to try and compare the general base program size of several languages. I wrote a handful of Hello World programs, and stripped them of everything. Here's the final results in KiB:

strip -s -o ${lang}_strip
du *_strip

C: 16
C++: 76
Go: 1204
Hare: 220
Rust: 352

#c

orsinium,
@orsinium@fosstodon.org avatar

@omenos

For , you should try @TinyGo. The main Go compiler is designed to prioritize performance and runtime safety over binary size. But TinyGo is designed for small places.

IDK what's TinyGo Linux binary size for Hello World but we recently optimized a lot for , and a wasm binary hello world with stripped out debug info is something like 40 bytes.

orsinium, to rust
@orsinium@fosstodon.org avatar

New project: Runtime for running WASM-4 games on Adafruit and potentially other small devices/

https://github.com/orsinium-labs/gamgee

Written in , it uses wasmi crate to run modules with very little space and memory requirements. The binary is just about 270 Kb and the runtime uses for itself just a few Kb of RAM giving the rest to the game.

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