iboB / iboB/dynamix

Moving more C++ code to C

Open
#60 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

capi performance question
Dominant language
C++
Stars
693
Forks
49
PR merge metrics
No merged PRs in 30d

Description

Generally a lot of the existing C++ code can be moved to C so that functions could be inlined there as well.

Note extra care must be taken, so that we can maintain exception safety: no extern "C", no function pointer leaks, that would break ODR

Is the effort worth it?

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.

Research direction

No files, tests, or entry points are named. Start by auditing the existing C++ code and identifying which functions could move to C while preserving exception safety, avoiding extern "C", function-pointer leaks, and ODR violations. Done would require a decided scope and an agreed answer on whether the effort is worthwhile.

Written by the indexing model from the issue text.

Assessment

Tech stack
c, cpp
Domain
backend
Issue type
Refactor
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
15/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.