jbzfn, to random
@jbzfn@mastodon.social avatar

λ Directly compiling Scheme to WebAssembly: lambdas, recursion, iteration!
➥ Spritely Institute

"we can now compile various Scheme procedures directly to WebAssembly. Let's clarify that: by compiling directly to WebAssembly, we mean they compile and run without any intermediate virtual machine. No C, no Rust, no Zig: Hoot outputs pure WebAssembly. It's early, but Hoot compiled programs are starting to work... and they're fast!"

#Scheme #WASM #GNUGuile #Lisp https://spritely.institute/news/scheme-to-wasm-lambdas-recursion.html

ctron, to rust

If a Rust frontend application panics, as a user, you see nothing. Only dead buttons. Only the developer console reveals that something is wrong.

Fixed that: Failing in style, with a new crate: https://github.com/ctron/browser-panic-hook/

#rust #wasm

Screenrecord of a demo with the new panic hook. First the existing behavior, following by the new one when the panic hook is set.

rml, to random

When @spritelyinst closes in on their work on #Guile's wasm compiler (maybe later this year?!), it'll certainly become the easiest way to target optimized #wasm. Tree-IL has gotta be the simplest intermediate language to compile to, and you get all the optimizations Guile offers for free.

Considering Robin Templeton, the author of Guile's #elisp compiler, is one of the engineers behind it, I can't help but speculate that this will put #emacs in the browser within reach. If I can handle my org-agenda online by 2025, I will cry.

It's called #Scheme because it allows just a few friends to plot a CONSpiracy to build amazing things.

rml,

Once #guix builds on #wasm, its only so long before #hurd replaces #k8s as the distributed service orchestration tool for a more advanced age, right gang?

#WeSoBack #regnu'd

jbzfn, to random
@jbzfn@mastodon.social avatar

"Our existing mental categories are important, because they're how we approach a new system, and they're how we port existing code to new systems. So we do talk about Wasm in terms of other systems, and we do build bridges to enable concepts and code to be ported over.

At the same time, attempting to understand Wasm as categorically one existing category or another will limit our potential to understand it and to take advantage of its strengths."
@sunfish #WASM
https://blog.sunfishcode.online/embrace-the-kinda/

sunfish, to random
@sunfish@hachyderm.io avatar

What is #Wasm? So sure, one can find lots of answers out there. But how many use the full power and whimsy of the...

kinda?

https://blog.sunfishcode.online/embrace-the-kinda/

🙃 :WebAssembly_Logo: 🙂

d_run, to programming
@d_run@mastodon.social avatar
abcdw, to random
@abcdw@fosstodon.org avatar

Guile is coming closer to web assembly. Impressive results.

https://spritely.institute/news/scheme-to-wasm-lambdas-recursion.html

deadparrot, to rust
@deadparrot@mastodon.social avatar

Oh… oh! WASIX makes the WASI ABI more compatible with POSIX

https://wasmer.io/posts/announcing-wasix

Shini92, to rust
@Shini92@mas.to avatar

I published vite-plugin-vue-hsml@0.1.0 just some seconds ago 🚀

It's 100% unstable 😆, but uses #Rust via #wasm 🦀

I didn't even test what would happen if it would throw an error 😜

A next step is to create a #vscode extension to build syntax highlighting and I never did something like that

https://www.npmjs.com/package/vite-plugin-vue-hsml

smallcircles, to random
@smallcircles@social.coop avatar

Ping @alcinnz want to pass recent finding to ya:

https://social.coop/@smallcircles/110445148829899767

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)

smallcircles, to webdev
@smallcircles@social.coop avatar

"Towards a Modern Web Stack"

This is interesting.

Ian "Hixie" Hickson editor of HTML specification for 10 years, in January 2023 criticises the use of , , for intricate applications, and proposes an alternate approach based on 4 lower-level :

  1. (for )

Gets criticised for it and defends his proposal on HN: https://news.ycombinator.com/item?id=34612696

(Correct link to the Google Doc is in bottom comment by Hixie)

smallcircles,
@smallcircles@social.coop avatar

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

jberi, to random

Is this nerd catnip or what? RISC-V, WebAssembly & Synth tunes. https://www.youtube.com/watch?v=B5SpcO1NSKc

#riscv #wasm #eurorack

data0, to webdev

Same!

> 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

https://cprimozic.net/blog/building-a-signal-analyzer-with-modern-web-tech/

jbzfn, to rust
@jbzfn@mastodon.social avatar

🦀 50 Shades of Rust
Or emerging Rust GUIs in a WASM world
— monadical.com

#Rust #WASM
https://monadical.com/posts/shades-of-rust-gui-library-list.html

isntitvacant, to random
@isntitvacant@hachyderm.io avatar

WHEW so this took a while to write.

I went to go explain why WASM might succeed at JVM's goal of "write once, run anywhere" and found that I ... really needed to define my terms better.

So, here's the first part of a series on understanding #wasm: virtualization.

https://www.neversaw.us/2023/05/10/understanding-wasm/part1/virtualization/

(Get excited for the part where I find a paper from 1978 that validates my mental framework!)

#writing #blog

janriemer, to rust

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

#Compiler #Magic

A video showing a web app with two code editors side-by-side. On the left, source code is entered, which looks like an SQL dialect. As the code is entered on the left, the code editor on the right updates in real-time. The right editor shows the SQL-like statement in a very different form, namely as a sequence of method calls on a query object. So it has just transpiled a declarative SQL-like statement into a procedural query expression. You can think of it a bit like C#'s LINQ: LINQ also has a declarative form and a procedural form.

sunfish, to random
@sunfish@hachyderm.io avatar

#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:

https://github.com/bytecodealliance/wasmtime/pull/6338

janriemer, to rust

Urgh, #Rust + #WASM + #Vue is such a dream stack! ✨ 💖

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

#RustLang #VueJS #WebAssembly #Transpiler(:awesome:)

savanni, to random

Hey, tonight I think I want to spend some time trying to build a toolchain that links together Kifu-core, the wasm binding, and the typescript app.

All of this using #nixos.

If any of you want to join me, I'm thinking 11pm, eastern, and I can set up a jitsi room for it.

savanni,

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.

#Wasm #Rust #nixos

rauschma, to programming
@rauschma@fosstodon.org avatar
janriemer, to rust

Whoop! 🎉 I've just called a module from my 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

tomayac, to random
@tomayac@toot.cafe avatar

🥳 It’s happening: the Intent to Deprecate and Remove for Web SQL has been sent: https://groups.google.com/a/chromium.org/g/blink-dev/c/fWYb6evVA-w/m/pziWcvboAgAJ; read more about our plans on the blog: https://developer.chrome.com/blog/deprecating-web-sql.

Together with the SQLite team, we’ve prepared a replacement for Web SQL based on SQLite Wasm backed by the origin private file system (OPFS): https://developer.chrome.com/blog/sqlite-wasm-in-the-browser-backed-by-the-origin-private-file-system/.

There’s also a Web SQL 🔜 SQLite Wasm migration guide: https://developer.chrome.com/blog/from-web-sql-to-sqlite-wasm/.

#️⃣ Hashtags: #SQLite #WebSQL #Wasm #WebAssembly #OPFS #ProjectFugu

chris_hayes, to random
@chris_hayes@fosstodon.org avatar

Running an operating system in the browser will never not be amazing.
http://copy.sh/v86/
#wasm

robinlovelace, to opensource
@robinlovelace@fosstodon.org avatar

Looks like a world first to me 🚀 New functionality developed as part of collaboration between @activetraveleng and @turinginst 🔥
#opensource contributions welcome 🙏👇

RT @CarlinoDustin
Introducing the world's first? open source tool to sketch areas bounded by streets! Give it a shot at https://dabreegster.github.io/route_snapper/ and feedback at https://github.com/dabreegster/route_snapper/issues
#openstreetmap #rust #wasm #gis
https://twitter.com/CarlinoDustin/status/1651555058897625088

video/mp4

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