Skip to content

Migrating codebase to C++ #855

@onlined

Description

@onlined

Hi all,
I am currently working on #854, it is my first (hopefully not last) PR to this repo. While I was working on it, I realized that there is some convention for namespacing and there is a class hierarchy starting with Object struct. To me, it seems like C++ remove most of the boilerplate here. And probably it will remove the need for most of the utility functions in XUtils.c.

So, I have some questions to maintainers:

  • Was this subject (migrating some part or all of the codebase to C++) discussed before? If yes, what was the conclusion?
  • Would you be OK with going to C++? Of course it wouldn't be completed in one single PR, but small by small it can be handled.
  • Are there any blockers for C++, other than maintainers' personal preferences (I don't imply they don't prefer C++)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    build system 🔧Affects the build system rather then the user experienceneeds-discussion 🤔Changes need to be discussed and require consentquestion ❔Further information is requestedwontfixThis will not be worked on

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions