Training course · Cursor · Rust
Cursor for Rust Developers
Work productively with the AI code editor Cursor: agent mode, rules, codebase context, Tab completion, background agents and review.
- Duration
- 2 days (14 hrs)
- Format
- Online or on-site
- Language
- German or English
- Participants
- open dates or exclusive for your team
- Certificate
- Certificate of attendance
Overview
“Cursor for Rust Developers” is designed for roles such as Rust developers working on systems and back-end projects, C and C++ developers moving to Rust or porting modules and Embedded and IoT developers using Rust and shows step by step how to use Cursor productively, safely and transparently in Rust – from the fundamentals to advanced workflows.
Cursor is an AI code editor built on VS Code that weaves language models deeply into everyday development. Alongside context-aware Tab completion, it offers an agent mode that searches files on its own, plans changes across the whole project, runs terminal commands and fixes errors iteratively. In this two-day course you will learn to use Cursor with purpose: choosing the right interaction mode, steering context deliberately and combining AI assistance with your existing workflow of version control, automated testing and peer code review.
A key focus is making Cursor work for teams. Project rules let you capture architectural decisions, naming conventions and testing strategies so that the agent produces consistent results. You will learn to make good use of codebase indexing, targeted references to files, documentation and symbols, and MCP integrations. You will also delegate tasks to background agents, review their output as pull requests and set up a review process that takes quality, security and data protection seriously across the organisation.
Rust is gaining ground wherever memory safety and performance have to go hand in hand: in systems software, embedded projects, network services, WebAssembly and security-critical components. The learning curve is steep – ownership, lifetimes, traits and async runtimes challenge even experienced developers. AI coding assistants and agents prove to be patient sparring partners here: they explain borrow checker errors, suggest suitable ownership structures, write tests and property-based tests, port C or C++ modules incrementally and work through Clippy lints. Because the compiler gives very precise feedback, agents can iterate all the way to compiling, safe code. This course teaches you to exploit that feedback loop and to scrutinise unsafe code with particular care.
The course is delivered live – either online in a virtual classroom or on-site in our training rooms in Munich, Salzburg, Berlin, Augsburg, Hanover, Bremen, Stuttgart and Kaiserslautern. We can also run it exclusively for your team.
Who is this course for?
- Rust developers working on systems and back-end projects
- C and C++ developers moving to Rust or porting modules
- Embedded and IoT developers using Rust
- Security and platform teams focused on memory safety
Typical challenges we address
- Hard-to-understand borrow checker and lifetime errors
- Complex trait hierarchies, generics and async code with Tokio
- Laborious porting of existing C or C++ codebases across FFI boundaries
- Handling unsafe blocks responsibly and justifying each one
What you will be able to do
- You choose the right Cursor mode for each task and use it efficiently.
- You steer codebase context precisely and get more accurate suggestions as a result.
- You write project rules that reliably enforce your team’s conventions.
- You use agent mode and background agents for features and refactorings with verifiable results.
- Use AI agents as sparring partners for ownership, lifetimes, traits and async Rust.
- Generate tests, ports and services and verify them with the compiler, Clippy and Miri.
- Systematically assess generated unsafe and FFI code for memory safety.
Course outline
Day 1
Module 1 Setting up Cursor and understanding its modes
- Installation and migration of VS Code settings and extensions
- Differences between Tab completion, inline edits, Ask mode and Agent mode
- Choosing a model per task: balancing speed, depth and cost
- Privacy mode and organisation-level settings
Module 2 Steering codebase context
- How codebase indexing works and where its limits lie
- Referencing files, folders, symbols, documentation and web sources precisely
- Using ignore files to exclude sensitive or irrelevant content
- Avoiding overlong chats and restarting tasks with fresh context
Module 3 Rules for consistent team results
- Creating and versioning project rules and scoping them by file pattern
- Expressing architecture, style and testing conventions as effective rules
- Separating user rules from team rules
- Refining rules iteratively based on the agent’s typical mistakes
Module 4 Agent mode in practice
- Building features step by step with plan, implementation and tests
- Running multi-file refactorings safely with checkpoints
- Approving terminal commands deliberately and feeding error output back
- Connecting MCP servers for issue trackers, databases or browser testing
Day 2
Module 5 Background agents, review and governance
- Delegating tasks to background agents and running them in parallel
- Reviewing results as branches or pull requests and steering follow-ups
- Using AI-assisted code review alongside human review
- Addressing security risks, secrets and licensing in enterprise use
Module 6 Practice lab: Rust
- Understanding and fixing compiler errors
- Tests and property-based tests
- Porting C and C++ modules
- Async services with Tokio
- Clippy and idiomatic code
- Reviewing unsafe code
Module 7 Data protection, quality & transfer to daily work
- Rust is often used in security-critical components for which the Cyber Resilience Act sets requirements on vulnerability handling and SBOMs. Check new crates for vulnerabilities and licences with cargo-audit or cargo-deny, and treat proprietary systems code as confidential when using cloud-hosted models.
- Ground rules for safe AI use in your team
- Checking results: facts, sources, tests and the four-eyes principle
- Personal action plan for the next 30 days
- Open questions, outlook and resources for further learning
Practical scenarios from your field
Understanding and fixing compiler errors
The assistant explains borrow checker and lifetime errors in plain language, deliberately proposes alternative ownership structures such as references, Rc or cloning, and iterates with cargo check until the build is clean.
Tests and property-based tests
The AI writes unit and integration tests, doc tests and property-based tests with proptest that check invariants over many generated inputs, uncovering edge cases in parsers or algorithms.
Porting C and C++ modules
Existing code is moved to Rust module by module, FFI bindings are created with bindgen or cbindgen and behaviour is safeguarded by shared tests run against the old and new implementations.
Async services with Tokio
Specifications become HTTP or gRPC services built with Axum or Tonic, including structured error types, graceful shutdown, tracing and sensible handling of cancellation and timeouts.
Clippy and idiomatic code
Clippy lints are worked through systematically, error handling standardised with thiserror or anyhow, and iterators, pattern matching and traits used idiomatically. Existing tests safeguard every change.
Reviewing unsafe code
The agent inventories unsafe blocks, documents their safety invariants, proposes safe alternatives and runs Miri to detect undefined behaviour. Each justification is recorded as a SAFETY comment in the code.
Possible hands-on projects
Fast log parser
A Rust CLI that streams large log files, detects patterns with regular expressions and outputs statistics – with benchmarks comparing it against a scripting-language version.
Axum microservice
A small REST service using Axum, SQLx, structured tracing and integration tests, planned and implemented end to end by an AI agent.
WebAssembly module
A compute-heavy function, such as image processing or validation, packaged as a WebAssembly module with wasm-bindgen and embedded in a simple web page.
Prerequisites
You program regularly in at least one language and are familiar with Git and an IDE such as VS Code. Basic Rust experience with Cargo, ownership and traits, plus experience in at least one other systems or back-end language.
Technical requirements
Your own laptop with Cursor, Git and your usual development environment installed; a Cursor account with access to agent features is recommended.
Data protection & compliance
Rust is often used in security-critical components for which the Cyber Resilience Act sets requirements on vulnerability handling and SBOMs. Check new crates for vulnerabilities and licences with cargo-audit or cargo-deny, and treat proprietary systems code as confidential when using cloud-hosted models.
Suggested dates
All dates are suggestions – your preferred date is always possible.
- Mon, 23 November 2026 – Tue, 24 November 2026 Online Request
- Mon, 30 November 2026 – Tue, 1 December 2026 Augsburg Request
- Mon, 14 December 2026 – Tue, 15 December 2026 Online Request
- Thu, 14 January 2027 – Fri, 15 January 2027 Online Request
- Wed, 27 January 2027 – Thu, 28 January 2027 Kaiserslautern Request
- Thu, 4 February 2027 – Fri, 5 February 2027 Online Request
Frequently asked questions
Do I need prior VS Code experience to use Cursor?
It helps, but it is not essential. Cursor is built on VS Code, so navigation, shortcuts and extensions feel familiar and existing settings can be imported. If you currently work with JetBrains IDEs or other editors, a short introduction during the course gets you up to speed quickly so you can concentrate on the AI features.
How do I prevent confidential code from reaching third parties?
Cursor offers a privacy mode and organisation settings that restrict how code is stored by the provider. You can also use ignore files to exclude sensitive areas from indexing and context. In the course we discuss how to align these options with internal policies, data protection requirements and sound handling of secrets.
What do rules add compared with well-written prompts?
A prompt applies to one request only, whereas rules persist and apply to the whole team. They capture architectural decisions, preferred libraries, testing strategies and style guidelines, so nobody has to repeat that information and the agent produces code that fits your codebase. Rules are versioned with the project and evolve together with it.
Can AI help me get started with Rust?
Very much so. AI assistants explain compiler errors patiently and in the context of your own code, show alternative approaches and explain why the borrow checker rejects a construct. The key is to understand the explanations rather than accept suggestions blindly, so the course relies on hands-on exercises in which you work out solutions together with the AI.
How reliable are AI ports from C++ to Rust?
They work well for clearly bounded modules when behaviour is protected by tests. The tricky parts are pointer arithmetic, shared mutable state or undefined behaviour in the original. On the course you learn to port incrementally, run differential tests against the old implementation and keep unsafe code to a deliberate minimum.
How much does “Cursor for Rust Developers” cost?
The course costs a flat €949 plus VAT per participant – whether online or on-site. This includes 2 training day(s) with a live trainer, course materials, a lab environment and a certificate of attendance.
Can I suggest my own date?
Yes. Our suggested dates are just a guide. In the request form you can always describe your preferred date or period in free text – we check availability and confirm within one working day.
Is the course online or on-site?
Both are possible: live online in a virtual classroom or on-site in Munich, Salzburg, Berlin, Augsburg, Hanover, Bremen, Stuttgart or Kaiserslautern. We can also run the course exclusively for your team.
More courses for Rust Developers
- Claude Code for Rust Developers
- Vibe Coding for Rust Developers
- Agentic Coding for Rust Developers
- GitHub Copilot for Rust Developers
- OpenAI Codex for Rust Developers
- Windsurf for Rust Developers
- Model Context Protocol (MCP) for Rust Developers
- AI Agent Development for Rust Developers
- RAG & LLM Applications for Rust Developers
More Cursor courses
- Cursor for API Developers
- Cursor for C# and .NET Developers
- Cursor for C/C++ and Embedded Developers
- Cursor for Citizen Developers
- Cursor for Data Engineers
- Cursor for Data Scientists and ML Engineers
- Cursor for DevOps and Cloud Teams
- Cursor for Go Developers
- Cursor for Internal Tools and Automation
- Cursor for Java and Spring Developers
- Cursor for JavaScript and TypeScript Developers
- Cursor for Kubernetes and Microservices Teams
Cursor · MunichCursor · SalzburgCursor · BerlinCursor · AugsburgCursor · HanoverCursor · BremenCursor · StuttgartCursor · KaiserslauternCursor · Online