- Rust Quick Start Guide
- Daniel Arbuckle
- 175字
- 2021-06-10 19:46:01
Dynamic libraries, software distribution, and Rust
For the most part, Rust avoids using dynamic libraries. Instead, all of the dependencies of a Rust program are linked directly into the executable, and only select operating system libraries are dynamically linked. This makes Rust programs a little larger than you might expect, but a few megabytes are of no concern in the era of gigabytes. In exchange, Rust programs are very portable and immune to dynamically linked library version issues.
That means that, if a Rust program works at all, it's going to work on pretty much any computer running roughly the same operating system and architecture it was compiled for, with no hassles. You can take your release version of a Rust program, zip it up, and email it to someone else with confidence that they will have no problem running it.
This doesn't entirely eliminate external dependencies. If your program is a client, the server it connects to needs to be available, for example. However, it does greatly simplify the whole packaging and distribution process.
- Mastering Entity Framework Core 2.0
- LabVIEW2018中文版 虛擬儀器程序設計自學手冊
- Rust實戰
- OpenCV 3和Qt5計算機視覺應用開發
- Java程序設計與實踐教程(第2版)
- ASP.NET程序設計教程
- Visual Basic程序設計教程
- 區塊鏈技術進階與實戰(第2版)
- Android應用開發深入學習實錄
- Arduino可穿戴設備開發
- App Inventor少兒趣味編程動手做
- Building Business Websites with Squarespace 7(Second Edition)
- 零基礎C#學習筆記
- Hacking Android
- Tkinter GUI Application Development Blueprints