Do you know that according to surveys, Rust is one of the most admired computer programming languages for 8 years in a row? Rust is a language that is prized for its performance, memory safety, and concurrency, making it ideal for today’s cloud-based computing world. It is used by major technology companies such as Microsoft and Github.
Fundamentals with Rust: Build a CLI Distance Calculator
Instructor: Harrison Kong
Sponsored by Coursera Learning Team
Recommended experience
What you'll learn
Use Rust package manager Cargo to build applications
Write code with Rust syntax and data constructs
Apply Rust concepts of ownership, memory safety, and error handling
Details to know
Add to your LinkedIn profile
July 2024
Only available on desktop
See how employees at top companies are mastering in-demand skills
Learn, practice, and apply job-ready skills in less than 2 hours
- Receive training from industry experts
- Gain hands-on experience solving real-world job tasks
- Build confidence using the latest tools and technologies
About this Guided Project
Learn step-by-step
In a video that plays in a split-screen with your work area, your instructor will walk you through these steps:
Task 1: Introduction, Project Overview and Setup
Task 2: Print Application Title
Task 3: Parse Command Arguments and Add City Data
Optional Practice Task 1: Troubleshoot a Rust Application
Task 4: Validate Arguments and Handle Errors
Task 5: Lookup City Codes in City Data
Task 6: Write Function to Calculate Distance
Optional Practice Task: Prevent Same City Codes
Task 7: Refactor and Build Release Version
Optional: Cumulative Challenge: Create a CLI Application to Count Characters
Recommended experience
Programming experience with at least one modern high-level programming language such as: JavaScript, Java, C, C++, Swift, Go, Kotlin.
4 project images
Instructor
Offered by
How you'll learn
Skill-based, hands-on learning
Practice new skills by completing job-related tasks.
Expert guidance
Follow along with pre-recorded videos from experts using a unique side-by-side interface.
No downloads or installation required
Access the tools and resources you need in a pre-configured cloud workspace.
Available only on desktop
This Guided Project is designed for laptops or desktop computers with a reliable Internet connection, not mobile devices.
Why people choose Coursera for their career
You might also like
Epic Games
L&T EduTech
National Taiwan University
Open new doors with Coursera Plus
Unlimited access to 10,000+ world-class courses, hands-on projects, and job-ready certificate programs - all included in your subscription
Advance your career with an online degree
Earn a degree from world-class universities - 100% online
Join over 3,400 global companies that choose Coursera for Business
Upskill your employees to excel in the digital economy