logoalt Hacker News

Show HN: Shirei, cross-platform GUI framework in native Go

31 pointsby hsn915today at 4:55 PM13 commentsview on HN

Comments

TazeTSchnitzeltoday at 5:14 PM

I will admit that I don't like vibecoded things, but perhaps I must stomach that AI will be writing a lot in this brave new era.

However, when the commit history has stuff like

  v0.5.0: native backends, software renderer, text input, IME
  Co-authored-by: Claude <[email protected]>
  Co-authored-by: Codex <[email protected]>
  Co-authored-by: Composer <[email protected]>
  Co-authored-by: Cursor Grok 4.5 <[email protected]>
  
  377 files changed
  Lines changed: 62423 additions & 2871 deletions
it's very hard. These “change the entire world” commits make for a history that is impractical to follow for a human, and therefore of little interest to me.
show 2 replies
swiftcodertoday at 5:09 PM

> Experience has shown us that an immediate mode API is the only sane way to program GUI applications

I wonder how long till they pivot away from this belief. I feel like everyone in UI goes through this phase as some point, but in the end it doesn't scale to truly complicated UI

show 2 replies
iafantoday at 5:16 PM

I understand the core is the layout engine and a component library? Does the rendering somehow benefit from GPU?

I recently had a good experience creating custom UI based on ebitengine — also a cross-platform Go engine. As it is a game engine, it has this built in game drawing loop, GPU-accelerated, with some cross-platform kb/mouse input handling. And this feels like a good platform to build the layout engine and components on top of. Have you ever considered this? Or how does your approach compare to that of ebitengine? Did you try (and do you position) your library to build custom UI for some underpowered computers such as Raspberry Pi?

ahriadtoday at 6:05 PM

How it compares to Fyne?

5701652400today at 6:08 PM

cross-platform is overstatement.

can I run it on Android? iOS?

no? then 99.999999% of real world users cannot access it. and if it is desktop oly, what is the point? it is no better than web.

show 1 reply
roncesvallestoday at 5:37 PM

Wails is another cross-platform GUI framework in Go: https://wails.io/

oooyaytoday at 6:11 PM

[dead]