Skip to content

oseniabdulhaleem/rust-setup

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Coursera Course

Rust development environment setup

Rust Bootcamp week 1: Setting up your development environment

This week, you will learn how to optimize your Rust development workflow using powerful tools such as programming suggestions, prompts with Copilot, and GitHub Codespaces. By diving into the lessons on programming with suggestions, using prompts with Copilot, and exploring the fundamentals of Codespaces, you will acquire the skills to streamline your coding process and collaborate more efficiently with others.

This is the first week of the Rust Bootcamp. There are 4 weeks in total:

💡 Are you just looking for a 👉 Rust template to get started easily with a project? The template has everything you need!

Is Rust difficult to learn?

Contrary to what some think, Rust is not actually more difficult to learn than other languages including Python and TypeScript. In fact, Google gathered data from its own engineers to understand how difficult it is to learn Rust. The final report found that most engineers felt proficient in Rust in 2 months or less, where some would feel proficient in as little as 3 weeks!

🚀 Watch the Video course

O'Reilly

Contents

This week has several references to supporting content that can help you setup your environment. Make sure you have Rust installed and you are using Visual Studio Code.

This repository is Codespaces ready, and it is set as a template repository. You can create a new repository from this template and start working on your own with Codespaces. This means that Rust, Copilot, and all the extensions are already installed and configured for you.

🔥 If you need a quick reference for Codespaces and configuration with Visual Studio Code, feel free to reuse the configuration files in this repository.

Lesson 1: Setting up your text editor

Assignment: Setting-up-your-text-editor

Lesson 2: Using AI pair-programming

Assignment: Enable GitHub Copilot

Lesson 3: Codespaces for Rust

Lesson 4: Practice Lab

Use the included lab for this week to apply the concepts you've learned. The lab lab has 3 parts that are all relevant for what you've learned this week.

Resources

Coursera Courses

my changes: setting up my codespace for the first time using devcontainer.json and Dockerfile

creating the workspace and changes in the workspace

  • I created the workspace using github
  • Then, I added a devcontainer (using the" >devcontainer ")
  • Made some changes to the devcontainer.json (like replacing the "image" with "build")
  • added some extensions to devcontainer.json
  • created the Dockerfile in the .devcontainer folder
  • added the FROM and RUN command

Rebuilding my changes

  • then i went to my vscode and inputed (">rebuild devcontainers") and it rebuild it

About

Rust Bootcamp week 1: Set up you Rust development environment

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Dockerfile 100.0%