techhub.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A hub primarily for passionate technologists, but everyone is welcome

Administered by:

Server stats:

4.6K
active users

#webassembly

15 posts12 participants0 posts today

🌘 GitHub - ealmloff/sledgehammer_bindgen:突破WASM/JS通訊效能瓶頸
➤ 優化WASM/JS互動以提升Web應用效能
github.com/ealmloff/sledgehamm
`sledgehammer_bindgen` 是一個Rust函式庫,旨在提升WebAssembly (WASM) 與 JavaScript (JS) 之間的通訊效能。相較於通用的 `wasm-bindgen`,`sledgehammer_bindgen` 專注於針對需要快速且低階DOM操作的Web框架進行優化。其透過批次處理字串編碼、快取字串,以及優化資料讀取方式,大幅降低通訊成本,特別是在處理大量字串時。
+ 「這個函式庫看起來很有潛力,如果我的Web框架需要頻繁操作DOM,或許可以考慮使用它。」
+ 「`wasm-bindgen` 已經很好用了,這個 `sledgehammer_bindgen` 到底在哪個情境下會更有優勢呢?」
#WebAssembly #Rust #JavaScript #效能優化

Breaking the WASM/JS communication performance barrier - ealmloff/sledgehammer_bindgen
GitHubGitHub - ealmloff/sledgehammer_bindgen: Breaking the WASM/JS communication performance barrierBreaking the WASM/JS communication performance barrier - ealmloff/sledgehammer_bindgen

🌘 使用 WebAssembly 提升 HTML5 遊戲效能
➤ 透過 WebAssembly 解鎖 HTML5 遊戲的效能潛力
playgama.com/blog/general/boos
本文探討如何運用 WebAssembly (WASM) 技術來優化 HTML5 遊戲效能。HTML5 遊戲在處理複雜運算、記憶體管理和資源加載時常面臨瓶頸,而 WASM 透過提供接近原生執行速度、更高效的記憶體操作和跨平臺一致性,有效解決了這些問題。文章詳細介紹了將 WASM 整合至 HTML5 遊戲的步驟,並提供了最佳實踐建議,以實現效能的顯著提升,特別是在行動裝置上。
+ 這篇文章對想提升 HTML5 遊戲效能的開發者來說非常有幫助,提供了清晰的步驟和實用建議。
+ 瞭解 WASM 與 HTML5 的協同作用,以及如何在實際遊戲開發中應用,讓我對 Web 遊戲的未來充滿期待。
#遊戲開發 #WebAssembly #HTML5

Playgama Blog · Boost HTML5 Game Performance with WebAssembly - Playgama BlogTable of ContentsExploring the Intersection of HTML5 and WebAssemblyAssessing Current Performance Bottlenecks in HTML5 GamesHarnessing the Power of WebAssembly for Game OptimizationStep-by-Step Guide: Integrating WebAssembly into HTML5 GamesStep 1: Identify and Isolate Performance-Critical CodeStep 2: Choose a WebAssembly Development ApproachStep 3: Set Up Your Development EnvironmentStep 4: Implement and Compile […]

🌘 WebAssembly 何時會支援 DOM? - ACM Queue
➤ Wasm 如何與 JavaScript 共舞
queue.acm.org/detail.cfm?id=37
本文探討了 WebAssembly (Wasm) 是否已準備好投入網頁應用程式的實際生產環境,即使這需要與網頁及操控它的 API(例如 DOM)整合。作者指出,Wasm 可能永遠不會直接存取 DOM,但同時也強調,自推出以來,Wasm 已經支援透過間接方式調用 DOM,因此對於各種與網頁整合的使用情境來說,Wasm 已經準備就緒。文章進一步解釋了透過 JavaScript 連結 Wasm 與網頁 API 的方式,以及未來可能的直接調用機制。
+ 瞭解了 Wasm 與 JavaScript 之間的關係,以及目前開發模式,讓我對 Wasm 的應用前景更有信心。
+ 文章解釋得很清楚,讓我明白 Wasm 並非要取代 JavaScript,而是與之協同運作。
#WebAssembly #技術發展

queue.acm.orgWhen Is WebAssembly Going to Get DOM Support? - ACM Queue

When your event agency gets the briefing wrong and you need to invent a new technology to save the message… You knew css-in-js, but now 📢 introducing CSS in C++, aka. css-in-cpp, compiled to #WebAssembly with #emscripten. (At Google I/O Connect in Bengaluru, India.)

New #WasmAssembly podcast 🎙️ episode! Dart, Flutter, and WasmGC:

🍿 youtube.com/watch?v=vgOABOvtBT
🎧 wasmassembly.libsyn.com/dart-f

🚀 In this episode of WasmAssembly, I chat with Ömer Ağacan & Martin Kustermann from the Dart team at Google about #Dart, #Flutter, #WasmGC, dart2wasm vs dart2js, Jaspr, and the future of #WebAssembly—both in and beyond the browser. A must-listen for #Wasm nerds!