Enhancement to `mlc.dataclasses.c_class`
Open
@potatomashed is already working on this.
Since May 8, 2025.
Feature Request
- Dominant language
- C++
- Stars
- 36
- Forks
- 7
- PR merge metrics
- No merged PRs in 30d
Description
c_class is used to reflect a class defined on C++ side to Python in zero copy, without the overhead of pybind or any other 3rdparty FFI tools.
However, the features supported in c_class is not on parity with py_class yet. Namely:
- The default
__str__method is not as good looking aspy_class's #69 frozen=Trueis not supported- Per-field
init=Falseis not supported yet.
Those are easy features to implement but lacking. Contributions are welcome!
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.