C++20 STL Features: 1 Year of Development on GitHub
Version 1.0 - September 15, 2020 1 C++20 STL Features: 1 Year of Development on GitHub Stephan T. Lavavej "Steh-fin Lah-wah-wade" Principal Software Engineer, Visual C++ Libraries stl@microsoft.com @StephanTLavavej2 Standard, except as noted • Part 2: GitHub Development • For contributors and observers3 Overview Part 04 CppCon 2019 CppCon 2020 • Announced at CppCon 2019 • github.com/microsoft/STL • Apache License contributors • Extensively reviewed and tested • Released VS 2019 16.5, 16.6, 16.7, 16.8 Preview 3 • GitHub migration ongoing • Build system (native desktop), test suite, issue database • Goal: Complete0 码力 | 45 页 | 702.09 KB | 5 月前3THE FIRST EXPLORATION OF PROJECT SPARROW
years on Mobile dev) Actively participating Open Source Communities: https://github.com/XianBeiTuoBaFeng2015/MySlides Recently, focus on infrastructure of Cloud/Edge https://docs.sel4.systems/projects/camkes/ https://github.com/seL4/camkes https://github.com/seL4/camkes-vm CAmkES ADL Source: I. Background . https://docs.sel4.systems/projects/l4v/ https://github.com/seL4/l4v Source: https://sel4.systems/About/seL4-whitepaper0 码力 | 68 页 | 13.14 MB | 1 年前3C++高性能并行编程与优化 - 课件 - 02 现代 C++ 入门:RAII 内存管理
现代 C++ 入门: RAII 内存管 理 by 彭于斌( github@archibate ) 往期录播: https://space.bilibili.com/263032155 PPT 和代码: https://github.com/parallel101/course 高性能并行编程与优化 - 课程大纲 • 分为前半段和后半段,前半段主要介绍现代 C++ ,后半段主要介绍并行编程与优化。 Linux 用户) CMake 3.12 及以上(跨平台作业) Git 2.x (作业上传到 GitHub ) CUDA Toolkit 10.0 以上( GPU 专题) 从一个案例看 C++ 的历史 • 求一个列表中所有数的和: # 参考资料 - [ 热心观众整理的学习资料 ](https://github.com/jiayaozhang/OpenVDB_and_TBB) - [C++ 官方文档 cppreference.com/w/) - [C++ 核心开发规范 ](https://github.com/isocpp/CppCoreGuidelines/blob/master/CppCoreGuidelines.md) - [LearnCpp 中文版 ](https://learncpp-cn.github.io/) - [C++ 并发编程实战 ](https://www.bookstack0 码力 | 96 页 | 16.28 MB | 1 年前3Borsh 安全高效的二进制序列化
https://github.com/near/borsh-rs Typescript https://github.com/dao-xyz/borsh-ts Java, Kotlin, Scala https://github.com/near/borshj Go https://github.com/near/borsh-go Python https://github.com/nea C# https://github.com/hexarc-software/hexarc-b orsh C++ https://github.com/Stolkerve/borsh-cpp Assemblyscript https://github.com/gagdiez/serial-as/tree/ma in/borsh Elixir https://github.com/alexfilatov/borsh com/alexfilatov/borsh 欢迎使用 https://github.com/near/borsh-rs borsh.io •near/near-jsonrpc-client-rs •near/near-cli-rs •near/near-sdk-rs •near/workspaces-rs •near/borsh-rs •… 欢迎申请: 有偿的开源贡献者 Thank you !0 码力 | 21 页 | 3.35 MB | 1 年前3夏歌-使用Rust构建LLM应用
编译成 Wasm ,并运行在 WasmEdge 安全容 器中 • 平台封装了一些常用 LLM 和 SaaS 的 API ,并发布成了 crate ,比如 ChatGPT 、 telegram 、 GitHub 、 Discord 、向量数据库比如 qdront 。 • 整个 serverless 平台是为 Rust 和 WebAssembly 设计的 视频演示如何使用 serverless 的方式部署 的 Telegram 机器人 在 ocr 这个 function 里 识别 图片中的文字, text_detection 是把识别的图片转化为 base64 https://github.com/flows-network/review-any- pr-with-chatgpt 使用 Rust 构建 ChatGPT Telegram 机器人 使用 Rust 构建基于 ChatGPT PR 进行 review , 并且以 PR comment 的形式发回到 GitHub 这个机器人可以: "0.1.0" 使用 Rust 构建 PR review 机器人 Cargo.toml "0.1.0" 使用 Rust 构建 PR review 机器人 设置 OpenAI 与 GitHub 基本信息 "0.1.0" 使用 Rust 构建 PR review0 码力 | 36 页 | 38.31 MB | 1 年前3C++高性能并行编程与优化 - 课件 - 01 学 C++ 从 CMake 学起
及以上(跨平台作业) Git 2.x (作业上传到 GitHub ) CUDA Toolkit 10.0 以上( GPU 专题) 关于作者 • 我是 Taichi 编译器的贡献者之一( https://github.com/taichi-dev/taichi ) 关于作者(续) • 我是 Taichi Blend 的作者( https://github.com/taichi-dev/taichi_blend blend ) 关于作者(再续) • 主导 Zeno 节点仿真框架的开发( https://github.com/zenustech/zeno ) 什么是编译器 • 编译器,是一个根据源代码生成机器码的程序。 • > g++ main.cpp -o a.out • 该命令会调用编译器程序 g++ ,让他读取 main.cpp 中的字符串(称为源码),并根据 C+ + 标准生成相应的机器指令码,输出到 可以用系统自带的包管理器(如 apt )安装 C++ 包。 • > pacman -S fmt • Windows 则没有自带的包管理器。因此可以用跨平台的 vcpkg : https://github.com/microsoft/vcpkg • 使用方法:下载 vcpkg 的源码,放到你的项目根目录,像这样: • > cd vcpkg • > .\bootstrap-vcpkg.bat0 码力 | 32 页 | 11.40 MB | 1 年前3CeresDB Rust 生产实践 任春韶
await will prevent other tasks from running. 生产实践 – Future 循环 Run Return https://rust-lang.github.io/async-book/04_pinning/01_chapter.html#why-pinning https://doc.rust-lang.org/beta/unstable-boo https://www.influxdata.com/blog/using-rustlangs-async-tokio-runtime- for-cpu-bound-tasks/ 测试源码: https://github.com/chunshao90/tokio-preemption However, this kind of swapping can only happen at .await points join_all!(a,b,c…) https://github.com/tokio-rs/tokio/issues/2401 FutureUnordered runtime spawn 生产实践 – Cancellation Async workgroup 在 roadmap 中也有提到。 https://rust-lang.github.io/wg-async/vision/roadmap/scopes0 码力 | 22 页 | 6.95 MB | 1 年前3C++高性能并行编程与优化 - 课件 - 16 现代 CMake 模块化项目管理指南
现代 CMake 模块化项目管理指南 彭于斌( @archibate ) 课件 & 源码: https://github.com/parallel101/course 往期录播: https://space.bilibili.com/263032155 找不到头文 件怎么办呀 CMake Cookbook 小彭老师建议 : ~~-·~·~-·~ -~·-·~·- 第一章:文件 / 项目名 PUBLIC include) • 源码文件中写: • #include < 项目名 / 模块名 .h> • 项目名 :: 函数名 (); 完整案例请看源码仓库: https://github.com/parallel101/course/tree/master/16/00 推荐的目录组织方式 • 头文件(项目名 /include/ 项目名 / 模块名 .h )中写: • #pragma namespace 项目名 { • void 函数名 () { 函数实现 } • } 完整案例请看源码仓库: https://github.com/parallel101/course/tree/master/16/00 推荐的目录组织方式 完整案例请看源码仓库: https://github.com/parallel101/course/tree/master/16/00 一、划分子项目 • 大型的项目,往往会划分为几个子项目。0 码力 | 56 页 | 6.87 MB | 1 年前3C++高性能并行编程与优化 - 课件 - 10 从稀疏数据结构到量化数据类型
从稀疏数据结构到量化数据类型 by 彭于斌( @archibate ) 往期录播: https://www.bilibili.com/video/BV1fa411r7zp 课程 PPT 和代码: https://github.com/parallel101/course 本课涵盖:稀疏矩阵、 unordered_map 、空间稀 疏网格、位运算、浮点的二进制格式、内存带宽优 化 面向人群:图形学、 CFD 仿真、深度学习编程人 pointer(5).pointer(4).dense(3) ZENO 中就大量使用了 OpenVDB ,并且以节点的形式提供给用户调用 • github.com/zenustech/zeno ZENO 中的流体仿真,就是基于 OpenVDB 的稀疏体积 • github.com/zenustech/zeno Taichi 也支持稀疏数据结构 • https://yuanming.taichi.gr 缓存坐标以减轻锁的压力。 • 评分规则:加速了多少倍就是多少分。 感谢观看! by 彭于斌( github@archibate ) 录播: https://space.bilibili.com/ 263032155 课件: https://github.com/parallel101/ course 作业: https://github.com/parallel101/ hw10 作业还在准备中,等做完了会在动态中放出!0 码力 | 102 页 | 9.50 MB | 1 年前3Introduction to Mobile UI Test Automation
modify app under test Use language of choice Use known APIs (webdriver) Functional Tests Core www.github.com/NativeScript/functional-tests-core Open source Java Appium Easy to write tests Single code compareScreen("page.png"); Open source cloud builds - Sauce Labs nativescript-facebook plugin: www.github.com/NativeScript/nativescript-facebook/blob /master/demo/e2e-tests/tests.js Integration Drawbacks > 8000 images Links Repository: www.github.com/NativeScript/nativescript-dev-appium Demos: www.github.com/NativeScript/ns-dev-days-appium-plu gin www.github.com/NativeScript/nativescript-angular/tre0 码力 | 41 页 | 4.75 MB | 1 年前3
共 60 条
- 1
- 2
- 3
- 4
- 5
- 6