frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

A possible future architecture for decoupled GUIs

2•powerwordtree•1h ago
# My English is bad, this is translated by AI.

A distributed setup where business logic and rendering are completely separated.

1. Core idea: stop sending “drawing commands”, start sending “intent”

Right now, GUI development (native or web) is still very tightly coupled. I’ve always felt the business layer and the GUI layer should be fully separated, and this actually fits the direction of cloud computing pretty well.

What I’m imagining is an intent‑driven architecture. Instead of sending layout, styles, JS code, etc., the backend only sends intent, semantics, and descriptive data through some protocol.

Roughly three parts:

1. Business layer Business code stays the same. Developers don’t need to think about UI details. A small “semantic interface” converts business actions into abstract intents. 2. Intent protocol The protocol only describes intent, semantics, and data. Example: send “pick a date”, not “open a calendar widget with style X”. It can run over memory, IPC, or network. 3. Rendering engine A self‑contained engine that interprets intents and renders UI locally. All pure UI logic (components, constraints, animations, etc.) stays inside the engine, without calling back to the business side.

2. Possible use cases

- Native GUI apps Bundle business + protocol + engine into one program. No networking needed. Just link the engine like a library and load components/plugins as needed.

- Modern web apps Backend runs the business logic and sends intents over HTTP. The browser basically becomes a custom rendering engine with very high reusability.

- Cloud + thin clients Similar to the web model: business runs in the cloud, rendering engine runs locally as a lightweight client. One engine can serve multiple cloud apps, and can hot‑update components to gain new rendering abilities.

3. Why this might be interesting

- No interaction latency UI logic runs locally, so even in distributed setups it feels smooth.

- Extreme reuse Business and rendering are fully decoupled. Either side can be swapped out easily.

- Clear separation of concerns Frontend decides layout and style; backend focuses on business logic.

- Potential beyond normal apps With a strong enough protocol, this could even drive complex 3D apps or games.

4. Hard parts

- Automatic layout Very hard to do well, especially if it needs to look good. Early versions may need simple or fixed layouts.

- Component/plugin system Handling constraints, interactions, animations, etc. inside the engine is not easy to design.

- Protocol design Too detailed → backend ends up micromanaging the frontend. Too vague → frontend lacks necessary info. And describing UI logic without sending code is a big challenge.

Apple accuses Europe of 'delay tactics' following alternative app store collapse

https://www.engadget.com/big-tech/apple-accuses-europe-of-delay-tactics-following-alternative-app...
1•01-_-•7m ago•0 comments

How AI is changing strategy in 2026

https://kitful.ai/login
1•eashish93•8m ago•0 comments

Isolating Claude Code

https://yieldcode.blog/post/isolating-claude-code/
1•skwee357•8m ago•0 comments

The FBI claims that illegal Chinese airbags have killed many Americans

https://www.autoblog.com/news/fbi-nhtsa-investigating-deadly-illegal-chinese-airbags
1•01-_-•8m ago•0 comments

Content strategy might be the problem: 37.8x gap (with data)

https://webmatrices.com/post/content-strategy-might-be-the-problem-80-of-our-traffic-came-from-ig...
1•bishwasbh•9m ago•0 comments

What Vale Taught Me About Linear Types, Borrowing, and Memory Safety (2023)

https://verdagon.dev/blog/linear-types-borrowing
1•kunley•10m ago•0 comments

The least information you need

https://www.pimcoder.com/
1•josefplatil•11m ago•0 comments

Apple Cash is making instant transfers more expensive soon

https://9to5mac.com/2026/01/23/apple-cash-is-making-instant-transfers-more-expensive-soon/
1•thunderbong•12m ago•0 comments

I Declare the Term Cuntwaffle

http://fuck.off/cunt/fuck/you
1•cap11235•15m ago•1 comments

I Like GitLab

https://www.whileforloop.com/en/blog/2026/01/21/i-like-gitlab/
1•lukas346•17m ago•0 comments

TikTok users freak out over app's 'immigration status' collection

https://techcrunch.com/2026/01/23/tiktok-users-freak-out-over-apps-immigration-status-collection-...
2•c420•17m ago•0 comments

Show HN: Character AI Bots Directory

https://www.characteraibots.com/
1•lincyang•19m ago•0 comments

Show HN: Heterogeneous Agent Protocol (Derived from Nursing and Construction)

https://github.com/eric2675-coder/Heterogeneous-Agent-Protocol/blob/main/README.md
1•eric2675•21m ago•1 comments

Air Pollution in World: Real-Time Air Quality Index Visual Map

https://aqicn.org/map/world/
2•leksak•22m ago•0 comments

Telegraph Key(singular)board: Morse for the modern era

https://hannahilea.com/blog/telegraph-key-singular-board/
1•aebtebeten•23m ago•0 comments

Don't lose your ChatGPT conversations: Convert them to Markdown

https://chat-capsule.com/
1•bekoeppel•25m ago•0 comments

How I Estimate Work as a Staff Software Engineer

https://www.seangoedecke.com/how-i-estimate-work/
3•mattjhall•27m ago•0 comments

I don't want to paint or write in the age of AI

https://idiomdrottning.org/ai-vs-art
1•arboles•30m ago•1 comments

Fallacies of Distributed Computing

https://en.wikipedia.org/wiki/Fallacies_of_distributed_computing
1•tosh•31m ago•0 comments

Doing gigabit Ethernet over my British phone wires

https://thehftguy.com/2026/01/22/doing-gigabit-ethernet-over-my-british-phone-wires/
27•user5994461•35m ago•5 comments

Show HN: Vibecoded AWS SAA‑C03 Cheat Sheet

https://sa.carrots.dev/
1•Lwrless•37m ago•0 comments

The Master Warning vs. The Instrument Scan: Why I moved data to e-ink

https://turbulencegains.com/trmnl-review-2026/
2•jerr12939•38m ago•0 comments

Show HN: Free AI Headshot Generator

https://freeaitoolforthat.com/ai-headshot-generator
2•tamnv•39m ago•0 comments

The Gaffer #51: The Cardellini Clamp [video]

https://www.youtube.com/watch?v=I1gkwQcelKo
1•yair99dd•40m ago•1 comments

Vibe Graveyard

https://vibegraveyard.ai/
3•spc476•40m ago•0 comments

Disko-ZFS: Declaratively Managing ZFS Datasets

https://redalder.org/blog/disko-zfs-declaratively-managing-zfs-datasets.html
2•lovesegfault•41m ago•0 comments

Show HN: Jar.tools – online Jar file opener

https://jar.tools/
2•Igor_Wiwi•43m ago•0 comments

Going Founder Mode on Cancer

https://centuryofbio.com/p/sid
1•doppp•43m ago•0 comments

Ask HN: How do you AI code from your phone?

3•splitbrain•50m ago•0 comments

World record for endurance singing, 1976

https://www.rte.ie/archives/2026/0124/1553434-record-marathon-singer/
1•austinallegro•52m ago•0 comments