photog.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A place for your photos and banter. Photog first is our motto Please refer to the site rules before posting.

Administered by:

Server stats:

245
active users

#webassembly

2 posts2 participants0 posts today
Replied in thread

Native JS templating: helps JavaScript developers. Direct WASM→DOM: helps EVERY language. Rust, Go, C#, Zig, Swift, Kotlin... all get first-class web UI performance. That's real platform evolution. We shouldn't be adding more JS-specific APIs when we could be opening the web to all languages equally. The web platform should be language-agnostic at its core. #compsci #webdev #webassembly #programming

Replied to doboprobodyne

@doboprobodyne @christianp

awesome!
In the long run it might also make the online transcoding tools with the "Start now" [to download malware]-button obsolete.

Funnily I talked about this [soon solved] problem with my funder @clemensg by phone today.

#transcoding #encoding #video #browser #ffmpeg #webassembly #clientside #videoconverter

just et. al. too
please save us from uploading duplicate files or journalists from writing alt twice with clientside content-id comparison.

Replied in thread

@christianp

Just a thought, from a knuckle-dragging biology scientist. TL;DR: I believe there is scope to make the hosting of a peertube instance even more lightweight in the future.

I read some time ago of people using #webAssembly to transcode video in a user's web-browser. blog.scottlogic.com/2020/11/23

Since then, I believe #WebGPU has done/is doing some clever things to improve the browser's access to the device's GPU.

I have not seen any #peertube capability that offloads video transcoding to the user in this way.

I imagine, though, that this would align well with peertube's agenda of lowering the bar to entry into web-video hosting, so I cannot help but think that this will come in time.

My own interest is seeing a #Piefed (activitypub) instance whose web-pages could #autotranslate posts into the user's own language using the user's own processing power... One day, maybe!

Thank you again for all your hard work; it is an inspiration.

Scott LogicIn-browser transcoding of video files with FFmpeg and WebAssemblyThe WebAssembly build of FFmpeg allows you to run this powerful video processing tool directly within the browser. In this blog post I explore FFmpeg.wasm and create a simple client-side transcoder that streams data into a video element, with a bit of RxJS thrown in for good measure.

Various thi.ng updates, bug fixes, additions and new version of github.com/thi-ng/zig-thing/ — now fully compatible with current Zig v0.14.1

On a more diary/devlog note: I also updated several of my Zig based work-in-progress art pieces to the latest version (some of them not touched in 2+ years) and it's so good to see how the thi.ng/wasm-api toolchain has been holding up with various breaking Zig changes and also how this setup simplifies creating hybrid Zig/TypeScript projects (e.g. for using DOM/WebGL from Zig). Related, I also want to mention once more the #GenArtAPI Zig WebAssembly bindings[1] (updated a few weeks ago), which add another layer of flexibility & boilerplate reduction for generative/procedural/algorithmic art projects...

I will be attempting yet another few takes creating a video overview & mini-workshop/tutorial about thi.ng/genart-api, hopefully also touching on these aspects...

[1] github.com/thi-ng/genart-api/t

Owi

github.com/OCamlPro/owi

Symbolic execution for #Wasm, #C, C++, #Rust and #Zig

"#Owi is an open-source framework for advanced #WebAssembly analysis and manipulation, with a focus on practical symbolic execution and robust tooling. It is designed for researchers, engineers, programming language enthusiasts and practitioners requiring precise, flexible, and extensible support program reasoning."

GitHubGitHub - OCamlPro/owi: Symbolic execution for Wasm, C, C++, Rust and ZigSymbolic execution for Wasm, C, C++, Rust and Zig. Contribute to OCamlPro/owi development by creating an account on GitHub.

#ReleaseMonday — New version (v0.27.0) of thi.ng/genart-api, a platform-independent extensible API for browser-based computational/algorithmic/generative art projects:

This version features an overhaul of the platform provided PRNG (pseudo-random number generator) handling and makes it easier to create multiple PRNGs for artworks which require/desire them...

Related section in the README:
github.com/thi-ng/genart-api/b

Also, just as a reminder, the project has:

- no external dependencies
- adapters for 3 art platforms (EditArt, fxhash, Layer)
- 6 example projects
- testing/dev sandbox with two parameter editors
- WebAssembly bindings & demo (currently for #Zig only)

Happy coding! :)

thi.ng/genart-apithi.ng/genart-api
Hi, I'm Evan (he/any).

TLDR: I'm a privileged white hetero-cis-male politically #left #TriratnaBuddhist #SoftwareEngineer (#IHelpPeopleGetJobs) currently in #Seattle but planning to move to #AotearoaNZ or #Australia as so as we can manage it with my wife & 3 kids

I'm politically #left (at least in United States terms). I'm a #voting nerd in that I have a favorite voting-related textbook (Collective Decisions and Voting by Nicolaus Tideman).

I think we could mostly solve #gerrymandering by making larger districts with ~5 representatives instead of just 1 and then using #SingleTransferableVote. That would strike a nice balance between local & proportional representation. For single-person positions, like presidents/governors/mayors, STV becomes #RankedChoiceVoting (aka #InstantRunoffVoting aka #AlternativeVote) which eliminates the spoiler effect and leads to more civil campaigns.

Plus, #RankedChoiceVoting eliminates the need for primaries and runoffs, which can lead to significant cost reductions.

I'm training for ordination with the #TriratnaBuddhist Order (#dhamma, #dharma, #Buddhism) and have been for many years. It's a long process, especially with other things going on. I've done some kind of #meditation (mostly #anapanasati) every day for over 3 years and more sporadically since 2006.

That said, I do take issue with some of the things the founder (Sangharakshita) did, and I'm concerned with a recent rise in sort of guru worship around. I can have gratitude for his explanation of the dharma, try to sort out the idiosyncratic bits, and still view him as a deeply flawed human being.

I write #software for http://indeed.com (job search site) (previously employed by Amazon). I've written a lot of #database-backed #webservices in #Java, but in the last few years, I've been working on #microfrontend platforms in #JavaScript & #TypeScript, primarily supporting #React. I have more knowledge about #Webpack #ModuleFederation than anyone should be cursed with. I'd love to try #SolidJS, #RustLang seems really cool, and I'm excited about the future of #WebAssembly.

My wife & I have fantasized about moving to #AotearoaNZ or #Australia since well before the pandemic, and now we're actively trying make it happen. Since we're both in high-demand professions (she's a nurse), I think it should go reasonably smoothly 🤞. Feel free to get in touch with job opportunities that offer visa sponsorship, suggestions for #kiwiana or Australian culture that will help us adapt, reasons that your city is the best, etc. I always blow on the pie when I wear my jandals to the dairy. If we ship things over, I can only hope that the front doesn't fall off the boat. I hear that only rarely happens.

My daughter Juniper was born at the beginning of 2020, so her experience of life and my experience of parenthood are both tightly linked to the pandemic. On the upside, I get to work remotely, which means I get more time with her. She's a lot of fun (and of course a lot of work).

Then, we had our twins Heath & Magnolia (Noli) in September 2023, and our lives got even more hectic and full of love.

Juniper goes to a Waldorf school, and I wish I could go, too, but I think the adult version of Waldorf school might just be therapy.
indeed.comEmploi | IndeedÊtes-vous à la prochaine étape de votre carrière ? Sur Indeed, accédez à des millions d'offres demploi. Nous pouvons vous aider avec nos outils de recherche d'emploi, CV et des avis.

🌀 Introducing **Chakra** - a blazing fast in-browser WebAssembly runtime for builders.

```sh
chakra myfile.wasm
```

– Runs WASM in-browser with logs
– Supports Rust, TinyGo, C, Asc and Python
– One-line introspection & verify commands

Chakra is an open source project and we're building it *with the community*.

🌟 github.com/anistark/chakra
📖 Read more: blog.anirudha.dev/chakra

Give us a shout-out or star the repo on github if you like the idea. 🙌

GitHubGitHub - anistark/chakra: Run WebAssembly instantly in your browser with a single command.Run WebAssembly instantly in your browser with a single command. - anistark/chakra

This is may really be just news to me, but today I learned that @dubroy's and @marianoguerra's book "WebAssembly from the Ground Up" has actually been available for a while and the topics look super interesting...

wasmgroundup.com/

Top level topics (quoting from their website):

- What exactly WebAssembly is, and what makes it unique.
- How to instantiate a WebAssembly module in JavaScript and run its functions.
- The binary module format, and how to hand craft a module from scratch.
- How to create a simple compiler with Ohm.
- The instruction set: numeric instructions, memory access, control flow, etc.
- How to interact with the outside world.
- The WebAssembly security model: what makes it safe?

(Ps. If you're looking to combine this new knowledge and are interested in building hybrid JS/TS/WASM apps, also check out my extensible thi.ng/wasm-api toolchain...)

WebAssembly from the Ground UpWebAssembly from the Ground UpA book about WebAssembly — learn Wasm by building a simple compiler in JavaScript.