Jan :rust: :ferris: · @janriemer
530 followers · 3186 posts · Server floss.social

@Jdreben @guardiarris@emacs.ch @maegul Yes, at least takes the 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 .

For this to work, a lib called wasm-bindgen is used (awesome piece of technology!), which basically bridges <-> :

rustwasm.github.io/docs/wasm-b

leptos_dom depends on it:
github.com/leptos-rs/leptos/bl

#Leptos #solidjs #dom #Rust #js #rustlang #WASM

Last updated 1 year ago

Jan :rust: :ferris: · @janriemer
526 followers · 3161 posts · Server floss.social

This is both awesome and cursed :awesome: 😬:

polywasm - a library that implements the API and can act as a polyfill, if is not available.

Made by the creator of evanw.

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:

webassembly.org/docs/faq/

#JavaScript #WebAssembly #WASM #esbuild #webdev #js #polyfill

Last updated 1 year ago

Jan :rust: :ferris: · @janriemer
509 followers · 2737 posts · Server floss.social

It's alive!πŸŽ‰

I've built a in , compiled it to and integrated it into a 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 .

I think, I've been transpiled during this project as well.πŸ€ͺ

#transpiler #Rust #WASM #vue #rustlang #compiler #magic

Last updated 1 year ago

Jan :rust: :ferris: · @janriemer
504 followers · 2632 posts · Server floss.social

Urgh, + + is such a dream stack! ✨ πŸ’–

Stay tuned for some magic in the next few days... 🀞

(:awesome:)

#Rust #WASM #vue #rustlang #VueJS #WebAssembly #transpiler

Last updated 1 year ago

Jan :rust: :ferris: · @janriemer
501 followers · 2564 posts · Server floss.social

Whoop! πŸŽ‰ I've just called a module from my app! :awesome:

It uses rsw with it's Vite plugin:

github.com/rwasm/vite-plugin-r

Good examples can be found here:
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.

users.rust-lang.org/t/wasm-pac

#Rust #WASM #vite #vue #WebAssembly #webdev #VueJS #rustlang

Last updated 1 year ago

Jan :rust: :ferris: · @janriemer
477 followers · 2140 posts · Server floss.social

Announcing Matchbox 0.6 - by Johan Helsing:

johanhelsing.studio/posts/matc

"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

Last updated 1 year ago

Jan :rust: :ferris: · @janriemer
471 followers · 2014 posts · Server floss.social

@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?

github.com/rustwasm/wasm-pack

If yes, I'd be interested why it wouldn't work for you.

It is THE tool for packaging your lib.

#Rust #WASM #WebAssembly #rustlang

Last updated 1 year ago

Jan :rust: :ferris: · @janriemer
456 followers · 1708 posts · Server floss.social

@hywan Also check out dioxus πŸš€

dioxuslabs.com/blog/release-03

They are even faster than dominator, according to the following benchmark:
krausest.github.io/js-framewor

I'll definitely start my next GUI project in dioxus or even leptos :awesome: :
github.com/leptos-rs/leptos

#webdev #performance #WASM #rustlang #Rust #WebAssembly

Last updated 1 year ago

Flaki · @flaki
458 followers · 541 posts · Server flaki.social

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:
webassembly-summit.org/

#cfp #WASM #webassembly

Last updated 2 years ago

Harald Hoyer · @backslash
89 followers · 74 posts · Server floss.social

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 ...

blog.enarx.dev/enarx-year-in-r

#confidentialcomputing #WASM #sev #SGX #enarx

Last updated 2 years ago

Alpes Java User Group · @alpesjug
16 followers · 1 posts · Server floss.social

Le Mardi 13 dΓ©cembre, @k33g_org viendra parler de "en dehors" du navigateur. avec le projet de @Tetrateio@twitter.com et @TinyGolang@twitter.com (pour les modules , mais c'est faisable en @rustlang@twitter.com aussi)
t.co/L5NifzRvRe

#WASM #Wazero #WebAssembly

Last updated 2 years ago

Wassim Chegham :blue: · @wassim
422 followers · 49 posts · Server wassim.social

support is coming to πŸ‘€

docs.docker.com/desktop/wasm/

#WASM #docker

Last updated 2 years ago

Harald Hoyer · @backslash
80 followers · 65 posts · Server floss.social

Oh boy, someone has forgotten to implement TcpStream::shutdown() for wasm32-wasi

github.com/rust-lang/rust/pull

#wasi #WASM #Rust #rustlang

Last updated 2 years ago

Wassim Chegham :blue: · @wassim
192 followers · 16 posts · Server wassim.social

Imagine if you could:
- open VS Code
- write some
- install and setup
- compile to
- create a serverless function
- deploy to the Cloud

ALL. FROM. YOUR. BROWSER!

This is the future of Web development. Start now! env.new

#Rust #Bazel #WASM #Nodejs

Last updated 2 years ago

Harald Hoyer · @backslash
80 followers · 65 posts · Server floss.social

@enarx
Don't forget the hashes! Very important here.

#confidentialcomputing #WASM #wasi #enarx

Last updated 2 years ago

Harald Hoyer · @backslash
80 followers · 65 posts · Server floss.social

If you like the open source project, please give it a "star" on github! Thank you!!

Enarx is a /#WASI runtime .

github.com/enarx/enarx

#confidentialcomputing #WASM #enarx

Last updated 2 years ago

Flaki · @birbsite
2 followers · 511 posts · Server flaki.social

"…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 service
topenddevs.com/podcasts/advent

#WASM

Last updated 2 years ago