@Jdreben @guardiarris@emacs.ch @maegul Yes, at least #Leptos takes the #SolidJS approach of using signals to update only the minimal amount of DOM that actually changes.
Regarding JS: you don't need to touch it explicitly in those frameworks, BUT: it is still used to manipulate the #DOM.
For this to work, a lib called wasm-bindgen is used (awesome piece of technology!), which basically bridges #Rust <-> #JS:
https://rustwasm.github.io/docs/wasm-bindgen/
leptos_dom depends on it:
https://github.com/leptos-rs/leptos/blob/4ade062cd8cdbe9128aa7a2c8169c17c9d3e874c/leptos_dom/Cargo.toml#L28
#Leptos #solidjs #dom #Rust #js #rustlang #WASM
This is both awesome and cursed :awesome: π¬:
polywasm - a #JavaScript library that implements the #WebAssembly API and can act as a polyfill, if #WASM is not available.
Made by the creator of #esbuild evanw.
https://github.com/evanw/polywasm
I'm wondering, though, whether this is really needed, given that there is asm.js π€
Also see section "Can WebAssembly be polyfilled?" on the WebAssembly FAQ:
#JavaScript #WebAssembly #WASM #esbuild #webdev #js #polyfill
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.π€ͺ
#transpiler #Rust #WASM #vue #rustlang #compiler #magic
Urgh, #Rust + #WASM + #Vue is such a dream stack! β¨ π
Stay tuned for some magic in the next few days... π€
#RustLang #VueJS #WebAssembly #Transpiler(:awesome:)
#Rust #WASM #vue #rustlang #VueJS #WebAssembly #transpiler
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
#Rust #WASM #vite #vue #WebAssembly #webdev #VueJS #rustlang
Announcing Matchbox 0.6 - by Johan Helsing:
https://johanhelsing.studio/posts/matchbox-0-6
"Matchbox is a solution for painless peer-to-peer networking in rust web assembly (and native!). 0.6 is its biggest release yet. We added support for multiple data channels with configurable reliability, support for peer disconnections, a bevy plugin, a new signaling server crate, and fixed quite a few bugs."
#Matchbox #Rust #RustLang #WebRTC #GameDev #Networking #RealTime #Bevy #WebAssembly #WASM
#matchbox #Rust #rustlang #webrtc #gameDev #networking #realtime #bevy #WebAssembly #WASM
@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.
#Rust #WASM #WebAssembly #rustlang
@hywan Also check out dioxus π
https://dioxuslabs.com/blog/release-030/
They are even faster than dominator, according to the following benchmark:
https://krausest.github.io/js-framework-benchmark/2023/table_chrome_110.0.5481.77.html
I'll definitely start my next GUI project in dioxus or even leptos :awesome: :
https://github.com/leptos-rs/leptos
#webdev #performance #WASM #rustlang #Rust #WebAssembly
WebAssembly Summit 2023 will take place this summer in London, UK (in-person plus live stream & Discord chat).
They are still accepting talk proposals until January 31! Submit on the website:
https://webassembly-summit.org/
Enarx: year in review
It has been an exciting year for the Enarx project. We have successfully developed a number of key components to establish the foundations for a comprehensive Confidential Computing solution. Several members of our community have contributed to our open source codebase and documentation, and we have had the ...
#confidentialcomputing #WASM #sev #SGX #enarx
Le Mardi 13 dΓ©cembre, @k33g_org viendra parler de #webassembly "en dehors" du navigateur. avec le projet #Wazero de @Tetrateio@twitter.com et @TinyGolang@twitter.com (pour les modules #wasm, mais c'est faisable en @rustlang@twitter.com aussi)
https://t.co/L5NifzRvRe
Oh boy, someone has forgotten to implement TcpStream::shutdown() for wasm32-wasi
Imagine if you could:
- open VS Code
- write some #Rust
- install and setup #Bazel
- compile to #WASM
- create a serverless #Nodejs function
- deploy to the Cloud
ALL. FROM. YOUR. BROWSER!
This is the future of Web development. Start now! https://env.new
@enarx
Don't forget the hashes! Very important here.
#Enarx #WASI #WASM #confidentialcomputing
#confidentialcomputing #WASM #wasi #enarx
If you like the #Enarx open source project, please give it a "star" on github! Thank you!!
Enarx is a #WASM/#WASI #confidentialcomputing runtime .
#confidentialcomputing #WASM #enarx
"β¦we wanna run everything on ARM, because the price-performance ratio is so good β ARM has become so ubiquitous [β¦] basically we've been developing ARM-firstβ¦" @cohix on @SuborbitalDev's use of Ampere machines on the GCP Cloud for the SE2 #WASM service
https://topenddevs.com/podcasts/adventures-in-devops/episodes/serverless-platforms-and-wasm-with-connor-hicks-devops-134