News for hackers. Stuff that matters.

mendyberger

Re:Endive: A JVM native WebAssembly runtime on Monday June 01, 2026 @10:48AM (#48357556)
Component model can run in any js runtime with jco
Re:An Update on GitHub Availability on Tuesday April 28, 2026 @08:37AM (#47933704)
I wonder if this mess has anything to do with talent loss resulting from layoffs after the pandemic
Re:Making WebAssembly a first-class language on the Web on Thursday March 12, 2026 @09:17AM (#47350148)
Wasm is safer since it has a much smaller attack surface.
Re:Making WebAssembly a first-class language on the Web on Sunday March 08, 2026 @01:04PM (#47298904)
Sorry, here's the working link https://github.com/mendyberger/browser.wit
Re:Notes on Writing WASM on Sunday March 08, 2026 @12:59PM (#47298868)
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.

Re:Notes on Writing WASM on Sunday March 08, 2026 @11:08AM (#47297922)
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...

Re:System76 on Age Verification Laws on Friday March 06, 2026 @03:06AM (#47272297)
> 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.

Re:Making WebAssembly a first-class language on the Web on Friday February 27, 2026 @08:26AM (#47180268)
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

Re:Making WebAssembly a first-class language on the Web on Thursday February 26, 2026 @07:24PM (#47174467)
> 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.

Re:Making WebAssembly a first-class language on the Web on Thursday February 26, 2026 @02:31PM (#47170889)
Is `component {}` valid wit syntax? I've never seen that before
Re:One Hack Nearly Took Down the Internet (Veritasium) [video] on Wednesday February 25, 2026 @10:38PM (#47161510)
41:08

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

Some real misconceptions here

Re:One Hack Nearly Took Down the Internet (Veritasium) [video] on Wednesday February 25, 2026 @06:08PM (#47159353)
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.

Re:10 Years of WASM: A Retrospective on Wednesday January 28, 2026 @03:53PM (#46801344)
As someone who very interested in wasm, I really loved the post!
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.

Curious, why use web-sys directly instead of wgpu?
Re:Bazzite: The next generation of Linux gaming on Saturday November 29, 2025 @11:47PM (#46093846)
Can happen to corporate projects as well. As one example, look at how many projects Google has killed.
Re:GitHub: Git Operation Failures on Tuesday November 18, 2025 @04:07PM (#45972093)
After restarting my computer, reinstalling git, almost ready to reinstall my os, I find out it's not even my fault
Re:Helium Browser on Thursday September 25, 2025 @01:16PM (#45375743)
But the other browsers objected yet Chrome still shipped them
Re:Helium Browser on Thursday September 25, 2025 @09:21AM (#45372359)
Not true about webgpu, but true about some APIs in Google's project-fugu
Kind of a dumb question, but how does it work if you have a 10 year non-compete in FL but move to another state after 5 years, is the non-compete valid in the other state?
Re:Particle Life simulation in browser using WebGPU on Monday May 26, 2025 @09:21AM (#44097189)
Firefox doesn't support WebGPU in stable yet. Chromium does support WebGPU in stable, but not on Linux.
Re:TinyJS – Shorten JavaScript QuerySelect with $ and $$ on Wednesday October 02, 2024 @04:15PM (#41724589)
Code is actually tiny. Impressive!

You could make it even smaller by removing all the element names, and just have it be passed in as an argument. Would also reduce the amount of functions you need to declare, though function count is likely not a problem for modern JS engines.

Anyway, great job you did there!

This is the public link https://t.co/3xeGnKhwYr
Readme says it's a C++ library. Any plans to support higher level languages such as Go or even Python?
Cool project!

Looks like it supports geometry and textures now, any plans to support shaders?

Older »