Parallel Computing in Rust and C++ part 1

Parallelism in Rust usually means one of three things:

  1. Data-parallel CPU work (split work across cores)
  2. Task parallelism (run independent CPU tasks concurrently)
  3. Async concurrency (lots of I/O, not CPU parallel by default)

When making things go parallel, there are following things to consider. Safe parallel code comes from being …

Coding skills keywords

This post collects the concepts people mentioned for different programming languages, so I can understand what they are talking about.

Rust:

ownership,

lifetimes,

memory safety

Tokio

async await,

event driven Rust systems

asynchronous programming and concurrency patterns

C++:

 template meta-programming, SFINAE, RAII, constexpr, 

 multithreading, web protocol (e.g. websocket, RESTful)

event-driven …