NativeScript 101
can we cover today? oRise of "JavaScript-driven Native" oIntro to NativeScript oNativeScript core concepts o“Hello World” oExtending with plugins oDebugging JavaScript Why are we here? How did NativeScript Choice Native JavaScript ? Fast to market ? Best experience Native App "JavaScript-Driven Native" Native UI driven by JavaScript Native UI JavaScript-to-Native bridge JavaScript Engine (Your app Progress) React Native (by Facebook) JavaScript-Driven Native Weex FuseTool s Flutte r Native App Native UI JavaScript-to-Native runtime JavaScript Engine (Your app code runs here) Native0 码力 | 90 页 | 40.11 MB | 1 年前3陈东 - 利用Rust重塑移动应用开发-230618
重塑移动应用开发 React Native is an open-source JavaScript framework, designed for building apps on multiple platforms. - Code reusability - Hot reload - Javascript ecosystem icon Flutter, is an open source Engine 利用 Rust 重塑移动应用开发 跨平台开发的优势和局限性 Pros: - Fast - Single Codebase - Third-party support (Javascript better than Dart) 利用 Rust 重塑移动应用开发 跨平台开发的优势和局 限性 Cons: - Performance - Native feature utilize mobile application developed with React native. Due to some computationally intensive tasks, using Javascript is very poor. Therefore, we plan to use Rust to provide high performance 2); Photo / image /0 码力 | 22 页 | 2.10 MB | 1 年前3Performance Lets dive into Performance issues
Performance Lets dive into Performance issues. • Everything in JavaScript defaults to being on the same thread. Too much work on main thread • Android nested layouts • Functions and objects defined0 码力 | 15 页 | 1.71 MB | 1 年前3Introduction to Mobile UI Test Automation
Platform name Platform version Device name Application path https://appium.io/slate/en/master/?javascript#appium-server-capabilities Demo Ready To Execute Note: Device name App path $ npm run0 码力 | 41 页 | 4.75 MB | 1 年前3Making Libraries Consumable for Non-C++ Developers
automatic – see ARC) - Swift - COM – AddRef()/Release() - Non-Reference counted - .NET - JVM - JavaScript Manual memory management is rarely advocated for anymore.Memory model – Manual Memory is allocated0 码力 | 29 页 | 1.21 MB | 5 月前3应用 waPC (rust) 做软件测试工具
Response • Redis • GET • SET • Memcache • Time • Sleep • now websocket standin for wasm • 可用 Javascript 在游览器里面 模拟数据 • 发 RPC 请求 • 可以上传 proto 文档 • 可以验证数据 前段链接 Wasm Mock Server 随机 waPC 注册逻辑 Use wasm0 码力 | 30 页 | 2.50 MB | 1 年前3C++高性能并行编程与优化 - 课件 - 17 由浅入深学习 map 容器
很多初学者都会错误使用 [] 读取元素,他以为找不到键值会报错,结果他不报错,默默创 建了个 0 返回给你,导致实际报错的地方滞后,没发现错误在 map 的读取这里,严重影 响他的调试效率( javascript 的 undefined 直呼内行)。 写入 map 元素 • mapm; • 写入 map 中指定键值的元素有两种方法。 • m[“key”] = val; 0 码力 | 90 页 | 8.76 MB | 1 年前3
共 7 条
- 1