Go读书会第二期Go 读书会第二期 白明 《 Go 语言精进之路》作者 tonybai.com 博主 目 录 写书的历程 0 1 Go 语言精进之路导读 0 2 我是怎么读书的 0 3 写书的历程 第一部分 程序员的“小目标”与写书三要素 写书三要素 写书 <- 能力 +意愿 + 机会 过程 写书不易,写高质量的书更难 2018 年下 旬开始动笔 2020 年 11 月下旬 初稿交付 初稿交付 2021 年 12 月出版 《 Go 语言精进之路》导读 第二部分 整体写作思路 异曲同工 精进之路,思维先行 – part1 践行哲学,遵循惯例,认清本质,理解原理 - (part2- part10) 精进之路,思维先行 异曲同工 “ 语言决定思维方式” - 萨丕尔假说 “ 我的语言之局限,即我的世界之局限” - 路德维 希 · 维特根斯坦(语言哲学奠基人) “ - Alan Perlis ( 首届图灵奖得主 ) Part1 - 进入 Go 语言编程思维导引 站在语言设计者的高度理解 Go 的与众不同 Go 诞生 与演进 Go 设计哲 学 Go 编程思 维举例 怎么学习 Go 思维? 学习本质是一种模仿。要学习 Go 思维,就要 去模仿 go 团队、 go 社区的优秀项目和代 码,看看他们怎么做的 践行哲学,遵循惯例,认清本质,理解原理0 码力 | 26 页 | 4.55 MB | 1 年前3
Making Libraries Consumable for Non-C++ DevelopersWho am I? Still at Microsoft, now on the .NET Core runtime team. • https://github.com/dotnet/runtimeWhat is interoperability? Enabling two or more disparate entities to work together. Don’t touch it interop, C++/CLI – 2002, 2005 JVM – Java Native Access (JNA) – 2007 Go – cgo – permit C in the .go source file – 2009 Swift – share a runtime and be like C – 2014There is no one approach. Make it suck less0 码力 | 29 页 | 1.21 MB | 6 月前3
基于 Rust Arrow Flight 的物联网和时序数据传输及转换工具 霍琳贺生物信息 CNV 分析 • mdsn - A Multi-address DSN(Data Source Name) parser. TDengine 应用开发组 • Python/Rust/Go 连接器 • 数据可视化 • 数据库运维工具 • 第三方数据源接入 • BI 系统接入 https://taosdata.com/ https://github.com/zitsen CONTENTS 强大的类型系统和抽象表达能力 • 优秀的 Rust 生态和开发工具链 • C FFI 互操作能力 • async/await 异步编程 Rust - Crates Used in taosX • Async runtime: https://crates.io/crates/tokio • Job Scheduler: https://crates.io/crates/tokio-cron-scheduler •0 码力 | 29 页 | 2.26 MB | 1 年前3
CeresDB Rust 生产实践 任春韶ould-you-use 生产实践 – Async lock runtime.spawn(task0) runtime.spawn(task1) runtime.spawn(task2) 生产实践 – Async lock runtime.spawn(task0) runtime.spawn(task1) runtime.spawn(task2) 生产实践 – Async lock workload runtime.spawn(task0) runtime.spawn(task1) runtime.spawn(task2) runtime.spawn(task3) 生产实践 – Mixed workload cpu_runtime.spawn(task0) cpu_runtime.spawn(task1) cpu_runtime.spawn(task2) cpu_runtime.spawn(task3) https://tokio.rs/blog/2020-04-preemption 2. https://www.influxdata.com/blog/using-rustlangs-async-tokio-runtime- for-cpu-bound-tasks/ 测试源码: https://github.com/chunshao90/tokio-preemption However, this kind of0 码力 | 22 页 | 6.95 MB | 1 年前3
Rust 异步并发框架在移动端的应用 - 陈明煜Rust Runtime in Mobile Overview of asynchronous Rust #1 Rust 异步简介 Ylong async runtime #3 Ylong Runtime 并发框架 目录 Table of Contents #2 社区并发框架介绍以及与移动端的不适配性 Introduction to third party Runtime crates task Queue wake Worker Future.poll() Reactor fd fd listen listen find 现有并发框架 Third Party Runtime 目前 Rust 社区最广泛使用的事件 驱动型调度框架,擅长处理大量异 步 IO 的场景。具有非常强大的生 态。 tokio 第一个适配 Rust async/await 原语 的运行时库,与 只持有一个本地 FIFO 队列 移动端诉求:优先级 • 任务区分优先级: UI 显示 vs 后台下载 • 大小核调度 Incompatibility of the third party Runtime with Mobile 现有框架无法完美适配移动端(二) 移动端诉求:易用性 • IO 密集性任务与 CPU 密集型任务融合 异步并发框架如 tokio 大多用于处理大量 异步 IO 场景,而0 码力 | 25 页 | 1.64 MB | 1 年前3
Visualize Time Enabled Data using ArcGIS Qt (C++) and Toolkitinformation for the time slider - Start and end dates, time interval, etc. - Feature layer URLArcGIS Runtime for Qt - SDK • The Qt SDK allows you to build cross platform desktop and mobile apps • Incorporate mapping, geocoding, routing, geoprocessing, etc. • In this sample we will be using the C++ SDKArcGIS Runtime Toolkit for Qt • Open-source project • Contains UI components and utilities to help simplify Qt https://github.com/Esri/arcgis-runtime-toolkit-qt • How: - Clone the repository and import the path in .pro file in Qt Creator - Register your components in main.cppArcGIS Runtime Toolkit for Qt • Time slider0 码力 | 10 页 | 734.09 KB | 6 月前3
基于Rust-vmm实现Kubernetes运行时Yingzhe Ru(@ruyingzhe), Tencent Liangyu Zhou(@choujimmy), Tencent Implement Kubernetes Runtime Based on Rust-VMM About Us Yingzhe Ru Senior Software Engineer at Tencent Working on TKEStack project io/category=container-runtime&format=card-mode&grouping=category Runtime Landscape cri- containerd runsc+gVisor kubelet dockershim docker containerd containerd runc kata- runtime CRI-O kubelet kubelet kubelet io.kubernetes.cri-o.TrustedSandbox=true containerd- shim-kata-v2 O C I C R I K8s Runtime io.kubernetes.cri-o.TrustedSandbox=false Firecracker- containerd runnc+Nabla OCI Solution OCI Compa0 码力 | 27 页 | 34.17 MB | 1 年前3
THE FIRST EXPLORATION OF PROJECT SPARROWContainer Runtimes" is coming soon. 2.3 Unified runtime for eBPF and Wasm Summary II. Practicing Sparrow Our previous talks "GraalVM-based unified runtime for eBPF & Wasm" at GOTC 2021 (Shenzhen) (Shenzhen) & "Revisiting GraalVM-based unified runtime for eBPF & Wasm" at OpenInfra Days China 2021(Beijing), and the third-round discussion of this topic will come in this year,0 码力 | 68 页 | 13.14 MB | 1 年前3
使用硬件加速Tokio - 戴翔compatibility requirements, , and they haven't chosen to lock- in a specific runtime. Why need Tokio? Rust does not provide async runtime in std lib Tokio gets the biggest support from the community, and0 码力 | 17 页 | 1.66 MB | 1 年前3
whats new in visual studioMSVC now generally-available • x86 and X64 support • Debug configurations (/MTd, /MDd) included • Runtime libraries automatically linked for command-line builds Visual Studio integration • MSBuild & CMake Learn more at http://aka.ms/18xfaster Link time 28x faster 5x faster 18x faster Runtime Performance for Debug Builds 2x-3x faster Performance of Visual Studio Developer Community0 码力 | 42 页 | 19.02 MB | 6 月前3
共 23 条
- 1
- 2
- 3













