Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Improve compile times

Open
#542 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Refactor
Clarity
Needs clarification
Activity status
Quiet
Tech stack
cpp

Research direction

Start by reviewing the checklist, the Godbolt example, and the linked CWG2369 discussion to understand the return-type issue; Templight is the named tool for profiling template instantiations. Done would require measurable compile-time improvements across several proposed refactors, but the issue does not name files, tests, or a bounded target.

Written by the indexing model from the issue text.

Description

enhancement good-first-issue P2
  • Apply "SCARY iterator"-like refactorization of class templates to minimize the number and complexity of class template arguments.
  • No local classes in function templates. That includes lambdas.
  • Bring down mangled name length to speed up debug builds.
  • Investigate where complicated function template return types are being computed unnecessarily. See https://godbolt.org/z/Mqhj7voxq for an example. See cwg2369 for the core issue.
  • Use Templight to get a compile-time flame graph and prune expensive template instantiations.
  • Replace internal use of heavyweight types (std::tuple, std::optional, std::variant) with more lean custom types. See manual_lifetime and manual_lifetime_union in libunifex. See my prototype lambda-based tuple implementation in this gist.
Dominant language
C++
Stars
2.4k
Forks
270
Avg merge
2d 17h
Merged PRs (30d)
37

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from NVIDIA/stdexec

All issues in NVIDIA/stdexec

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.