基于Rust的Python现代运维

如果无法正常显示,请先停止浏览器的去广告插件。
分享至:
1. GOPS 全球运维大会暨 研运数智化技术峰会 2025 · 上海站
2. Rust-based Modern Python DevOps Name: Feng Li (李枫) Date:Oct 18, 2025 GOPS 全球运维大会暨 研运数智化技术峰会 2025 · 上海站
3. 个人简介 Feng Li ( 李枫 ) GOPS 全球运维大会暨 研运数智化技术峰会 2025 · 上海站
4. I. Background II. Switching to Rust-based DevOps tools in Python projects III. Running Python programs with RustPython Agenda IV. Exploring further integration of Rust & Python V. Python in Rust-based container runtimes VI. Wrap-up GOPS 全球运维大会暨 研运数智化技术峰会 2025 · 上海站
5. I. Background 1) Tech Stack 1.1 Python  https://en.wikipedia.org/wiki/Python_(programming_language) Ranking  . 添加标题 Source: https://madnight.github.io/githut/#/pull_requests/2024/1 GOPS 全球运维大会暨 研运数智化技术峰会 2025 · 上海站
6. I. Background 添加标题 Source: https://pypl.github.io/PYPL.html Source: https://spectrum.ieee.org/top-programming-languages-2025 GOPS 全球运维大会暨 研运数智化技术峰会 2025 · 上海站
7. I. Background 添加标题 Source: https://www.tiobe.com/tiobe-index/ GOPS 全球运维大会暨 研运数智化技术峰会 2025 · 上海站
8. I. Background Python in AI  . 添加标题 Source: https://orbittraining.ae/8-reasons-why-python-is-essential-for-ai-and-ml/ GOPS 全球运维大会暨 研运数智化技术峰会 2025 · 上海站
9. I. Background 1.2 Rust  https://en.wikipedia.org/wiki/Rust_(programming_language) 添加标题  https://www.rust-lang.org GOPS 全球运维大会暨 研运数智化技术峰会 2025 · 上海站
10. I. Background Rust Cloud Native  https://rust-cloud-native.github.io/ 添加标题 GOPS 全球运维大会暨 研运数智化技术峰会 2025 · 上海站
11. I. Background 1.3 Rust-based tools for Python development 1.3.1 UV  https://github.com/astral-sh/uv 添加标题 … GOPS 全球运维大会暨 研运数智化技术峰会 2025 · 上海站
12. I. Background 1.3.2 Pixi  https://github.com/prefix-dev/pixi 添加标题 Source: https://pixi.sh/ … GOPS 全球运维大会暨 研运数智化技术峰会 2025 · 上海站 Source: https://pixi.sh/latest/tutorials/ros2/
13. I. Background 1.3.3 Mise  https://github.com/jdx/mise 添加标题 Source: https://betterstack.com/community/guides/scaling-nodejs/mise-vs-asdf/ GOPS 全球运维大会暨 研运数智化技术峰会 2025 · 上海站
14. I. Background How it works  . 添加标题 Source: https://mise.jdx.dev/dev-tools/backends/ Source: https://mise.jdx.dev/getting-started.html GOPS 全球运维大会暨 研运数智化技术峰会 2025 · 上海站
15. I. Background 1.4 Rust-based Python implementations 1.4.1 RustPython  https://rustpython.github.io/ 添加标题 GOPS 全球运维大会暨 研运数智化技术峰会 2025 · 上海站
16. I. Background How it works  https://github.com/RustPython/RustPython 添加标题 Source: https://github.com/RustPython/RustPython/blob/main/architecture/architecture.md GOPS 全球运维大会暨 研运数智化技术峰会 2025 · 上海站
17. I. Background 1.5 Rust-based Python implementations 1.5.1 PyO3  https://github.com/PyO3/pyo3 添加标题 GOPS 全球运维大会暨 研运数智化技术峰会 2025 · 上海站
18. I. Background How it works  . 添加标题 Source: https://github.com/PyO3/pyo3/blob/main/Architecture.md Source: https://gihyo.jp/article/2023/07/monthly-python-2307 GOPS 全球运维大会暨 研运数智化技术峰会 2025 · 上海站
19. I. Background 1.6 Rust-based Container Runtimes 1.6.1 Youki  https://github.com/youki-dev/youki 添加标题 GOPS 全球运维大会暨 研运数智化技术峰会 2025 · 上海站
20. I. Background How it works  . 添加标题 Source: https://github.com/youki-dev/youki/blob/main/docs/.drawio.svg GOPS 全球运维大会暨 研运数智化技术峰会 2025 · 上海站
21. I. Background 1.7 Develop Kubernetes with Rust 1.7.1 RK8S  https://github.com/rk8s-dev/rk8s 添加标题 GOPS 全球运维大会暨 研运数智化技术峰会 2025 · 上海站
22. I. Background Architecture & Design  . 添加标题 GOPS 全球运维大会暨 研运数智化技术峰会 2025 · 上海站
23. I. Background 2) Testbeds 2.1 Testbed1 (GMK K8 PLUS)  https://www.gmktec.com/products/amd-ryzen-7-8845hs-mini-pc-nucbox-k8-plus Our configs 96GB DDR5-5600 with Fedora 42(Kernel 6.16.12) 添加标题 GOPS 全球运维大会暨 研运数智化技术峰会 2025 · 上海站
24. II. Switching to Rust-based DevOps tools in Python projects 1) UV for Python projects 1.1 Project management with uv  uv supports multiple project types, each with different build system configurations 添加标题 Source: https://dev.to/thomas_bury_b1a50c1156cbf/mastering-python-project-management-with-uv-part-2-deep-dives-and-advanced-use-4mlb GOPS 全球运维大会暨 研运数智化技术峰会 2025 · 上海站
25. II. Switching to Rust-based DevOps tools in Python projects  initializing a new project Step 1. Create a Project Directory 添加标题 Source: https://www.bitdoze.com/uv-get-start/ GOPS 全球运维大会暨 研运数智化技术峰会 2025 · 上海站
26. II. Switching to Rust-based DevOps tools in Python projects Step 2. Set a Python Version (Optional) Step 3. Setting Up a Virtual Environment 添加标题 Source: https://www.bitdoze.com/uv-get-start/ GOPS 全球运维大会暨 研运数智化技术峰会 2025 · 上海站
27. II. Switching to Rust-based DevOps tools in Python projects Step 4. Adding Dependencies 添加标题 Source: https://www.bitdoze.com/uv-get-start/ GOPS 全球运维大会暨 研运数智化技术峰会 2025 · 上海站
28. II. Switching to Rust-based DevOps tools in Python projects 1) Mise + UV 1.1 Managing projects with Mise  . 添加标题 Source: https://mise.jdx.dev/mise-cookbook/python.html GOPS 全球运维大会暨 研运数智化技术峰会 2025 · 上海站
29. III. Running Python programs with RustPython 1) RustPython 1.1 Build RustPython from source  . 添加标题 … … GOPS 全球运维大会暨 研运数智化技术峰会 2025 · 上海站
30. III. Running Python programs with RustPython 1.2 Tests  . 添加标题 GOPS 全球运维大会暨 研运数智化技术峰会 2025 · 上海站
31. III. Running Python programs with RustPython 2) Try to support RustPython in Mise 1.1 No RustPython support in UV  . 添加标题 GOPS 全球运维大会暨 研运数智化技术峰会 2025 · 上海站
32. III. Running Python programs with RustPython  https://github.com/astral-sh/uv/blob/main/docs/concepts/python-versions.md … … 添加标题 … … … GOPS 全球运维大会暨 研运数智化技术峰会 2025 · 上海站
33. III. Running Python programs with RustPython Test failed  . 添加标题 GOPS 全球运维大会暨 研运数智化技术峰会 2025 · 上海站
34. III. Running Python programs with RustPython 1.2 Hack UV or RustPython(not implemented yet)  . 添加标题 GOPS 全球运维大会暨 研运数智化技术峰会 2025 · 上海站
35. IV. Exploring further integration of Rust & Python 1) Python+Python for project Ray 1.1 An overview of Ray   https://www.ray.io/ An open source unified framework for scaling AI and Python applications. It provides a simple, universal API for building distributed applications that can scale from a laptop to a cluster. https://github.com/ray-project/ray Architecture & design  . 添加标题 Source: https://docs.ray.io/en/latest/ray-overview/getting-started.html GOPS 全球运维大会暨 研运数智化技术峰会 2025 · 上海站
36. IV. Exploring further integration of Rust & Python Evolution  . Source: Ray AIR Technical Whitepaper 添加标题 Source: https://www.anyscale.com/product/platform GOPS 全球运维大会暨 研运数智化技术峰会 2025 · 上海站
37. IV. Exploring further integration of Rust & Python 1.2 UV+Ray  . 添加标题 Source: https://www.anyscale.com/blog/uv-ray-pain-free-python-dependencies-in-clusters GOPS 全球运维大会暨 研运数智化技术峰会 2025 · 上海站
38. IV. Exploring further integration of Rust & Python How it works  . 添加标题 Source: https://www.anyscale.com/blog/uv-ray-pain-free-python-dependencies-in-clusters GOPS 全球运维大会暨 研运数智化技术峰会 2025 · 上海站
39. IV. Exploring further integration of Rust & Python 1.3 Tests 1.3.1 Install Ray by UV  The official guide 添加标题 … Source: https://docs.ray.io/en/latest/ray-overview/installation.html GOPS 全球运维大会暨 研运数智化技术峰会 2025 · 上海站
40. IV. Exploring further integration of Rust & Python Our test steps  . 添加标题 GOPS 全球运维大会暨 研运数智化技术峰会 2025 · 上海站
41. IV. Exploring further integration of Rust & Python 添加标题 GOPS 全球运维大会暨 研运数智化技术峰会 2025 · 上海站
42. IV. Exploring further integration of Rust & Python … 添加标题 GOPS 全球运维大会暨 研运数智化技术峰会 2025 · 上海站
43. IV. Exploring further integration of Rust & Python 添加标题 GOPS 全球运维大会暨 研运数智化技术峰会 2025 · 上海站
44. IV. Exploring further integration of Rust & Python Source: https://docs.ray.io/en/latest/ray-overview/installation.html 添加标题 GOPS 全球运维大会暨 研运数智化技术峰会 2025 · 上海站
45. IV. Exploring further integration of Rust & Python 添加标题 … GOPS 全球运维大会暨 研运数智化技术峰会 2025 · 上海站
46. IV. Exploring further integration of Rust & Python … 添加标题 GOPS 全球运维大会暨 研运数智化技术峰会 2025 · 上海站
47. IV. Exploring further integration of Rust & Python retry it by unset PYTHONPATH and install pytest in the virtualenv: 添加标题 GOPS 全球运维大会暨 研运数智化技术峰会 2025 · 上海站
48. IV. Exploring further integration of Rust & Python 2) RayII.Rust 2.1 Design goals & Technologies  . 添加标题 Source: "The first exploration of 'Beyonding Kubernetes'", Feng Li, OpenInfra Summit Asia 2024. Source: "Ray—A Swiss Army Knife for Distributed Computing & AI“, Feng Li, COSCon 2022. GOPS 全球运维大会暨 研运数智化技术峰会 2025 · 上海站
49. IV. Exploring further integration of Rust & Python Follow-ups  Please look forward to our new talk "Revisiting RayII.Rust—let Python and Rust work together to re-design and re-implement project Ray" which will be coming soon. 添加标题 GOPS 全球运维大会暨 研运数智化技术峰会 2025 · 上海站
50. IV. Exploring further integration of Rust & Python 2) Our RayII series 2.1 Design goals & Current status  design goals:  current status: 添加标题 Source: "RayII.Java—a Java-based new design and re-implementation of project Ray", Feng Li, CommunityOverCode Asia 2024. GOPS 全球运维大会暨 研运数智化技术峰会 2025 · 上海站
51. V. Python in Rust-based container runtimes 1) Ray 1.1 Launch Ray in Docker  . 添加标题 GOPS 全球运维大会暨 研运数智化技术峰会 2025 · 上海站
52. V. Python in Rust-based container runtimes 1.2 Youki  . 添加标题 GOPS 全球运维大会暨 研运数智化技术峰会 2025 · 上海站
53. V. Python in Rust-based container runtimes 添加标题 GOPS 全球运维大会暨 研运数智化技术峰会 2025 · 上海站
54. V. Python in Rust-based container runtimes  build Youki from source and retest it … … 添加标题 GOPS 全球运维大会暨 研运数智化技术峰会 2025 · 上海站
55. V. Python in Rust-based container runtimes 添加标题 GOPS 全球运维大会暨 研运数智化技术峰会 2025 · 上海站
56. IV. Python in Rust-based container runtimes Embrace a pure Rust-based container infrastructure in the near future?  . 添加标题 … … Source: https://github.com/orgs/containers/repositories?type=all Source: https://github.com/orgs/containerd/repositories?type=all GOPS 全球运维大会暨 研运数智化技术峰会 2025 · 上海站
57. V. Python in Rust-based container runtimes 2) Beyond Container 2.1 WebAssembly 添加标题 GOPS 全球运维大会暨 研运数智化技术峰会 2025 · 上海站
58. V. Python in Rust-based container runtimes 2.2 Are Containers the wrong unit of distribution for AI workloads? … 添加标题 … Source: https://blog.codingconfessions.com/p/compiling-python-to-run-anywhere GOPS 全球运维大会暨 研运数智化技术峰会 2025 · 上海站
59. VI. Wrap-up  Rust-based DevOps tools has been becoming more popular in Python projects, and Rust packages are booming in Python ecosystem: 添加标题 Source: "How Python Harnesses Rust through PyO3", David Hewitt, PyCon US 2024.  Replacing Python+C++ with Python+Rust for future AI Stack…  You may look forward to our upcoming follow-ups like "Third-round discussion on the eBPF-centric new approach for Hyper-Converged Infrastructure & Edge Computing" for more details(e.g., Rust for AI, Linux, Virtualization, HPC etc).  is awesome! GOPS 全球运维大会暨 研运数智化技术峰会 2025 · 上海站
60. Q & A Thanks 高 效 运 维 社 区 BizDevOps 软件工厂 GOPS 全球运维大会暨 研运数智化技术峰会 2025 · 上海站 荣誉出品
61. THANK YOU 感谢您的观看 姓 名: Feng Li (李枫) 时 间:2025/10/18 GOPS 全球运维大会暨 研运数智化技术峰会 2025 · 上海站

- 위키
Copyright © 2011-2025 iteam. Current version is 2.148.1. UTC+08:00, 2025-11-19 23:29
浙ICP备14020137号-1 $방문자$