#Webasm I might like even more than #Javascript
And thats saying something
:ablobmeltsoblove:
RE: https://alceawis.com/objects/3d694a9b-3bdb-48d8-a969-7888f9c5d9ab
#Webasm I might like even more than #Javascript
And thats saying something
:ablobmeltsoblove:
RE: https://alceawis.com/objects/3d694a9b-3bdb-48d8-a969-7888f9c5d9ab
News includes a new HexDocs search engine built in Gleam, Software Mansion's interactive Elixir Language Tour running in #WebASM, Stable Diffusion on Mac GPUs through EMLX, #AWS outage lessons, and more! #ElixirLang www.youtube.com/watch?v=SKMA...
Thinking Elixir Podcast 277: S...
Best programming language and bytecode specifications. (By their rigidness)
#sml #metalanguage #webasm #wasm #webassembly #ecma #ecmascript #javascript #js
WinterJS 1.0 · Blog · Wasmer
"WinterJS 1.0 è finalmente arrivato.
WinterJS è un runtime Javascript incredibilmente veloce, compatibile con WinterCG e scritto in Rust, che utilizza il motore SpiderMonkey per eseguire JavaScript e Tokio per gestire le richieste HTTP e il ciclo di eventi JS. Il runtime WinterJS può anche essere compilato in WebAssembly e come tale è il primo runtime[...]"
@massa @KC1PYT @Perl @BrendanEich That’s well before #WebASM. Was it using #ActiveState’s browser #Perl scripting that only worked in #Microsoft #InternetExplorer?
@mjgardner @Perl @BrendanEich There was a Mozilla project back in the day to migrate PHP, Python, and Perl to the browser at one point. It's a shame it didn't happen!
#Rakulang has *some* capability to do this with #WebASM but you don't get access to the DOM I don't think it's a maintained part of the Raku codebase. Also sad.
Talk announcement for #SeaGL2023
"David Thompson, Robin Templeton" presents: "Opening up the World of WebAssembly with Guile Hoot".
Details: https://osem.seagl.org/conferences/seagl2023/program/proposals/977
#SeaGL #webasm #guile
@juergen_hubert @j_bertolotti rereading this, the phrase "portable assets" resonated with another hot topic... #webasm. Wouldn't it be effing incredible for game assets to come with standard, portable code objects defining their behaviors? If any game system were formalized enough to enable the concept, #gurps would be.
In a world where a typical web application is composed of kilobytes of unreadable #JavaScript, I'd rather have #WebAsm, a WebAsm VM is also much easier to audit.
Generally, though, I'd like to see some kind of code signing and reproducible builds for open source web apps that do this.
[my mind rambling while I'm sick in bed]
Python em um arquivo HTML? 🤯 #webassembly #webasm #python #datascience #pyscript
cc @sseraphini@twitter.com
You are Doomed to Learn WebAssembly
At first, Web browsers displayed HTML pages. But then people wanted those pages to do something. So we got -- among other things -- JavaScript. Then people wanted to do super complicated and compute-intensive things. So now we have Web Assembly. If you want to learn it, [diekmann] has a 4-part series that covers everything from getting started to porting Doom into your browser.
Paradoxically, instead of using a browser, he uses the wasm binary toolkit to run code more like a standard assembler. And wasm -- what most people call Web Assembly -- isn't like most assemblers you know. Instead of labels, there are blocks that work much more like high-level language constructs such as while loops in C.
If you were expecting the Doom port to be a trip through emscripten, you'll be disappointed. The fourth installment ports the Doom code directly and that's very educational. There's a lot to be done, and most of the steps stay on the regular platform to ease debugging. The switch to browser hosting occurs only at the end.
The first step was to remove some features. Things such as X11 shared memory make sense because you aren't going to use X11. However, we were sad to see the sound code taken out. At some point, the code has to make the jump to browser output and then you are blind until you get it working.
A lot of missing functions were written using Rust and borrowed from musl, a C library implementation. There's a lot of debugging, documented as GitHub check-ins. But it does work. Don't believe it? Try it.
Doom ports are popular, even going to a light bulb, if not a pregnancy test. We prefer, of course, an oscilloscope.
Web Assembly, Music Synthesis, and the Beauty of Math
The electronics hobby has changed a lot since the advent of the microprocessor. Before that -- and with the lack of large-scale integrated circuits -- projects in magazines tended to be either super simple or ultra complex. However, one popular type of project dealt with music synthesis. Fairly simple circuits could combine to make a complex synthesizer so it was sort of the best of both worlds. Nowadays, you are more likely to tackle a music synthesizer in software like [Tim] did when he created Abelton in Web Assembly and C++. Along the way, he learned a lot about the relationship between math and music.
[Tim] covers what he learned about the Nyquist theorem and how to keep synthesis data flowing in real time with buffers. However, there are some problems trying to do all this in a cross-browser context. The AudioWorklet class appears to have widespread support, though, and [Tim] managed to get that working.
If you ever wondered if you could use a formula to compute MIDI tones to frequency instead of a table, the answer is yes. Using emscripten allows easy compilation, but integrating into rollup.js -- a JavaScript framework -- was a bit of work, and you'll find the process documented in the post.
If you want to know more about WebAssembly, check out our earlier post. We've seen emscripten do interesting things on the Web before, too.
#musicalhacks #softwaredevelopment #emscripten #math #music #synthesizer #webasm #webassembly
Just watched this nice talk by Ian Hobson on audio programming in Rust (from 2018). He starts out with the Rust basics, but then demonstrates implementing a reverb algorithm and integrating it in various environments.
Would be nice to see Rust getting more popular for this type of application