What's the best WASI runtime for web browsers these days?
Wasmer used to have one, but documentation links are 404ing and their source repo has changed into something else ("wasmer sdk" that looks like some docker thing)
@rasmus-andersson · account
1 follower
Adventures in software & design. Tinkering on fonts, Playbit and little art projects. Past Figma, Facebook, founding member Spotify https://twitter.com/rsms https://rsms.me
What's the best WASI runtime for web browsers these days?
Wasmer used to have one, but documentation links are 404ing and their source repo has changed into something else ("wasmer sdk" that looks like some docker thing)
… This makes it easy try. In future early-access releases we will increase compatibility to other architectures and platforms.
It will be a *very* early release where most of the exciting and interesting features are promised for the future are absent.
You can sign up for early access here: playb.it
We're about to send out the first early-access invitations to Playbit, starting with 100 randomly selected email addresses from the early-access signup form on our website.
If you have the curiosity, feel brave and are comfortable with computer programming, let me know if you'd like to get access.
This first release *only works if you have an arm Mac.* We essentially give you a mac app that is a virtual machine which runs Playbit (think: a video game in full-screen mode.) …
@[email protected] Hi! Any idea what happened to the RSM talk video recording from 2022? I can't seem to find it online
The second "embedded page" in the post contains a confusing illustration; here is a newer version that should have been in the post. (The website is up to date though.)
Apologies to all the "I'll read it in an image" people out there.
[Playbit] We are looking to hire a contractor to help us with implementing Vulkan and WebGPU/Dawn on Linux DRM
@evanw didn't you think about a format kind of like this a few years ago? Did those explorations lead to anything interesting?
For example, imagine a company logotype being scaled to some arbitrary size. It needs to still look like the logotype but key elements like fine stroke need to be sharp.
Fonts is another example of this problem, where there are several solutions. The most significant "solution" to make sure text is legible is to align the baseline (the relative zero point) to pixels. This works for text but does not work so well for arbitrary graphics.
Playbit uses a resolution independent UI and we are thinking about how to represent UI graphics (think: icons) for the computer.
A key challenge with truly resolution-independent graphics is how to maintain sharpness (pixel alignment) where necessary (like a border or ruler) while at the same time keep the general shape & identity of a graphic.
Is there a vector image format out there that fits the bill? Ideally we would use an existing format rather than inventing our own.
Any ideas?
This week I learned about a really useful—although specific—hack for bounded buffers: mirrored memory pages. Map N*2 pages with mmap then remap N and N+N regions to the same address. Now you can address contiguous memory in your ring buffer! Simple, fast, ergonomic.
Let that hardware MMU do the work for you
ヾ(@⌒ー⌒@)ノ
Inter version 4.0 → https://rsms.me/inter/
After two years of work on a new version of Inter, I'm so proud that it's finally released. (It's been in beta for the past year)
The changes are vast. Most notably there are six additional "Display" designs for large delicious type
Had an two hours to kill at the airport and decided to try and add square punctuation to Inter as a stylistic set. Kind of nice in some situations to be able to “tighten it up” or make it a little more technical and punchier, AG style. Would you use this? How & when?
Here’s the layout “algorithm” in the source-text scanner:
Gave Compis some attention this weekend, giving it Python-style whitespace indentation. It’s pretty neat as it’s done completely at lexeme time, ie the “source text scanner” synthesizes “{“ and “}” tokens as the indentation rises and falls. As a result it’s both very regular (predictable) and easy to disable (in the scanner, without having to change any other code.)
But is Python-style WS-sensitive structuring ultimately a good idea..?
[Screenshot: these three functions produce identical ASTs]
Mastodon borked out, like it often does. Can’t upload more photos; gets stuck here over and over :-(
Playbit is an endeavor to build a new operating system for software creatives. After over two years of research, Playbit is now a real company and I'm hiring Playbit's founding engineers.
Are you up for the challenge?