Skip to main content Skip to navigation

Documentation

Everything you need to build irresistible applications

Building with C++

Create high-performance applications with the power of systems programming

Why Choose C++?

🚀 Ultimate Performance

Direct hardware access and zero-overhead abstractions for maximum speed.

🎮 Game Development

Industry standard for AAA games and real-time graphics applications.

🔧 Systems Programming

Build operating systems, drivers, and embedded software.

🧬 Modern Features

Templates, lambdas, and modern C++20 features for expressive code.

What Can You Build?

Game Development

Maximum performance, hardware access, real-time processing

Frameworks:

Unreal EngineUnity (native)SDLSFML

Examples:

  • AAA games
  • 3D engines
  • Physics simulations
  • Graphics programming

System Programming

Low-level control, zero-overhead abstractions, deterministic performance

Frameworks:

BoostQtPOCOSTL

Examples:

  • Operating systems
  • Device drivers
  • Embedded systems
  • Compilers

High-Performance Computing

Parallel processing, GPU programming, memory efficiency

Frameworks:

OpenMPMPICUDAOpenCL

Examples:

  • Scientific computing
  • Machine learning
  • Data processing
  • Simulations

Desktop Applications

Native performance, cross-platform, rich UI capabilities

Frameworks:

QtwxWidgetsGTK+Dear ImGui

Examples:

  • IDEs
  • CAD software
  • Media editors
  • Productivity tools

Natural Language Examples

Describe your C++ project in plain English:

"Create a C++ game engine with OpenGL rendering and physics"

3D game engine with graphics and physics systems

"Build a C++ high-performance web server with async I/O"

Multi-threaded server with epoll/IOCP support

"Design a C++ image processing library with GPU acceleration"

CUDA-accelerated image manipulation toolkit

C++ Best Practices

Modern C++

  • Use C++17/20 features
  • Prefer smart pointers
  • Use RAII for resources
  • Embrace move semantics

Memory Management

  • Avoid raw pointers
  • Use containers wisely
  • Prevent memory leaks
  • Minimize allocations

Performance

  • Profile before optimizing
  • Use const correctness
  • Inline small functions
  • Cache-friendly code

Safety

  • Enable compiler warnings
  • Use static analysis
  • Write unit tests
  • Avoid undefined behavior

Quick Start Templates

🎮 Game Engine

2D/3D game engine with rendering and physics

"Create a C++ 2D game engine with SDL"

🖥️ GUI Application

Cross-platform desktop app with modern UI

"Build a C++ text editor with Qt"

⚡ High-Performance

Multi-threaded data processing system

"Design a C++ parallel computing framework"

🔌 System Tool

Low-level system utility or driver

"Create a C++ network packet analyzer"

Pro Tips

📚 STL First

Master the Standard Template Library before reaching for external libraries

🛡️ Smart Pointers

Use unique_ptr and shared_ptr to prevent memory leaks automatically

⚡ Const Everything

Use const by default - it helps optimization and prevents bugs

🔧 Modern Build

Use CMake or Meson for cross-platform builds and dependency management