2.2.1 深入Go Module## GCN ## 深入Go Module  鸟窝 细节、使用、坑以及未来 ## 鸟窝 • Go微服务框架rpcx作者 • Go并发编程实战课专栏作者 《Scala集合技术手册》作者  Go 版本管理历史 01 认识 Go Module 02 使用 Go Module 03 血泪史 04 Go Module 未来特性 05 ## 第一部分 ## Go版本管理历史 ## Go版本历史  ### 1. Memory Allocator0 码力 | 29 页 | 608.57 KB | 2 年前3
Go Module在又拍云的实践## GCN ## Go Module 在又拍云的实践 刘云鹏 又拍云高级研发工程师 “大家好,我是来自又拍云的 Gopher 又拍云是国内最早的云服务提供商之一 我们致力于为用户提供以 CDN 为核心的云计算服务 1. 背景 2. 如何获取 Module 3. 又拍云的实践 ## 1 研发背景 引入 Module 默认使用 Module GO 1.11 Go 1.13 13 Go 1.16 GO 1.17 默认 check SUM 删除 GOPATH 支持 GOPATH or MODULE ? private module or public module ? ## 2 如何获取 Module  login guest password 123456 ## Git over SSH go get 默认不会使用 SSH 协议 除非动态获取 meta 时明确指定使用 SSH 协议 // module: example.com/pkg repo: gitlab.example.com/example/pkg 0 码力 | 28 页 | 12.85 MB | 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
深度学习与PyTorch入门实战 - 43. nn.Module## PyTorch ### nn.Module 主讲人:龙良曲 ## ☐ ☐ ☐ class MyLinear(nn.Module): def __init__(self, inp, outp): super(MyLinear, self).__init__() # requires_grad = True self.w = nn.Parameter(torch.randn(outp + self.b return x ## Magic ### ■ Every Layer is nn.Module - nn.Linear - nn.BatchNorm2d - nn.Conv2d #### - nn.Module nested in nn.Module ### 1. embed current layers Linear ReLU Sigmoid Conv2d BasicNet(nn.Module): def __init__(self): super(BasicNet, self).__init__() self.net = nn.Linear(4, 3) def forward(self, x): return self.net(x) class Net(nn.Module): def0 码力 | 16 页 | 1.14 MB | 2 年前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 ■ the C/C++ compiler rebuilds only changed files (takes a bit more time) ☑ will change when per-module caching is introduced - even faster! ##### Nim to C/C++: nimbase.h included by all .c/.cpp files 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 preserve0 码力 | 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在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 编译成本地可执行文件 ## RUNTIME staking slashing cspring ## Substrate Runtime 组件 Substrate Runtime Module Library 提供一系列的即插即用的功能,如资产管理、共识、合约、自治等。 你也可以开发自己的Runtime组件。 Substrate Runtime Module Library (SRML)0 码力 | 37 页 | 967.22 KB | 2 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100













