惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

H
Hackread – Cybersecurity News, Data Breaches, AI and More
The Last Watchdog
The Last Watchdog
T
Threatpost
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
S
Security @ Cisco Blogs
S
Securelist
L
LINUX DO - 最新话题
The Hacker News
The Hacker News
S
SegmentFault 最新的问题
C
Cyber Attacks, Cyber Crime and Cyber Security
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
博客园_首页
博客园 - Franky
H
Heimdal Security Blog
G
Google Developers Blog
N
News and Events Feed by Topic
Cisco Talos Blog
Cisco Talos Blog
Engineering at Meta
Engineering at Meta
B
Blog RSS Feed
S
Schneier on Security
T
Threat Research - Cisco Blogs
D
DataBreaches.Net
Simon Willison's Weblog
Simon Willison's Weblog
Hacker News: Ask HN
Hacker News: Ask HN
WordPress大学
WordPress大学
Latest news
Latest news
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - 聂微东
N
Netflix TechBlog - Medium
T
Tor Project blog
月光博客
月光博客
D
Docker
美团技术团队
Recent Announcements
Recent Announcements
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Cyberwarzone
Cyberwarzone
小众软件
小众软件
TaoSecurity Blog
TaoSecurity Blog
Blog — PlanetScale
Blog — PlanetScale
L
LINUX DO - 热门话题
O
OpenAI News
人人都是产品经理
人人都是产品经理
www.infosecurity-magazine.com
www.infosecurity-magazine.com
V
V2EX
C
Cisco Blogs
NISL@THU
NISL@THU
Recent Commits to openclaw:main
Recent Commits to openclaw:main
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - 司徒正美

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant Common SOC 2 Failures (Real World) Stop Vibe-Checking Your AI App: A Practical Guide to Evals How to Use SonarQube and SonarScanner Locally to Level Up Your Code Quality Your Next To-Do App Is Dead — I Replaced Mine with an OpenClaw AI Sign a Nostr event in 60 lines of Python using coincurve — no nostr-sdk, no nbxplorer, no rust toolchain ITGC Audit Explained Like You’re in Big 4 Patch Tuesday abril 2026: Microsoft parcha 163 vulnerabilidades y un zero-day en SharePoint Stop scraping everything: a better way to track competitor price changes Listing on MCPize + the Official MCP Registry while routing payments OUTSIDE the marketplace — how I kept 100% of my x402 revenue Building an AI-Powered Risk Intelligence System Using Serverless Architecture Why We Ripped Function Overloading Out of Our AI Toolchain Testing AI-Generated Code: How to Actually Know If It Works SaaS Churn Is Killing Your Business. Here Is What to Do About It (Without a Support Team) The Speed of AI Is No Longer Linear - And Self-Improving Models Are Why How to Implement RBAC for MCP Tools: A Practical Guide for Engineering Teams From Standard Quote to Persuasive Proposal: AI Automation for Arborists I built a CLI that scaffolds complete multi-tenant SaaS apps Axios CVE-2025–62718: The Silent SSRF Bug That Could Be Hiding in Your Node.js App Right Now The dashboard that ended our friendship Data Pipelines Explained Simply (and How to Build Them with Python) The Hidden Cost of AI Systems Nobody Talks About. undefined vs undeclared, and how typeof behaves Switching from file-based jobs to NATS/Kafka in Rust without changing code io_uring Adventures: Rust Servers That Love Syscalls Why Agentic AI is Killing the Traditional Database The POUR principles of web accessibility for developers and designers Quantum Neural Network 3D — A Deep Dive into Interactive WebGL Visualization How To Install Caveman In Codex On macOS And Windows Automation Pipeline Reliability: Why Your Workflow Breaks When Nobody Is Watching I Built an 'Open World' AI Coding Agent — It Works From ANY Folder From Freelancing to Product: A Tech Service Company's SaaS Transformation China's AI Giants: Adding Tencent Hunyuan & ByteDance Doubao to AI University (74 Providers) On the Vibe Coders and Their Lies clerk: Auto-Summarize Your Claude Code Sessions AI Weekly — 2026/04/10–04/17 | The Model Lockdown Is Here, but the Toolchain Is the Real Battleground AI 週報 — 2026/04/10–2026/04/17 模型封鎖潮來了,但工具鏈才是真戰場 Maybe this is how Open-Source apps are born... 🚀 Fine-Tune LLMs with LoRA and QLoRA: 2026 Guide tRPC v11 + Next.js App Router: End-to-End Type Safety Without the Boilerplate ShadCN UI in 2026: Why I Stopped Installing Component Libraries and Started Owning My Components SaaS Billing in React Server Components: Stripe + Supabase Without a Single `useEffect` Join our DEV Weekend Challenge — $1,000 in Prizes Across TEN winners! Submissions Due April 20 at 6:59 AM UTC. Implementing FSRS Spaced Repetition in Flutter + Supabase — Adding Memory Science to an AI Learning App "I Texted My Localhost From the Train — Claude Code Fixed the Bug Before I Got Home" I Built a Sales Prep AI and It Went Deeper Than Expected Design to Code #2: One JSON, Eleven Outputs Solving the 100M-Row Problem: A Summary Table Pattern for High-Volume Push Notification Logs Flutter Web With Wasm: What Actually Changes For Developers I Built 50 Royalty-Free Soundtracks for My Side Project in a Weekend Using AI Music Generation The Vibe Coding Security Checklist: 7 Things to Check Before You Ship Stop Letting Googlebot Guess Fix Your React App's SEO Right Desconstruindo o Streaming do LinkedIn: Como Criar um Engine de Extração de Vídeo de Alta Performance com HLS e FFmpeg (EDA Part-1) EDA (Exploratory Data Analysis) Explained With Real Life — Why Looking at Your Data Is the Most Important Step in Machine Learning Brand Relationship Management at Scale: Our 4-Touch Outreach System for 200+ Brands Why String.fromEnvironment() Might Return an Empty String in Dart JGuardrails 1.0.0 — Hardening Java LLM Apps Against Jailbreaks, Toxicity, and Prompt Injection Plan and Schedule a Full Week of Threads Content From One Claude Conversation Coding Cat Oran Ep3, Five Tables Changed Everything Updated: BFF Pattern I'm done watching freelancers get buried by 200 proposals. So I'm building the alternative. This is my first post BFS Algorithm in Java Step by Step Tutorial with Examples Tracking LLM Pricing Monthly: An Open Dataset for 22 AI Models How We Measure Content ROI on a Comparison Site: Revenue Attribution Without Perfect Data Introducing Nova AI Ops: The AI-Native Operating System for SRE Teams I built a free desktop video downloader for Windows — Grabbit How Talkie OCR Helps Vision-Impaired & Dyslexic Users Read the World Around Them VRCFaceTracking安装和iPhone面捕配置教程,有bug Even CrowdStrike Can't See Your Agents The Automation Gold Rush: What n8n Workflows and Claude Are Opening Up for Developers Right Now
Cross-Platform Apps Don’t Need to Mean Cross-Platform UI
Rajaniraiyn · 2026-04-29 · via DEV Community

For a long time, cross-platform app development felt like choosing the least painful compromise.

You could maintain separate native apps for every platform and duplicate a lot of logic. Or you could use a cross-platform framework and accept its trade-offs: runtime overhead, abstraction leaks, slower access to new platform APIs, and an app that sometimes felt native-adjacent rather than native.

Electron, Capacitor, CEF, React Native, Flutter, and Compose Multiplatform all solved real problems. They still do. The point is not that these tools are bad.

The point is that the center of gravity is shifting for a certain class of apps: developer tools, terminals, editors, local-first software, creative tools, and other products where performance, platform feel, and long-term control matter.

A different architecture is becoming more practical:

one shared systems-level core, surrounded by thin native UI layers.

The core is usually written in Rust, Zig, C++, or another systems language. It owns the hard, reusable parts of the product: state, persistence, sync, parsing, rendering primitives, business rules, protocols, file formats, and tests.

Each platform then gets a small native shell:

  • macOS gets SwiftUI/AppKit.
  • Android gets Jetpack Compose.
  • Linux gets GTK, Qt, or another native toolkit.
  • iOS gets SwiftUI/UIKit.
  • Web may get WASM where it makes sense.

The UI layer becomes mostly presentation and platform integration. The product logic lives in one place.

That distinction matters.

The cost of owning the entire UI stack

Recent developer tools show both sides of this trade-off.

Zed built GPUI: a custom GPU-accelerated Rust UI framework with its own rendering, layout, input, and text infrastructure. Warp built a custom Rust-based UI stack with GPU rendering to deliver its block-based terminal experience.

These are impressive engineering efforts. They also show how expensive this path can become.

Once you build your own UI framework, you are no longer just building your product. You are also maintaining a rendering engine, text system, accessibility story, windowing layer, input model, drag-and-drop behavior, platform backends, and all the edge cases that native toolkits have accumulated over decades.
That cost is sometimes worth paying. Zed and Warp are deeply UI-driven products. Their performance goals and interaction models may justify a custom stack.

But it is not a small decision. “We need it to be fast” can easily become “we now own a cross-platform app framework.”

That is a very different business.

Ghostty is the more interesting counterexample

Ghostty takes a different approach.

The complex terminal logic lives in a shared Zig library: libghostty. The platform UI remains intentionally native and relatively thin. On macOS, Ghostty uses Swift with AppKit and SwiftUI. On Linux, it uses Zig with GTK4.

That architecture is not as glamorous as inventing a new UI framework. But it is extremely pragmatic.

Ghostty still gets native platform integration. It still gets high performance. But it avoids reimplementing every primitive of desktop UI from scratch.

The key idea is not “write everything once.”

The key idea is **reuse the parts that should be shared, and keep the parts that should feel native close to the platform.

That is a much healthier abstraction boundary.

The browser engine is not always the right abstraction

Electron won because it made shipping desktop software dramatically easier. It gave teams one UI technology, one rendering model, and access to the web ecosystem.

That was a good trade for many products.

But for performance-sensitive tools, bundling an entire browser engine can feel increasingly heavy. You inherit memory usage, startup cost, packaging weight, and a layer of indirection between your product and the operating system.

The alternative is not necessarily “go fully native everywhere.”

The alternative is to ask a more precise question:

What part of this application actually needs to be cross-platform?

For many apps, the answer is not the UI.

It is the core.

The parser.
The sync engine.
The storage layer.
The protocol implementation.
The terminal emulator.
The indexing engine.
The collaboration model.
The domain logic.

Those are the parts that benefit most from being shared, tested once, and reused everywhere.

The buttons, menus, windows, gestures, shortcuts, permissions, notifications, file pickers, accessibility behavior, and platform-specific affordances often benefit from being native.

FFI is getting good enough

This architecture used to be painful. The boundary between a Rust or Zig core and Swift/Kotlin/native UI code was full of manual glue, unsafe edges, awkward type mapping, and build-system friction.
That is changing.

Mozilla’s UniFFI has made Rust shared components more accessible by generating bindings for languages like Swift and Kotlin. BoltFFI is a newer project pushing in the same direction with a focus on lower overhead and more native-feeling generated bindings.

The tooling is not perfect. FFI still forces discipline. You need to design stable APIs, think carefully about ownership, threading, async boundaries, error types, and data serialization.

But it is no longer exotic.

A small team can now realistically write a core library in Rust or Zig, generate bindings, and expose a clean surface area to native UI code.

That changes the economics.

AI makes the thin-layer model more practical

There is another under-discussed reason this architecture is becoming more attractive: AI reduces the maintenance cost of thin platform layers.

If the core behavior is already implemented and tested, the native UI work becomes more mechanical. A developer can build the feature on one platform, then use an AI agent to draft equivalent SwiftUI, Compose, or GTK changes for the others.

This does not remove the need for platform expertise. Generated UI code still needs review. Native details still matter.
But it changes the ratio.

Maintaining three thin native shells is much less scary when most product behavior lives in a shared core, and the platform-specific code is small enough to review carefully.

AI is bad at replacing product judgment. It is much better at translating known patterns across similar surfaces.

That is exactly where thin native UI layers fit.

This is not a universal replacement

There are still many cases where Electron, Flutter, React Native, or KMP are the right call.

If your team is web-heavy and needs to ship fast, Electron may be the pragmatic choice.
If your product is mostly forms, dashboards, or CRUD workflows, a cross-platform UI framework may be more than good enough.
If your UI itself is the hard part, a custom rendering stack may be justified.
If your team does not want to own systems-level code, a shared Rust or Zig core may create more problems than it solves.

The shared-core/native-shell model is not free. It asks you to own more of your architecture. It rewards teams that care about API boundaries, testing, platform conventions, and long-term maintainability.

But for the right category of software, it is a compelling middle path.

You do not have to duplicate your entire app.
You do not have to bundle a browser.
You do not have to pretend every platform is the same.

You can share the engine and let each platform be itself.

That is the interesting shift.

The future of cross-platform software may not be one framework that abstracts every platform away.

It may be one core that gives every platform something native to wrap.