HNHacker News
TopNewBestAskShowJobs

9d

96 karma · joined April 9, 2025

Nobody. Just passing through.
submissionscomments
9d··on Rust compiler performance
Just curious, are you still able to get instant feedback and development conveniences on that 30 minute compile time project, like up to date autocomplete and type hints and real-time errors/warnings while developing before compiling?
9d··on Show HN: Munal OS: a graphical experimental OS with WASM sandboxing
No I mean what if we updated the wasm spec to allow it?
9d··on Service Workers are too hard to clean-up
The one point here that's relevant to me is that if you use a service worker and then redesign your web app so that it's no longer needed, now you need to host code that removes the service worker, and you can never remove that new code, because there may be users with the sw installed who don't revisit for years.

Service workers should have an auto expiration. Maybe a month or so.

9d··on Show HN: Munal OS: a graphical experimental OS with WASM sandboxing
I understand, but what I mean is, what if there is no more opportunity for the light to emit heat, because the surrounding environment is already saturated with so much heat that it can't accept more? Is this a possible way to prevent the light from emitting heat and therefore prevent the light from decreasing its luminousness? There must be a way!
9d··on Show HN: Munal OS: a graphical experimental OS with WASM sandboxing
Why not just give apps chunks of non-contiguous memory and let them deal with that fact? Then like realloc, the memory they need stretched may just be moved first.
9d··on Dear everyone, hire me to make this Rust and SDL3 and V8 and TypeScript thing
> Hire or sponsor?

The point here is that sponsoring me would be hiring me collectively.

> Is any of them available?

No. I'm not good at making games. But I'm good at making APIs.

9d··on Show HN: Munal OS: a graphical experimental OS with WASM sandboxing
I was told it was plasma. Who is wrong, them or you? Either way, I can't trust one of you...
9d··on Containerization is a Swift package for running Linux containers on macOS
To be honest, I don't know what Docker or any of these things are. I just wanted to sound smart so I could fit in and people would like me.
9d··on How do you prototype a nice language?
> the Gleam language, which is written in Rust and has first-party LSP support

How have I never heard of this language before?

https://gleam.run/

9d··on Domains I Love
Oh oh! Include 90s.dev! Such a perfect domain name, a built in pun. What a waste.
9d··on Show HN: Munal OS: a graphical experimental OS with WASM sandboxing
That's a good point I didn't think about.

I guess it's like v8 compared to quickjs.

Anyway all this talk about wasm makes me want to write a scriptable Rust app!

9d··on Show HN: Munal OS: a graphical experimental OS with WASM sandboxing
No, I do not accept this. There must be a way. What if the mirror box has a high enough heat? Would it work then? The box could be made of a heat resistant material, like fiberglass.
9d··on Show HN: Munal OS: a graphical experimental OS with WASM sandboxing
I had no idea what fuel is until this discussion.

What's the rationale? Just preventing infinite loops from hanging the host?

If the inefficiency is the counter, what if you just calculated an instruction offset - start < threshold every once in a while?

This probably makes no sense, ignore it, I'm way in over my head.

[1] https://github.com/bytecodealliance/wasmtime/issues/4109

[2] https://github.com/bytecodealliance/wasmtime/blob/main/examp...

9d··on Show HN: Munal OS: a graphical experimental OS with WASM sandboxing
Could you elaborate?
9d··on Show HN: Munal OS: a graphical experimental OS with WASM sandboxing
ChromeOS only uses V8 by happenstance, being an OS that's just a browser.

Android could have used anything and it would have been successful, even C++.

These were both successful purely because they're cheap, not because technology.

9d··on Show HN: Munal OS: a graphical experimental OS with WASM sandboxing
But if this benchmark is right, then wasmtime is 5x faster than wasmi for it:

https://github.com/khvzak/script-bench-rs

9d··on Show HN: Munal OS: a graphical experimental OS with WASM sandboxing
I started on a Rust app that uses SDL3 and lets you script it via embedded V8[1]. But I'm very seriously tempted to fork it and embed wasmtime or wasmi and let you script it in anything, and include a few wasm compilers into the app for convenience so you just give it a file and it does the rest. Mainly because of the speed of wasmtime and wasmi compared to alternatives[2]. But my biggest concern is that this isn't adding any real convenience. You still have to set up whole code environments, which defeats the purpose of scripting it. Still, it's such a neat idea that I don't want to not do it, and I just might.

[1] https://sdegutis.github.io/blog/dear-everyone-hire-me-to-mak...

[2] https://github.com/khvzak/script-bench-rs

9d··on Show HN: Munal OS: a graphical experimental OS with WASM sandboxing
> Great question!

Thanks! I have lots more too. Are there directions in space? What kind of matter is fire made of? If you shine a laser into a box with one-way mirrors on the inside, will it reflect forever? Do ants feel like they're going in regular motion and we're just going in slow motion? Why do people mainly marry and make friends with people who look extraordinarily similar to themselves? How do futures work in Rust? Why is the C standard still behind a paywall? Let me know if you need any more great questions.

9d··on Self-hosted x86 back end is now default in debug mode
Yeah but--
9d··on Self-hosted x86 back end is now default in debug mode
Dang, I'm far behind then, I haven't even downloaded QBE[1] yet!

[2] https://c9x.me/compile/

9d··on Show HN: Munal OS: a graphical experimental OS with WASM sandboxing
Not sure why you were downvoted. I think you're probably right about a lot of that. I do know that it's certainly the case for me. I have a lot of talent, but I can't harness it unless I find a project I truly believe in. But who's to say which projects are worthwhile, which projects genuinely help humanity? Not everything we do and breathe needs to be activism against injustice all the time. Take pico8 as an example. That has rejuvenated the joy and wonder of countless aging programmers, and probably taught many young people how to make games. Is that not inherently a good thing? And it made money doing it, should it not?
9d··on Show HN: Munal OS: a graphical experimental OS with WASM sandboxing
Mostly I meant WASM as a platform (waap?) which seems so futuristic to me. I hope one day all OSes can natively run WASM code, though I'm not sold on WASI since then we're back to square one with security it seems.
9d··on Apple introduces a universal design across platforms
It's the candy look from the early 2000s, from Mac OS X 10.1, turned up to 11.

Did Apple learn nothing from Windwos Vista and Compiz?

9d··on Show HN: Munal OS: a graphical experimental OS with WASM sandboxing
Yeah it's one of those projects were I'm so impressed that I'm saying nothing because there's nothing to say, it's just really impressive. I'm not sure what will come of this project, but it has a lot of potential to at least inspire other projects or spark important discussions around its innovations.
9d··on Show HN: Munal OS: a graphical experimental OS with WASM sandboxing
Not OP, but I'm confused how this would be helpful. You're saying for example, he can use this function to create a coroutine out of a function, begin it, and if the function fails by e.g. running out of memory, you can give the module more memory and then resume the coroutine? If so, how is that different than what naturally happens? Does wasm not have try/catch? Also, wouldn't the module then need to back up manually and retry the malloc after it failed? I'm so lost.
9d··on Show HN: Munal OS: a graphical experimental OS with WASM sandboxing
What the DLL, Dmitry. Don't be a buzzkill.
9d··on AI Angst
> Too many people create new tools, tech, etc. without really stopping to take a moment and think or have a discussion on what the absolute worst case applications of their creation will be

"Your scientists were so preoccupied with whether or not they could, they didn't stop to think if they should." -Jeffrey L. Goldblum when ILM showed him an early screening of Jurassic Park.

> In many such cases the creators sleep easy at night with the justification that it's not THEIR fault people are misusing their platforms, they provided a neutral tool and are absolved of all responsibility.

The age old question of gun control.

9d··on Show HN: Munal OS: a graphical experimental OS with WASM sandboxing
> The downside of course is that each step of the loop is not allowed to hold the CPU for arbitrary amounts of time, and must explicitly yield for long-running tasks.

Seems to me that a bigger downside is that the more apps you have open, the slower each one will become. I don't remember ever having more than like 10 open, but I've definitely had 30 tabs open, so if they're each separate procs then wouldn't that slow each one down by 30x? I guess if the whole computer is fast enough that's fine, but intense processes like video renderers would slow down noticably, even if not fast, even if just going from 1sec to 30sec. But in any case this is a really, really clever shortcut for the general case to get a whole operating system working, which is no small feat, and really exciting!

9d··on Show HN: Munal OS: a graphical experimental OS with WASM sandboxing
This is incredible. I wonder if this will be the future of OSes.

This readme is really, really interesting to read through.

Why did you use wasmi instead of wasmtime?

I might actually try to use this OS inside a VM.

Half of me wants to port my own reactive GUI lib to Munal.

9d··on Apple Unveils macOS Tahoe with Liquid Glass Design, Phone App, and Translation
Yeah this whole design reminds me of the candy look of Mac OS X 10.1 through 10.3
Page 1 of 4Next →