Introducing NativeScriptIntroducing NativeScript TJ VanToll | @tjvantoll nativescript.org NativeScript Timeline • 0.9 • Public Beta • March 5th, 2015 • 1.0 • Go-live license • Windows Phone support • May 2015 2015 What is NativeScript? • A runtime for building and running native iOS, Android, and Windows Phone apps with a single, JavaScript code base • Bridge • No DOM • No cross compilation != = != NativeScript Android example Output: NativeScript iOS example How does this work? NativeScript and JS VMs • NativeScript runs JavaScript on a JavaScript VM • JavaScriptCore on iOS0 码力 | 47 页 | 3.36 MB | 1 年前3
nativescript tutorialNativeScript i NativeScript ii About the Tutorial NativeScript is an open source framework for creating native iOS and Android apps in Angular, TypeScript, or JavaScript Progress Telerik. NativeScript allows you to build web and mobile apps from a single code-base. This tutorial walks through the basics of NativeScript framework, installation of NativeScript CLI, setting setting up Android Studio and iOS to develop NativeScript based application, architecture of NativeScript framework and finally conclude with developing all type of web and mobile apps. Audience This tutorial0 码力 | 106 页 | 2.59 MB | 1 年前3
2.4 Go 1.4 runtimeGo 1.4 runtime Gopher China 2015 1. Memory Allocator 2. Garbage Collector 3. Goroutine Scheduler 1. Memory Allocator 内存分配器 base on tcmalloc. 基于成熟方案,性能优秀。随着版本升级, 针对性改进,以期与垃圾回收器更好协作。 核心:自主管理,缓存复用,无锁分配。 阈值触发,并行标记,并发清理。 定期强制回收,释放物理内存。 版本升级,垃圾回收效率总是核心问题。 gogc. 阈值检查,或强制回收。 malloc next_gc 0 gogc runtime.gc() stop start mark sweep stop start mark sweep 0 2 2 1 forcegc 2m 1 mark. 暂停用户逻辑,并行标记。 scheduler thread processor goroutine max. 系统限制,允许调整。 runtime.GOMAXPROCS 调整 P 数量,会导致 G 任务队列重新分布。 M G P scheduler max = 10000 max = 256 runtime/debug.SetMaxThreads 超出限制,会导致进程崩溃。 newproc. 创建新并发任务。0 码力 | 29 页 | 608.57 KB | 1 年前3
The Power of RxJS In NativeScript + AngularThe Power of RxJS In NativeScript + Angular What is ? Push based primitive in JavaScript @ladyleet RxJS Push based primitive in JavaScript Ref implementation for TC39 Observable proposal LEE | @ladyleet SPEAKER & GOOGLE DEVELOPER EXPERT DEV - ANGULAR, REACT, RXJS, REACT NATIVE, NATIVESCRIPT TECH WRITER & PODCASTER THIS DOT LABS & THIS DOT MEDIA MENTOR @ladyleet Learning RxJS Be @ladyleet Setting up the App Using NativeScript + Angular @ladyleet $ tns create- -ng $ tns run ios Scaffold a NativeScript App with NativeScript CLI @ladyleet Create a Pun Component 0 码力 | 66 页 | 6.73 MB | 1 年前3
Awesome Native Apps with NativeScript and AngularNative Apps with NativeScript and Angular - Rowdy Rabouw - jfokus 2018 - @rowdyrabouw 1/120 AWESOME NATIVE APPS WITH NATIVESCRIPT AND ANGULAR! Awesome Native Apps with NativeScript and Angular - Rowdy App 4 Progress Developer Expert for Nativescript 4 Organizer NativeScript Developer Day Europe 4 Curator nativescript.nl Awesome Native Apps with NativeScript and Angular - Rowdy Rabouw - jfokus 2018 movies 4 Formula One Awesome Native Apps with NativeScript and Angular - Rowdy Rabouw - jfokus 2018 - @rowdyrabouw 4/120 Awesome Native Apps with NativeScript and Angular - Rowdy Rabouw - jfokus 2018 - @rowdyrabouw0 码力 | 120 页 | 31.85 MB | 1 年前3
Beautiful Native Mobile Apps with NativeScript and OpenEdgeBeautiful Native Mobile Apps with NativeScript and OpenEdge Edsel Garcia OpenEdge Development Team May 2018 2 © 2018 Progress Software Corporation and/or its subsidiaries or affiliates. All rights Service Architecture Swift, Java, TS, NodeJS Tomcat Web Server REST/ HTTP? UI Logic JSDO NativeScript CSS TypeScript DataSource 5 © 2018 Progress Software Corporation and/or its subsidiaries or npm packages from npmjs.com: • @progress/jsdo-core • @progress/jsdo-angular • @progress/jsdo-nativescript • @progress/jsdo-node (Tech Preview) 8 © 2018 Progress Software Corporation and/or its subsidiaries0 码力 | 27 页 | 1.54 MB | 1 年前3
Web and Mobile Code Sharing with Angular and NativeScriptWeb and Mobile Code Sharing with Angular and NativeScript @sebawita Sebastian Witalec Developer Advocate @Progress @sebawita an open source framework for building truly native mobile like TypeScript, Angular, Vue and CSS, and get native UI and performance on iOS and Android. NativeScript is… “The goal” ? Android iOS Web + = Architecture + … Element Renderer Mobile UI Layer ? Compone nt { } Template < > NativeScript Renederer createElement setElementPropert y attachViewAfter invokeElementMeth od0 码力 | 55 页 | 1.14 MB | 1 年前3
Rust 异步 Runtime 的兼容层 - 施继成Rust 异步 Runtime 的兼容层 施继成 @ DatenLord Introduce what’s rust async runtime # Rust async runtime Analyze the reason of runtime isolation # Async runtime binding # Compatible layer 1 Create a wheel 2 3 # Rust async runtime 1 Light-weight task • Language and compiler define tasks • How to run it? • When to run it? • How does it deal with the I/O? Rust async runtime Runtime responsibilities it’s multi-thread model Rust async runtime Available Runtimes • Tokio • Async-std • Smol • Monoio Rust async runtime # Async runtime binding 2 Which runtime to choose ? • More adopters • Rich0 码力 | 22 页 | 957.41 KB | 1 年前3
Designing an ultra low-overhead multithreading runtime for NimDesigning an ultra low-overhead multithreading runtime for Nim Mamy Ratsimbazafy mamy@numforge.co Weave https://github.com/mratsim/weave Hello! I am Mamy Ratsimbazafy During the day blockchain/Ethereum multithreading: definitions and use-cases ◇ Parallel APIs ◇ Sources of overhead and runtime design ◇ Minimum viable runtime plan in a weekend 4 Understanding the design space Concurrency vs parallelism hardware threads The same distinctions can be done at a multithreaded language or multithreading runtime level. The problem 8 How to schedule M tasks on N hardware threads? Latency vs Throughput0 码力 | 37 页 | 556.64 KB | 1 年前3
2.1.4 PingCAP Go runtime related problems in TiDB production environmentGo runtime related problems in TiDB production environment About me ● Arthur Mao(毛康力), Senior Engineer@PingCAP ● TiDB core developer (top3 contributor) ● GitBook about golang internals (@tiancaiamao) IO is ready => goroutine wake up == 4.3ms ○ Sometime even 10ms+ latency here! ○ The time spend on runtime schedule is not negligible ● When CPU is overload, which goroutine should be given priority? Analysis longer to be scheduled ● The runtime scheduling does not consider priority ● CPU dense workload could affect IO latency Conclusion Part II - Memory control ● Go Runtime ○ Allocated from OS (mmaped)0 码力 | 56 页 | 50.15 MB | 6 月前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100













