Rust Programming for Beginners

所在平台: Udemy

课程主页: https://www.udemy.com/course/rust-programming-for-beginners/

课程评论:没有评论

第一个写评论        关注课程

课程简介

课程名称:初学者的 Rust 编程 概述:Rust 是未来的编程语言,其系统编程语言专注于三个目标:安全性、速度和并发性。Rust 在没有垃圾收集器的情况下实现这些目标,使其在许多其他语言表现不佳的用例中依然有用,如嵌入其他语言、具有特定空间和时间要求的程序以及编写低级代码(如设备驱动程序和操作系统)。Rust 力求提供一种 100% 控制的语言,同时又完全安全。这通过广泛的编译时检查来实现,从而在运行时几乎不增加成本,甚至常常为其安全功能不掏出成本。Rust 在并发处理方面有显著优势,这是由于其所有权模型。例如,在 Rust 中,跨并发边界共享可变状态而不使用互斥锁将导致编译时错误。这在正确性方面具有重要意义。 Rust 通过一系列编译时安全检查来改进当前面向这一领域的语言,这些检查在运行时不会造成额外开销,消除了所有数据竞争。Rust 还旨在实现“零成本抽象”,尽管这些抽象在某些方面类似于高级语言的特性。另一方面,Rust 同时允许像低级语言一样的精确控制。Rust 具有许多惊人的特性,是一种完美设计的语言。在学习 Rust 的过程中,你将学到最佳编码实践,处理编写良好的代码。在这里,概念的表达十分简洁,得益于代数数据类型的使用。Rust 强调速度、安全性和并发性,去除了许多不必要的冗余,例如繁琐的语法,并增加了直观的对象模型、现代工具和一系列精彩的构思,如所有权。编译器提供的安全保证和零成本抽象意味着其使用体验往往类似于编写高级语言(注重安全性)或中级语言(便于使用),而在性能和低级访问方面则与 C 语言相当。本课程将逐步且动手实践地讲解所有内容。

课程评论(0条)

课程详情

Rust is the programming language of the future.Rust is a systems programming language focused on three goals: safety, speed, and concurrency. It maintains these goals without having a garbage collector, making it a useful language for a number of use cases other languages aren't good at: embedding in other languages, programs with specific space and time requirements, and writing low-level code, like device drivers and operating systems. Rust attempts to give you a language with 100% control, yet be absolutely safe. It does this through extensive compile-time checking, so you pay little (and often no!) cost at run time for its safety features. Rust has some strong advantages in the concurrency department due to its ownership model. For example, sharing mutable state across a concurrency boundary without a mutex is a compile-time error in Rust. This is super huge on the correctness side.It improves on current languages targeting this space by having a number of compile-time safety checks that produce no run time overhead, while eliminating all data races. Rust also aims to achieve ‘zero-cost abstractions' even though some of these abstractions feel like those of a high-level language. Even then, Rust still allows precise control like a low-level language would.Rust has lot of great features that will blow your mind away. It is a perfectly designed language.While learning Rust you will certainly learn best coding practices and will deal with well-written code.Here concepts are easily expressed due to algebraic data types.It puts strong focus on speed, safety and concurrency.It removes a lot of unnecessary garbage for example fussy syntax.It adds a straightforward object model, adds modern tooling, and has some brilliant ideas like ownership.The compiler safety guarantees and zero-cost abstractions mean that it's often like writing a high-level language (for safety) or a more mid-level language (for ease of use) while getting all the capabilities of a lower-level language like C (performance, low-level access). This course explains everything Step by Step Hands On.

课程标签

0人关注该课程

主题相关的课程