ricochetcode, to webassembly
@ricochetcode@hachyderm.io avatar

Andreas Rossberg kicking off Wasm Research Day right. We've basically had no spec bugs because Wasm from the very get-go was designed to be formally verified e2e.

smallcircles, to foss
@smallcircles@social.coop avatar

Advocating for to adopt a OSS-first approach and use as their example of a secret store integration in upcoming RFC implementation..

https://github.com/wasmCloud/wasmCloud/issues/2190#issuecomment-2141124236

@linuxfoundation projects are already seen as overly corporate, and sticking as much as possible to at least and preferably even in docs + elaborated examples would help to not further reinforce that notion.

smallcircles,
@smallcircles@social.coop avatar

And great news. discussed the issue and decided:

  • will not be the reference implementation.

  • Wasmcloud looks forward to presenting as one of their main integrations once it reaches GA.

  • The awareness that Vault constitutes "faux-pen source" made Wasmcloud implement automated license checks.

Read the details in this comment on the RFC:

https://github.com/wasmCloud/wasmCloud/issues/2190#issuecomment-2143021790

@linuxfoundation

treyhunner, to python
@treyhunner@mastodon.social avatar

Today I'm wondering how I could get the new Python 3.13 REPL working in WebAssembly in the browser. 🤔

xterm-pty for xterm.js looks possibly helpful, but I'm unsure how to use it: https://github.com/mame/xterm-pty

I'm also wondering what CPython will need to be configured in its environment to properly trigger the new REPL.

I'm a TTY novice and definitely feel in over my head with this train of thought. 😅

minioctt, to debian Italian

Per oggi avrei dovuto cacciare la soluzione di emulazione finalizzata per i giochi Windows [esenti da requisiti hardware irrealistici] con v86… ma a quanto pare è un po’ impegnativo, devo implementare almeno un’altra hack per soddisfare i requisti essenziali. Però, nel frattempo Boxedwine è rimasto un pensiero fisso, soprattutto dopo avaver constatato che la versione nativa su Windows e Linux funziona e basta: è praticamente plug-and-play con tutti i giochi che sono risaputi funzionare, al contrario del Wine “essenziale” proveniente da upstream o da una distro qualsiasi. 📦

Touhou 6 su Boxedwine per Windows mi è partito, e con una versione (la 5.0 almeno) gira pure bene, ci ho potuto giocare (anche se le ventole del portatile sono volate nel processo). Non credo che adesso magicamente riuscirò a farlo andare sulla versione web, perché c’è un inghippo: il giochino partiva con l’impostazione della grafica nativa, ma non se impostata su quella emulata (che credo sia l’unica utilizzabile nel browser), ma già è qualcosa: il vino inscatolato potrebbe tornarci utile quantomeno per creare repack di giochi che, con un singolo file che parte sia su Windows che su Linux, si giocano e basta senza alcun imprevisto dei soliti del gaming PC… 🦜

Però allora ho pensato: se quello che cambia tra build nativa e web di Boxedwine è solo il codice macchina dell’emulatore (e le sue chiamate all’API host), che però esegue sempre le stesse robe precise al suo interno, com’è che escono fuori quegli strani problemi di compatibilità, tipo il fatto che Wine 5.0 non parte sul browser? La risposta è: il 5.0 che ho provato io non è lo stesso che scarica la versione desktop. Questo è saltato fuori dopo che ho provato a far partire quello da web, e in effetti non crasha come l’altro giorno! E, addirittura, ci gira il 6.0, che nemmeno credevo fosse supportato! Detto in modo diverso: questo progetto è mantenuto un po’ a culo da quello che vedo, ci sono diversi download nominalmente equivalenti sulle diverse pagine ufficiali, sia di questi filesystem Wine che dell’emulatore in sé (ma per quello non c’è dubbio che la versione migliore sia quella dal Jenkins). 🧬

https://octospacc.altervista.org/wp-content/uploads/2024/05/Screenshot_20240527-160241_Firefox-Beta.pngPer fare tutte le prove possibili voglio ora avere sotto mano tutte le versioni dei rootfs che trovo, varie impostazioni di emulazione, e il caricamento immediato di applicazioni diverse, quindi ho iniziato a tirare su questo wrapper per la versione HTML; modificare file di configurazione o parametri URL ogni minuto era diventato doloroso, e la UX del launcher PC è scomodissima. Per ora è sul server casalingo, perché così posso applicare al volo modifiche ai file, ma se dovessi mettere troppe app e finire lo spazio allora creerò una repo Git. Boxedwine desktop offriva per il download anche queste tante altre versioni, quindi le ho messe… ma alcune sembrano ugualmente rognose (tra cui le 1.x, ironicamente), quindi indagherò meglio. Per il lago d’uria: https://hlb0.octt.eu.org/Misc/BoxedWine/ 💦https://octospacc.altervista.org/2024/05/27/lo-scatolvino-di-distrazione/

minioctt, to random Italian

C’è qualche novità per il web, nell’ambiente dei giochi C# e .NET. Già la roba fatta con quelle tecnologie poteva girare da anni sul web eh, ma… non farò finta di sapere cose che non so (non uso nessuna delle due tecnologie), ma ciò che voglio dire è che i gaymers sono passati all’attacco; ora pare esserci qualche risorsa in più, tipo FNA.WASM.Sample, che fa vedere come portare a WASM un gioco fatto con FNA-XNA. 🤔️

Quindi? Beh, un’idea venuta a caso la settimana scorsa era “cosa se portassi Celeste al browser?“, ma non ho poi fatto nulla, presa da altre cose. Volevo quasi quasi iniziare stamane, ma giusto per scrupolo cerco di nuovo sul web “celeste wasm”, sia mai che la volta scorsa mi era sfuggito qualcosa. E, nell’arco di precisamente questa settimana, non so se mi hanno letto nel pensiero o spiato spacctorium, ma hanno effettivamente iniziato e finito il fottutissimo celeste-wasm. Un po’ mi rode, ma meglio così, ho più tempo per altre imprese. 🤯️

Già a dir poco godurioso, ma qualcosa da sistemare rimane, tant’è che mi sono permessa di aprire la issue #1 per consigliare compressione e streaming degli asset. Vi invito a provare direttamente su https://celeste.r58playz.dev, ma per copyright hanno fatto che gli asset sono criptati e bisogna dare un file da un’installazione di Celeste per decifrarli… se vi serve, non lo linko, ma l’ho caricato sull’homeserver come altre volte, e se ravanate lo trovate. 👾️https://octospacc.altervista.org/2024/05/25/gayming-web/

minioctt, (edited ) to GraphicsProgramming Italian

Quei gamer che come me hanno nell’animo il PC masterrace, ma nella pratica odiano il tedio contro cui ci si imbatte appena si vuole effettivamente giocare a qualcosa per PC, staranno con ansia aspettando progressi sulla questione di giochi Windows nel browser. Quindi, che ho fatto ieri? …Un cazzo di niente! 🥰

Ho perso mezza giornata cercando invano di far funzionare prima alcuni programmi di benchmark, e poi Touhou. Ho dovuto installare DirectX 9 per quei programmi, ma poi comunque questi non partivano, perché a quanto pare DX9 non include rendering via software per Direct3D, e in v86 non c’è alcuna GPU. Pazienza, per quelli me ne farò una ragione, non ho vitale bisogno dei benchmark… però per i giochi è una rogna. Sorprendentemente, Touhou 6 parte in questo ambiente mezzo sfasciato, ma c’è un problema: non so come il gioco gira, riesco anche a muovermi nei menu alla cieca e avviare una partita, ma viene renderizzato solo lo sfondo e letteralmente null’altro, quindi non si può effettivamente giocare. (Dettagli più precisi in questa chat qui.) 🤬

https://octospacc.altervista.org/wp-content/uploads/2024/05/photo_5080513907201780824_x8412736725975051660-320x169.jpghttps://octospacc.altervista.org/wp-content/uploads/2024/05/screenshot_2024-05-24-00-21-42-337_org2221662542601539196-960x418.jpgHo provato allora con DirectX 8a, che pare essere l’ultima versione con software rendering prima di DX10 (che lo ha reintrodotto dopo che fu tolto tipo), e stando a Wikipedia ES dovrebbe essere il minimo richiesto da Touhou 6 (altre fonti specificano semplicemente DX8 generico). E qui il gioco però smette di partire, restituendo un errore non molto chiaro… che ho decifrato con Reddit e Google Traduttore, ma la cosa non mi ha dato alcun aiuto, non so a cosa si riferisca l’errore esattamente, e nessuna opzione disponibile tra configurazione del gioco e impostazioni di Windows ha risolto il problema (chiede di cambiare una roba che online non vedo discutere, probabilmente manco esiste). 🐭Proprio stamattina ho voluto dare una chance a Boxedwine; pensandoci, posso usarlo in maniera complementare a v86, nei casi in cui questo non va bene. Fare tutto tra telefono e tablet (dato che non sono a casa) è stato un casino, tra lentezza generale, memoria che si satura (per questo devo usare due dispositivi alla volta) e via… e ugualmente non è servito A NULLA. A parte il tempo perso (tanto, maneggiare con gli ZIP sullo Ximi non è veloce) tentando di avviare gli ultimi pacchetti distribuiti dall’autore per Wine 1.7 e 5.0, che evidentemente non funzionano (il primo non so perché, il secondo è colpa di ), usando il pacchetto di boxedwine.org sono riuscita ad almeno avviare il gioco, ma termina con un errore che credo sia proprio lo stesso di Windows 2000. Nella console di Wine vedo prima del crash una riga fixme:win:EnumDisplayDevicesW ((null),0,0x32f898,0x00000000), stub!, che può confermare i miei sospetti, ma non so se centri o sia una coincidenza. Guardando i file di Boxedwine credo ci sia DirectX dall’8 al 10, quindi non sarà un problema di librerie mancanti. 🐞

Se avete idee, per favore suggerite, perché sono proprio alla frutta, ho finito di giocare ancor prima di iniziare. Il problema è che il gioco non parte con software rendering, anche se in teoria potrebbe usarlo, sospetto che cerchi appunto una GPU e halti se non la trova. (Qui ho caricato il log di Wine.) Ieri sera ho fatto anche tardissimo per andare a letto, per via di questa roba, ma vi giuro ci ho messo un secolo a prendere sonno… questa cosa ora mi tormenta e devo risolverla: so che Touhou è abbastanza leggero da poter girare nel browser, se giochi anche molto più pesanti ce la fanno, quindi ora pretendo di averlo nel browser! Voglio giocarci in Sala Museo! Il problema sono ste cazzo di API; possibile che solo sulle console i giochi funzionano e basta? (Dovrò fare un emulatore Switch per il web, a proposito…) 🧱

https://octospacc.altervista.org/2024/05/24/cant-have-x-in-direct/

sunfish, to webassembly
@sunfish@hachyderm.io avatar

New blog post: Bridging between source languages, in Wasm

https://blog.sunfishcode.online/bridging-language-divides-in-wasm/

tomayac, to webassembly
@tomayac@toot.cafe avatar

📢 The next podcast 🎧 episode is out!

CG, WG, W3C, Deepti—Wasm standardization with Deepti Gandluri:
https://wasmassembly.libsyn.com/cg-wg-w3c-deeptiwasm-standardization-with-deepti-gandluri

In case you didn't notice: the YouTube version of the podcast has some additional visuals 👀, apart from the talking heads…

https://youtu.be/lhop_KiBHm0?si=FNMCMDKMGatYlNhu

CodexArcanum, to GraphicsProgramming
@CodexArcanum@hachyderm.io avatar

Well, it took about 2 weeks longer than I expected (spare time for programming is especially spare at times!) but I finally finished swapping out the graphical backend of my roguelike project with a handrolled one using ! I'm super excited to be fully in control of my destiny!

Wgpu is still pretty difficult, even if it is cleaner than opengl with glow and . (And up-to-date with its own dependencies, always nice!)

CodexArcanum,
@CodexArcanum@hachyderm.io avatar

At some point I'll need to refactor all this again if I want to support #wasm. Wasm puts a lot of restrictions on the game I don't like, but the ease of access for players (just try it in the browser!) is an undeniable draw. Maybe I can do a cut-down version, like a demo or shareware for the web? #gamedev #rust

khalidabuhakmeh, to dotnet
@khalidabuhakmeh@mastodon.social avatar

Should the #dotnet community read this list in an order of priority?

rockylhotka,
@rockylhotka@fosstodon.org avatar

@khalidabuhakmeh @elan @redzimskidev @KirillOsenkov @bradwilson I also think it is important to separate #wasm from #dotnet. Using (for example) #golang in wasm doesn't require all the runtime downloads and other dotnet stuff.

Personally I'd very much like to see some #blazor competitors show up from places like the Go community, because that could be quite amazing!

frankel, to webassembly
@frankel@mastodon.top avatar
tomayac, to webassembly
@tomayac@toot.cafe avatar

Be sure to check out Deepti Gandluri's and Austin Eng's talk on and enhancements for faster Web AI: https://youtu.be/VYJZGa9m34w?si=_PPuJQJ9Zor5AyID. Running Al inference directly on client machines reduces latency, improves privacy by keeping all data on the client, and saves server costs. To accelerate these workloads, and WebGPU are evolving to incorporate new low-level primitives.

tomayac, to webassembly
@tomayac@toot.cafe avatar

Our #GoogleIO talk is finally online 🎉! Thomas Nattestad and I share how Goodnotes ported their award-winning iPad app to the Web thanks to #WebAssembly, and SwiftWasm specifically. Next, we give an overview of how #Wasm is being used by various product teams at Google, including Google Photos, Sheets, Meet, and others. Lastly, I show how C++ image filters from a fictitious iOS and Android app called Delayedgram (🥁) can be ported to the Web and the filter code be shared!

https://youtu.be/c8hZFtl8EuQ?si=xNEU9zn4ycpLA5YV

kerfuffle, to Java
@kerfuffle@mastodon.online avatar

Who here knows a CDN that offers edge computing capability for the JVM / GraalVM?

AWS Lambda@Edge only supports JavaScript and Python.
Cloudflare only supports JavaScript.
Fastly supports WebAssembly.

kerfuffle,
@kerfuffle@mastodon.online avatar

Actually, it may be soon that #WebAssembly with WASI support as offered by Fastly can be targeted from #Kotlin / #Java. Nice article on the development by @sdeleuze at https://seb.deleuze.fr/introducing-kotlin-wasm/

Would be sweet if I can have a static #HTML / #CSS website that uses #HTMX for interaction with a backend written in Kotlin and compiled to #wasm running on an edge location using #wasi .

khalidabuhakmeh, to webassembly
@khalidabuhakmeh@mastodon.social avatar

Spicy take, but I think will save .

khalidabuhakmeh, (edited ) to webassembly
@khalidabuhakmeh@mastodon.social avatar

I thought I would take up the challenge of getting @enhance_dev #WASM working with #aspnetcore with the ability to SSR web components directly into the request pipeline.

Yep... it works. TagHelpers make this nice and natural part of the #dotnet web stack. #webcomponents #web #javascript

Update: You can try it out for yourself at this #GitHub repo. https://github.com/khalidabuhakmeh/EnhanceWebComponents

mogul, to webassembly
@mogul@hachyderm.io avatar

Someone big doing this has been such an inevitable development but it has taken so long! With #WASM now included in standards and supported in pretty much every browser there is an opportunity to treat the browser as the target platform abstraction for high performance stuff like #games. And there is nothing the actual underlying OS can do to gatekeep that content without breaking the web!
https://www.gamedeveloper.com/mobile/microsoft-launching-web-based-mobile-game-storefront-in-july

athas, to webassembly
@athas@freeradical.zone avatar

Without Nix, how do you set up complicated build/test environments on other systems? The sheer amount of sedimentary layers you need to do or stuff is astounding, and then you add the various utility Python libraries needed to glue together a test harness.

tomayac, to webassembly
@tomayac@toot.cafe avatar

🎧 Just recorded episode 2 of the podcast with ✨ Deepti Gandluri ✨. In this episode, we talk about 's standardization, bleeding-edge and mature proposals Deepti is excited about, and—of course— and !

It's scheduled to be released in two weeks 🗓️. Now is a good time to subscribe to the show in your favorite podcast application: https://wasmassembly.libsyn.com/!

Crell, to php
@Crell@phpc.social avatar

This looks very interesting...

https://github.com/extism/php-sdk

#PHP #wasm #plugin

schizanon, to internet_funeral
@schizanon@mastodon.social avatar
  1. #Harfbuzz is a #text shaping engine, it's used in #Android, #Chrome, #ChromeOS, #Firefox, #GNOME, #GTK+, #KDE, #Qt, #LibreOffice, #OpenJDK, #XeTeX, #PlayStation, #Microsoft #Edge, #Adobe #Photoshop, #Illustrator, #InDesign, #Godot Engine, and other places.

  2. Harfbuzz 8.0 introduces a #Wasm shaper, that allows #WebAssembly to be embedded in a #font file. https://www.phoronix.com/news/HarfBuzz-8.0

  3. It's only a matter of time until someone embeds a #cryptominer in a font file.

#hacking #fonts #tech

wezm, to rust
@wezm@mastodon.decentralised.social avatar

Compiled my titlecase library to WebAssembly and wrapped a page around it so it can be used online https://7bit.org/titlecase/

#Rust #RustLang #wasm

shochdoerfer, to webassembly German
@shochdoerfer@phpc.social avatar

PostgreSQL in #WASM allows you to run a #PostgreQL instance in the browser, Node.js, or Bun. Finally a proper, dependency-less database server for your browser :) #linktuesday

https://github.com/electric-sql/pglite

tomayac, (edited ) to webassembly
@tomayac@toot.cafe avatar

💨 WebAssembly performance patterns for web apps:

https://web.dev/articles/webassembly-performance-patterns-for-web-apps

In this guide, aimed at web developers who want to benefit from , you'll learn how to make use of to outsource CPU-intensive tasks with the help of a running example.

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