TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Butler Virtual Operating System

311 pointsby njrc9about 2 years ago

6 comments

JoelMcCrackenabout 2 years ago
This is great. This is actually fairly similar to something I&#x27;ve been thinking about doing for some time, so I have a few comments to make!<p>For a previous job I wrote a miniature&#x2F;lightweight &quot;actor system&quot; with haskell threads and STM. Basically, each actor was represented by a thread, threads operated in a loop (like erlang actors), and threads had mailboxes implemented via STM primitives. It worked like a dream, and I&#x27;ve been wanting to write up a blog post about it for a good while now, but alas, there is always something else that needs to be done.<p>There is an idea that&#x27;s been floating around in my head for some time now. I want to expose Unix ideas to the web era. If a &quot;shell&quot; were built to expose a lot of these things via the web (of course, only to authorized users), I could see an explosion in creativity.<p>This leads into the next thing, enabling people to have their own, independent servers. This is a massive topic, but basically, I&#x27;d like to see more ideas like sandstorm.io or cloudron.io take off.<p>I may be looking at this project as a place to start for my own code, and&#x2F;or inspiration! Thanks.
评论 #35279760 未加载
评论 #35280212 未加载
samsquireabout 2 years ago
This is really interesting. I especially like the use of actors.<p>If you think of the Win32 API message loop then you can kind of think of each program and GUI as a mesh of independent actors with inboxes that communicate user GUI events to backend server actor that does CPU work or network work in the background.<p>I think this is an easy to understand architecture. If you think of it as MVC but what would be a method call in MVC is actually a cross thread event queue between server threads and client GUI threads.<p>Where GUIs get complicated and hard for me to read the code for is all the state management and complexity of components of the GUI itself. I wouldn&#x27;t want to be tasked with implementing Qt or GTK.<p>The actor idea reminds me of programmatic &quot;agents&quot; or bots that work on your behalf on a schedule or in response to events (messages) such as Huginn.<p>The idea of plugging GUI components together so they interoperate is really interesting. COM and XPCOM is an example of this in practice for communication between applications (and the GUI) The DOM is an example of it too! You can insert arbitrary blocks in Notion or Obsidian or COM objects in Word documents.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;huginn&#x2F;huginn">https:&#x2F;&#x2F;github.com&#x2F;huginn&#x2F;huginn</a><p>I like the process viewer on the right hand side. Would be nice to be capable of visualisation what the applications are doing.
评论 #35280010 未加载
mxuribeabout 2 years ago
Here again, references and uses of htmx...Man, i really gotta dive into htmx some more...I keep seeing it pop up in so many places (well, at least many places that are showcased on HN, anyway)
garganzolabout 2 years ago
Choosing HTML for UI subsystem of an operating environment is refreshing. Is there a demo URL?
评论 #35277950 未加载
评论 #35276945 未加载
yencabulatorabout 2 years ago
Looks like any app can output arbitrary HTML, and thus pwn the whole system, right?
DustinBrettabout 2 years ago
This sounds quite cool. Is there any working demos online to try it out?