2.4 Go 1.4 runtime### Go 1.4 runtime Gopher China 2015 1. Memory Allocator 2. Garbage Collector 3. Goroutine Scheduler  ### 1. Memory Allocator0 码力 | 29 页 | 608.57 KB | 2 年前3
Rust 异步 Runtime 的兼容层 - 施继成Rust 异步 Runtime 的兼容层 施继成 @ DatenLord ## [Table_CompanyName] 6.17-6.18 @Shanghai ## Table of Contents ## # Rust async runtime Introduce what's rust async runtime 2 ## #Async runtime binding Analyze the reason of runtime isolation 3 ## # Compatible layer Create a wheel used everywhere ## 1 # Rust async runtime ## Rust async runtime  During multithreading: definitions and use-cases Parallel APIs Sources of overhead and runtime design Minimum viable runtime plan in a weekend ## 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 ## 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 environment## Go runtime related problems in TiDB production environment ## About me Arthur Mao(毛康力), Senior Engineer@PingCAP • TiDB core developer (top3 contributor) • GitBook about golang internals (@tiancaiamao) 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? ## client lib ## Conclusion - Under heavy workload, goroutines get longer to be scheduled - The runtime scheduling does not consider priority • CPU dense workload could affect IO latency ## Part II -0 码力 | 56 页 | 50.15 MB | 1 年前3
Nim - the first high performance language with full support for hot codereloading at runtime## Nim - the first high performance language with full support for hot codereloading at runtime by Viktor Kirilov ## Me, myself and I • my name is Viktor Kirilov - from Bulgaria • creator of doctest double=""> x; 2 x $$ 6 $$ = 91.4; c2nim tool - generate C/C++ bindings for Nim ## Runtime compilation - WHY • much faster iteration times ■ no need to restart the program - can preserve powerful ■ fine-tuning values • interactive (REPL-like): very useful for exploration and teaching ## Runtime compilation for C/C++: HOW • replacing entire functions: using shared libraries OR hot-patching:0 码力 | 63 页 | 2.91 MB | 1 年前3
Testing Compile-time Constructs Within a Runtime Unit Testing Framework## +21 ## Testing Compile-time Constructs Within a Runtime Unit Testing Framework ## I GOR BOGOSLAVSKYI 20 21 October 24-29 ## We use C++ (14) for safety-critical applications that we deliver to our0 码力 | 50 页 | 1.37 MB | 1 年前3
Tracing in TiDB 浅谈全链路监控:
从应用到数据库到 Runtime## 浅谈全链路监控: 从应用到数据库到 Runtime 黄东旭, Co-founder & CTO, PingCAP  ## 关于我 黄东旭, 联合创始人 & CTO @ PingCAP 做分布式数据库的程序员 ● Syscall Time: graph(download) Scheduler Wait Time: graph(download) ## Trace in Go runtime go tool trace 的原理是? Trace 会 Go Runtime 的代码中打桩收集 CPU time,在 Goroutine 开始执行时记录 start_run_time,在调度退出执行时记录 end_run_time,累加 end_run_time,累加 (end_run_time - start_run_time) 即为这个 goroutine 的 CPU time。 ## A little bit about Go runtime   • Service Mesh 回顾 • Multi Runtime: 从 sidecar 到机甲 • Runtime API: 解决跨云部署和厂商绑定难题 • WebAssembly in sidecar: 让业务逻辑跑在sidecar里 • 展望2022:待解决的问题 • 总结 2:异构语言接入成本高  ## Multi-Runtime  图片来源: https://www com/articles/multi-runtime-microservice-architecture/  Reference: https://www.infoq.com/articles/multi-runtime-microservice-architecture/0 码力 | 63 页 | 880.85 KB | 2 年前3
Rust在Substrate 开发框架中的使用Substrate 开发框架中的使用 孙凯超 ## 内容 • Rust 简介 • Rust 特性 • Why blockchain - 什么是Substrate • Substrate Runtime 组件 • Substrate 应用开发 # Stable Channel Update for Desktop Thursday, October 10, 2019 The Stable chain特点: • Runtime 安全有开发者完全负责 • 获取链上所有状态 - 高度定制化,包括共识,通证,交易方式 ## Substrate简介 一个开源、模块化、可扩展的区块链开发框架,涵盖了区块链的核心组件: • Database layer P2P • PoS • Transaction pool Full / light client • Runtime modules Rust 编译成本地可执行文件 ## RUNTIME staking slashing cspring ## Substrate Runtime 组件 Substrate Runtime Module Library 提供一系列的即插即用的功能,如资产管理、共识、合约、自治等。 你也可以开发自己的Runtime组件。 Substrate Runtime Module Library (SRML)0 码力 | 37 页 | 967.22 KB | 2 年前3
Implementing Reflection Using the New C++20 Tooling Opportunity: Modulesf9d1987f99771d61126d94b402/p2_2.jpg) ## Summary • What is reflection? • Why? • Implementing runtime reflection ## What is reflection • Metadata of code • "What members do I have?" struct reflection • Go over current techniques • Modules • Patterns and Tricks for runtime reflection ## I mplementing an RTTI runtime • Go from client API json sanitize_struct(any any_value) { json json; json[f.name]["type"] = f.type; } return json; } ## I mplementing an RTTI runtime om realistic client API struct AnyRef { void* value; const Type* type; }; json sanitize_struct(AnyRef0 码力 | 53 页 | 1.43 MB | 1 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100













