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
Rust 异步并发框架在移动端的应用 - 陈明煜陈明煜 chenmingyu4@huawei.com 华为 公共开发部 嵌入式软件能力中心 ## 😍 ## Rust 异步并发框架在移动端的应用 Applications of Rust Runtime in Mobile  本科就读 社区并发框架介绍以及与移动端的不适配性 Introduction to third party Runtime crates and their incompatibility with mobile environment #3 Ylong Runtime 并发框架 Ylong async runtime ## Rust 异步机制 Asynchronous Rust 异步并发框架是许多大型应用、系统具备的底层能力。 [Image](/uploads/documents/3/7/6/8/3768f12918957029015f98546f882955/p7_1.jpg) ## 现有并发框架 Third Party Runtime  ## tokio 目前 Rust0 码力 | 25 页 | 1.64 MB | 2 年前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 与国密 TLS - 王江桐实现密码与安全协议的优势与现状 Use of Rust in Implementing Cryptographic Algorithms and Protocols #4 华为 Ylong Rust 密码库 Huawei Ylong Rust Cryptographic Framework ## Section #1  Ada|1.47| |(c) Rust|1.54| |(v) Lisp|1.92| ## Rust性能基本和C、C++持平,适用于系统级编程领域 ✓ 无GC、无Runtime、无解释器 零成本抽象 后端LLVM优化 ✓ 支持C-ABI的FFI方式 支持自定义内存分配器 高性能 2 ✓ 强大编译器 ✓ 全开源方式运作 ✓ Cargo ✓ Crates >✓## Section #4 ## 华为 Ylong Rust 密码库 Huawei Ylong Rust Cryptographic Framework • 使用 Rust 实现国密框架 • 国密算法在安全协议中的应用 ## • 相较于其他语言: • Rust 实现内存安全,并且性能比肩 0 码力 | 44 页 | 3.70 MB | 2 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100













