以 TypeScript 装饰器为核心,探索用 Class Model 组织 View、Model 与 Entity,通过声明式序列化、字段映射和接口调用改善前端开发体验。
Programming
Software engineering, systems, code, and practical technical deep dives.
从所有权与线程访问模型出发,解释 Rust 中 Send 与 Sync 的含义、推导关系和自动实现,并结合 Rc、Arc、Cell 与 RefCell 分析并发内存安全。
从 RAII 与所有权机制出发,说明 Rust 如何借助 Drop trait 自动释放内存和系统资源,并解释 drop 函数的实现以及 Copy 与 Drop 为什么互斥。
介绍如何在基于 Vue 2 的 UniApp 子组件中使用页面生命周期钩子:通过全局 Mixin、根组件容器和卸载清理,代理收集并调用子组件钩子。
系统拆解 Hybrid 应用中 WebView 与 Native 的双向通信,并以 JavaScript 和 Rust 实现支持调用、异步返回、多次响应与事件监听的基础 JSBridge。
Follow Worth Sharing
Get occasional thoughts on product, engineering, AI, and the things I’m building—delivered straight to your inbox.