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)
Ian "Hixie" Hickson editor of #WhatWG HTML specification for 10 years, in January 2023 criticises the use of #HTML, #CSS, #Javascript for intricate #Web applications, and proposes an alternate approach based on 4 lower-level #OpenStandards:
"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."
> 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
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.🤪
#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:
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.
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.
Looks like a world first to me 🚀 New functionality developed as part of collaboration between @activetraveleng and @turinginst 🔥 #opensource contributions welcome 🙏👇
More plugin system updates for #zellij. I'm about to merge a PR (https://github.com/zellij-org/zellij/pull/2410) that makes plugin updates and renders asynchronous. This is in addition to the recent PR that made them load asynchronously.
This opens the door for headless "background worker" plugins/instances that will address the issue of not being able to use threads in #wasm since they're still unstable.
Next up: thinking up an API for this and implementing fuzzy file name/contents search with it in Strider.
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.
The talk on running #OPA via #Wasm for policy evaluation in hard to reach places, from the #CloudNative Wasm day preceding #KubeCon last week, by #Styra colleague @charlieegan3, has just been published online 😃
@charlieegan3 And another talk on #OPA + #Wasm at the same conference about Rego policy evaluation in the #Linux kernel... which if anything qualifies as a "hard to reach place" 😄 By Nandor Kracser from Cisco.