HackerTrans
TopNewTrendsCommentsPastAskShowJobs

mendyberger

no profile record

Submissions

The Future of wasi-gfx and wasi:webgpu

wasi-gfx.dev
43 points·by mendyberger·w zeszłym miesiącu·14 comments

Sandboxing AIOps and Agentic AI Security

blog.cosmonic.com
13 points·by mendyberger·2 miesiące temu·0 comments

OpenAI: WebAssembly and Rust Are Reshaping Data Visualization in BI

blog.gopenai.com
2 points·by mendyberger·2 miesiące temu·0 comments

Reddit Partially Down

redditstatus.com
7 points·by mendyberger·7 miesięcy temu·2 comments

comments

mendyberger
·w zeszłym miesiącu·discuss
Component model can run in any js runtime with jco
mendyberger
·2 miesiące temu·discuss
I wonder if this mess has anything to do with talent loss resulting from layoffs after the pandemic
mendyberger
·4 miesiące temu·discuss
Wasm is safer since it has a much smaller attack surface.
mendyberger
·4 miesiące temu·discuss
Sorry, here's the working link https://github.com/mendyberger/browser.wit
mendyberger
·4 miesiące temu·discuss
It's not just about string performance, it's about making wasm a first class experience on the web. That includes performance improvements - because you don't need to wake up the js engine - but it's a lot more than that. Including much better dev-ex, which is not great as you can see in the OP.

It would also enable combining different languages with high-level interfaces rather than having to drop down to c-style interfaces for everything.
mendyberger
·4 miesiące temu·discuss
Things are slowly getting better in wasm world.

The c-style interface of wasm is pretty limiting when designing higher level interfaces, which is why wasn-bindgen is required in the first place.

Luckily, Firefox is pushing an early proposal to expose all the web apis directly to wasm through a higher level interface based on the wasm component-model proposal.

See https://hacks.mozilla.org/2026/02/making-webassembly-a-first...
mendyberger
·4 miesiące temu·discuss
> Comparing today's internet to the 90s is hardly fair. It has become extremely predatory...

I think you're missing the point they're trying to make. It's not that the problem isn't real, it's that the solution won't work. Kids will find a way around. They have a lot more free time than us.
mendyberger
·4 miesiące temu·discuss
There can be an automated way of translating WebIDL to wit.

I've actually tried to do that the past and got pretty far. https://github.com/wasi-gfx/webidl2wit

And here's the generated wit https://github.com/mendyberger/brow
mendyberger
·4 miesiące temu·discuss
> What specific scenarios do you aspire to unlock

Modern languages come with lots of interesting features like better dev ex, null safety, etc. Js is a fine language, but there are other languages that bring unique advantages, the web shouldn't block developers from using better tools. The web is best off when developers have freedom.
mendyberger
·5 miesięcy temu·discuss
Is `component {}` valid wit syntax? I've never seen that before
mendyberger
·5 miesięcy temu·discuss
41:08

> it doesn't seem like this should be possible on a Linux server

Some real misconceptions here
mendyberger
·5 miesięcy temu·discuss
18 seconds in:

> at the time just about everyone believed that hacking the system was impossible.

Bit of a nitpick, but I don't think saying things like this to normies is a good idea. Every system is hackable.
mendyberger
·5 miesięcy temu·discuss
As someone who very interested in wasm, I really loved the post!
mendyberger
·6 miesięcy temu·discuss
Fair enough.

For me, having wgpu's rust native api feels so much nicer than having to deal with the unergenomic web_sys api. Tradeoffs.
mendyberger
·6 miesięcy temu·discuss
Curious, why use web-sys directly instead of wgpu?
mendyberger
·7 miesięcy temu·discuss
Can happen to corporate projects as well. As one example, look at how many projects Google has killed.
mendyberger
·8 miesięcy temu·discuss
After restarting my computer, reinstalling git, almost ready to reinstall my os, I find out it's not even my fault
mendyberger
·10 miesięcy temu·discuss
But the other browsers objected yet Chrome still shipped them
mendyberger
·10 miesięcy temu·discuss
Not true about webgpu, but true about some APIs in Google's project-fugu