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/

tomayac, to webassembly
@tomayac@toot.cafe avatar

📢 The next #WasmAssembly 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

#WebAssembly #Wasm #Podcast

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 #11), 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/

#BoxedWine #crash #Direct3D #DirectX #emulazione #EoSD #gaming #gioco #GPU #PC #rendering #retro #retrogaming #Th06 #Touhou #v86 #WASM #web #Windows #Wine #x86

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/

khalidabuhakmeh, to dotnet
@khalidabuhakmeh@mastodon.social avatar

Should the 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 from . Using (for example) in wasm doesn't require all the runtime downloads and other dotnet stuff.

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

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

fireflyzero, to webassembly
@fireflyzero@fosstodon.org avatar

Hello World! Firefly Zero is an in-development handheld game console that runs and supports multiplayer. It is written by @orsinium in , runs on , and will be fully open source (both software and hardware).

We already have a working desktop emulator and are getting a Rust and SDK ready for alpha testing. Sounds fun? Stay tuned!

Website:
https://fireflyzero.com/

:
https://gram.social/firefly

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 #WebAssembly and #WebGPU 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, #Wasm and WebGPU are evolving to incorporate new low-level primitives.
#GoogleIO

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 with WASI support as offered by Fastly can be targeted from / . Nice article on the development by @sdeleuze at https://seb.deleuze.fr/introducing-kotlin-wasm/

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

khalidabuhakmeh, to webassembly
@khalidabuhakmeh@mastodon.social avatar

Spicy take, but I think will save .

mogul, to webassembly
@mogul@hachyderm.io avatar

Someone big doing this has been such an inevitable development but it has taken so long! With 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 . 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

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

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

Yep... it works. TagHelpers make this nice and natural part of the web stack.

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

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

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/

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

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

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 #WebAssembly, you'll learn how to make use of #Wasm to outsource CPU-intensive tasks with the help of a running example.

janriemer, to rust

C++ will be taken over by .

What will be the Rust-equivalent for ?

I mean is a very good first step, but it's basically the C++ for C.

So in short:
C => C++
JavaScript ≈> TypeScript
C++ =>
JavaScript => ???

I think it will be a looong way to go, but maybe, maybe we'll see more and more in the , but not quite sure yet.

#C

janriemer,

@mo8it

> I mean, you get problems if you try to launch a thread…

Which specific problems are you refering to?

As far as I understand, you can spawn threads in JS environments (e.g. in the browser) with no problems (using Web Workers and SharedArrayBuffer under the hood).

Only spawning them in non-JS environments is currently not supported, if I'm not mistaken. For this, we'll need the thread-spawn proposal implemented, right!?

https://github.com/WebAssembly/shared-everything-threads

#WASM #WebAssembly #WASI

janriemer,

@Aedius Sorry for the late reply. 😔

That's awesome! Thank you for sharing! 🙂

Yes, sharing business logic between frontend/backend is a very compelling argument.

However, I just have this feeling that the advantages of Rust are not as apparent when designing interactive web pages.

As I said, for logic heavy apps, sure, but for small interactivity, satisfying Rust's strict rules might not be worth it.

#Rust #RustLang #Frontend #WASM #WebAssembly

tomayac, to webassembly
@tomayac@toot.cafe avatar

🤩 I'm extremely excited to release episode 1 of my monthly podcast 🎧 #WasmAssembly!

From asm.js to Wasm with Emscripten creator Alon Zakai (@kripken):

https://wasmassembly.libsyn.com/ (See there for links to Spotify, YouTube,…)

Learn about some early #WebAssembly history from one of the co-creators of #Wasm, Alon Zakai! Follow along how Alon explains how we came from Native Client to asm.js and then finally to WebAssembly, and explore some interesting historical and present day sidetracks on the way.

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