Skip to content

Tensor-Reloaded/generic-programming

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

generic-programming

A short introduction in generic programming in modern C++ with a nice list of references.

Requirements

  • g++ >= 14
  • It should also compile with the latest versions of clang or MSVC, when using the c++23 standard. If it doesn't, use the no_modules version.
For Windows: WSL
  1. https://learn.microsoft.com/en-us/windows/wsl/install
  2. https://code.visualstudio.com/docs/remote/wsl
  3. See Linux Setup
Linux Setup (Ubuntu)
sudo apt-get update
sudo apt-get install build-essentials
sudo apt install g++-14

Contents

  1. What is Generic Programming: 0.short-story.
  2. (Side Track) Introduction to C++20 modules: 1.modules.
  3. Introduction to concepts: 2.concepts.
  4. Iterators: 3.iterators.
  5. Minimum and maximum: 4.minmax.
  6. Intruduction to parallel algorithms: 5.parallel.
  7. Search algorithms: 6.search.

Resources

References

  • Alexander A. Stepanov and Paul McJones: Elements of Programming. Semigroup Press, June 2019 and Addison-Wesley Professional, June 2009.
  • Alexander A. Stepanov and Daniel E. Rose: From Mathematics to Generic Programming. Addison-Wesley Professional, November 7, 2014.
  • See https://www.stepanovpapers.com/.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published