c.im is one of the many independent Mastodon servers you can use to participate in the fediverse.
C.IM is a general, mainly English-speaking Mastodon instance.

Server stats:

2.8K
active users

#Wasm

15 posts14 participants0 posts today

🦾 wgpu: A cross-platform, safe, pure-Rust graphics API.

「 wgpu is a cross-platform, safe, pure-rust graphics API. It runs natively on Vulkan, Metal, D3D12, and OpenGL; and on top of WebGL2 and WebGPU on wasm.

The API is based on the WebGPU standard. It serves as the core of the WebGPU integration in Firefox, Servo, and Deno 」

github.com/gfx-rs/wgpu

A cross-platform, safe, pure-Rust graphics API. Contribute to gfx-rs/wgpu development by creating an account on GitHub.
GitHubGitHub - gfx-rs/wgpu: A cross-platform, safe, pure-Rust graphics API.A cross-platform, safe, pure-Rust graphics API. Contribute to gfx-rs/wgpu development by creating an account on GitHub.
#wgpu#rust#webgl2
Replied in thread

@tuban_muzuru An alternative to egui would be a frontend framework like Yew or Dioxus, which would let you interact with the DOM.

However, as long as you don't want accessibility support, I think egui is pretty stable and a good option for more app-based websites.

Edit: Yew is dead so try another one here: github.com/flosse/rust-web-fra

A comparison of some web frameworks and libs written in Rust - flosse/rust-web-framework-comparison
GitHubGitHub - flosse/rust-web-framework-comparison: A comparison of some web frameworks and libs written in RustA comparison of some web frameworks and libs written in Rust - flosse/rust-web-framework-comparison
#egui#rust#rustlang

Some notes for followers: The bot has been switched to run on the #Wasm platform and is still written in Rust. It's licensed under AGPL v3 (code link in profile). You can now see alt texts on images generated by the Google Gemini AI API. Since the Google API costs money, I might switch to something cheaper or even use my own LLM. @seungjin

Расширение возможностей веб-сервера при помощи WASM на примере Angie

Наверное, не секрет, что одна из причин популярности nginx — это развитая экосистема сторонних модулей . Модули позволяют не просто настраивать какие-то детали обработки запроса, но и глубоко изменять поведение сервера. Помимо модулей, которые решают конкретные задачи, существуют модули, которые добавляют поддержку расширений на различных языках программирования: Perl , Lua , JavaScript и других . Теперь в этот набор добавляется ещё и модуль WASM , который мы разработали для нашего веб-сервера Angie (здесь и далее ссылки на нашу документацию). Зачем понадобился WASM на сервере, чем нас не устраивают существующие методы расширения и что в итоге получилось? Данная статья — транскрипт выступления Владимира Хомутова на конференции HighLoad++. Владимир с 2012 года разработчик nginx, а с 2022 разработчик Angie.

habr.com/ru/articles/898022/

ХабрРасширение возможностей веб-сервера при помощи WASM на примере AngieНаверное не секрет, что одна из причин популярности  nginx  - это развитая экосистема  сторонних модулей . Модули позволяют не просто настраивать какие-то детали обработки запроса, но и...

🤔 hmm, now what does this remind me of:

"By standardizing APIs for #WebAssembly, #WASI provides a way to compose software written in different languages—without costly and clunky interface systems like HTTP-based microservices." (wasi.dev)

Oh yeah, here it is:

"The Infinite Improbability Drive was a wonderful new method of crossing interstellar distances in a mere nothingth of a second, without tedious mucking about in hyperspace"...

and:

..."The Bistromathic Drive is a wonderful new method of crossing vast interstellar distances without all the dangerous mucking about with Improbability Factors."

(and you thought I was gonna mention #Java and Jini!)

(h/t to Douglas Adams for his enduring insight into human behavior, and the #wasm / #wasi folks for doing god's work!)

wasi.devIntroduction · WASI.devThe WebAssembly System Interface (WASI) is a group of standards-track API specifications for software compiled to the W3C WebAssembly (Wasm) standard. WASI is designed to provide a secure standard interface for applications that can be compiled to Wasm from any language, and that may run anywhere—from browsers to clouds to embedded devices.
Continued thread

🧵 And now, the part 3 or my series of articles on how to build a #crossplatform #searchengine, in #rustlang.

📰 This article is about how the sharding mechanism works.

💬 Enjoy reading it, feel free to provide me some feedback, here or directly on GitHub 😃

:fediverse: If you enjoy it, feel free to share it on other platforms!

🔗 Here is the link: jdrouet.github.io/posts/202503

jdrouet · Building a search engine from scratch, in Rust: part 3Or how we'll implement sharding and transactions for our search engine.