Twitxy Saved

Jason Lee

Verified account This account is verified. Learn more

@huacnlee

nsh.dev Joined April 2008
228 Following 14K Followers 18K Posts

Latest posts 5

Pinned post

Jason Lee Verified account @huacnlee
NSH v0.4.0 is out 🚀

This release brings more capabilities for cross-platform apps: rich text editing, charts, animated visual effects, faster web loading, and improved native interactions.

Highlights:

RichEditor: Table editing with cell merging and splitting, row and column resizing, and reordering. Build Markdown editors, documents, and rich text inputs.
Plot: Treemaps, heatmaps, scatter plots, dual Y axes, and more. Build market maps, portfolio allocations, correlation matrices, and other data visualizations.
Shaders: Beyond animated WGSL backgrounds, you can now add shader effects and transitions to views, pages, and dialogs.
Web loading: Wasm is split into a main module and additional modules. The Gallery’s initial Wasm load dropped from 13.03 MB to 4.35 MB, or about 1.04 MB with Brotli. Additional modules load in the background after the app appears.
TextView: Built-in math typesetting for formulas in Markdown and AI responses.
Native experience: Improvements to iOS keyboard and input behavior, Linux text input, desktop menus, accessibility, and macOS animation CPU and memory usage.

Build NSH apps with Rust, TSX, or both for desktop, mobile, and web. You can also embed NSH in existing apps to load plugins and AI-generated UI dynamically.

v0.4.0 includes API changes. Check the release notes before upgrading.

github.com/longbridge/nsh…
github.com Release nsh v0.4.0 · longbridge/nsh Native Shell 0.4.0 fills out the unstyled component foundation with form controls, rich text and more chart marks; adds shader effects and transitions; runs web apps on the browser's own JavaSc...
14 replies 12 reposts 125 likes 17K views View on X
Jason Lee Verified account @huacnlee
上周,NSH 有 67 位贡献者,合并了 510 个 PR。

我也发现,越来越多 Longbridge 的同事开始参与 NSH 的改进。

之前,参与 GPUI Kit 开发的团队同事大约只有 5–6 人。除了 Longbridge Pro,公司内部使用 GPUI 的项目也只有 4–5 个。

而现在,很多同事已经在用 NSH 开发各种各样的 App,也在使用过程中不断为它贡献改进。

因为 NSH 真正帮到了大家,大家也能很轻松地参与进来。哪怕只是改进一处文档,也同样有价值。

github.com/longbridge/nsh…
4 replies 1 reposts 48 likes 1.8K views View on X
Jason Lee Verified account @huacnlee
你一直陷在 PHP 领域,你当然会这么觉得。Go、Rust,哪怕 Ruby、Python、JS 甚至 PHP 都可以将另外一门语言跑一个进程里面的。

nsh.dev 不是瞎搞的,怎么会有这种设计问题!我和 @sunli829 很多年前就在玩这些东西了。
nsh.dev Native Shell — Build once, native everywhere | Rust UI framework Native Shell is a Rust-first native UI framework: build one app for iOS, Android, macOS, Windows, Linux and the web, with each platform’s own UI and interaction.
Bigkaka Verified account @OnlyAICanDo 21h
@rem_thank @vincentnext_ @grok 相当于你用了两个语言,开了两个进程,js还要再开一个vm,然后go和js之间用channel,这样不是直接用js还慢吗
View quoted post on X
5 replies 0 reposts 26 likes 9.8K views View on X
Jason Lee Verified account @huacnlee
NSH v0.6.1 is out!

This release improves feature diagnostics and fixes bugs across platforms.

Features: Get clear diagnostics when support for SVG, shaders, video, syntax highlighting or math is missing. SVG assets now report the required feature at build time.
Windows: Added system backdrop blur for transparent windows. Fixed issues with hidden and minimized window state.
Animation: Stopping or replacing a composite animation now cancels its pending work.
Video: Fixed playback state changes caused by unrelated property updates across platforms.
Mobile: Fixed iOS keyboard, scrolling and safe-area issues, and improved Android system bars and RTL layouts.
Components: Fixed issues in List, DataTable, Resizable Panel and Carousel.

github.com/longbridge/nsh…
github.com Release nsh v0.6.1 · longbridge/nsh SVG assets Native apps using SVG files through asset! or assets! now get a build error explaining which platform feature to enable. SVG remains optional. Runtime URLs are checked when loaded. Runti...