Create

Sign in to ReadmeX

or

How we handle your data: Privacy Policy

ReadmeX

Your AI reading companion

What would you like to catch up on?

Pick a briefing, or ask your own question.

Your community and people briefings stay personal to you.

Story

Client Development Choices in the AI Era

AI summary

In a developer-authored commentary, the Mole team compares web, cross-platform and native approaches to client development, framing the choice as a trade-off among development efficiency, user experience and performance. It says AI can reduce the cost of maintaining separate native implementations, but does not remove the need for scenario-specific selection, debugging and experience validation. Mole's Mac app uses Swift and SwiftUI, while its Windows app uses C#, WinUI 3 and .NET 10. The team keeps code and AI context on a Mac and uses a Parallels Desktop Windows 11 virtual machine for compilation and testing. To keep the two implementations aligned, it converts macOS design tokens into Windows XAML resources, converts 11 localization files and maintains a SYNC.md ledger recording implemented, intentionally different or inapplicable features. These productivity and performance observations come from one project account and were not independently benchmarked.

In-depth insight

The account provides a concrete example of how AI-assisted coding can reduce some development effort while leaving the trade-offs among efficiency, experience and performance intact. It also documents mechanisms for coordinating separate native macOS and Windows implementations through shared design resources, localization files and a feature ledger.

Article Cover Image

发现不少小伙伴很好奇我是怎么用 Mac 来开发 Windows 软件的,以及 Windows 软件现在一般用什么技术栈来实现,刚好我这段时间也在做类似的事情,来和大伙随便聊聊关于多端技术选择的思考。

Web、跨端还是原生

做过前端客户端的小伙伴应该都知道,这些年端的开发一般是这三条路。

第一种最简单方便的是,直接写 Web 代码,塞到浏览器就能跑,包括早年的 PhoneGap、Cordova 就是把网页塞进一个原生壳里,然后提供一些 bridge 的能力让 JS 可以调用到一些原生的能力,比如唤起手机摄像头这类的 Web 不好做的事情。

第二种是跨端开发,也就是早年大家常听到的一码多端。当时移动端有 React Native、Weex 这一类技术,主要是为了解决 Web 性能差的问题,一份代码同时打包 iOS 和 Android。国内大厂当时重度用跨端还有一个非常大的原因,就是动态化和热更新,讲得土一点就是可以绕过商店审核直接下发新页面,这也是国内跨端在移动互联网高速发展时特别流行的重要原因。

#Mole#Claude Code#Codex#Parallels Desktop#WinUI 3#.NET 10#Electron#Tauri#Wails#Swift#SwiftUI

Original · 18 min readRead the original
Group chat

No comments yet. Start the conversation.