Systems programming provides the foundation for the world’s computation. Developing performance-sensitive code requires a programming language that puts programmers in control of how memory, processor time, and other system resources are used. The Rust systems programming language combines that control with a modern type system that catches broad classes of common mistakes, from memory management errors to interthread data races. With this practical guide, experienced systems programmers will learn how to successfully bridge the gap between performance and safety using Rust. Jim Blandy, Jason Orendorff, and Leonora Tindall demonstrate how Rust’s features put programmers in control over memory consumption and processor use by combining predictable performance with memory safety and trustworthy concurrency. You’ll learn: Rust’s fundamental data types and the core concepts of ownership and borrowing Language basics including error handling, crates and modules, structs, and enums How to write flexible, efficient code with traits and generics Rust’s key power tools: closures, iterators, and asynchronous programming Collections, strings and text, input and output, concurrency, macros, unsafe code, and interfacing with foreign functions This updated edition covers Rust 1.50 (February 2021).
ترجمه فارسی (ترجمه ماشینی)
برنامه نویسی سیستم ها پایه و اساس محاسبات جهان را فراهم می کند. توسعه کدهای حساس به عملکرد نیازمند یک زبان برنامه نویسی است که برنامه نویسان را در کنترل نحوه استفاده از حافظه، زمان پردازنده و سایر منابع سیستم قرار دهد. زبان برنامه نویسی Rust Systems این کنترل را با یک سیستم نوع مدرن ترکیب می کند که طبقات گسترده ای از اشتباهات رایج، از خطاهای مدیریت حافظه گرفته تا مسابقه داده های بین رشته ای را می گیرد. با این راهنمای عملی، برنامه نویسان سیستم های با تجربه یاد خواهند گرفت که چگونه با استفاده از Rust شکاف بین عملکرد و ایمنی را با موفقیت پر کنند. جیم بلندی، جیسون اورندورف و لئونورا تیندال نشان میدهند که چگونه ویژگیهای Rust با ترکیب عملکرد قابل پیشبینی با ایمنی حافظه و همزمانی قابل اعتماد، برنامهنویسان را بر مصرف حافظه و استفاده از پردازنده کنترل میکنند. شما یاد خواهید گرفت: انواع داده های بنیادی Rust و مفاهیم اصلی مالکیت و قرض گرفتن اصول زبان از جمله مدیریت خطا، جعبه ها و ماژول ها، ساختارها و فهرست ها چگونه کد انعطاف پذیر و کارآمد با ویژگی ها و ژنریک بنویسید ابزارهای قدرت کلیدی Rust: بسته شدن، تکرار کننده ها و برنامهنویسی ناهمزمان مجموعهها، رشتهها و متن، ورودی و خروجی، همزمانی، ماکروها، کد ناامن، و رابط با توابع خارجی این نسخه بهروز شده Rust 1.50 (فوریه 2021) را پوشش میدهد.
نقد و بررسیها
هنوز بررسیای ثبت نشده است.