apache / apache/opendal

new feature: provides a way to control memory allocation and deallocation

Open
#5,365 4 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
Rust
Stars
5.4k
Forks
825
Avg merge
1d 14m
Merged PRs (30d)
127

Description

### Feature Description

OpenDAL currently does not support allowing callers to take control of memory management, which is crucial for programs based on C and C++.

### Problem and Solution

Enable users to define a custom memory allocator that can replace the default Rust memory allocation mechanisms.

### Additional Context

_No response_

### Are you willing to contribute to the development of this feature?

- [X] Yes, I am willing to contribute to the development of this feature.

Contributor guide

Open the contributing guide

Research direction

No files, tests, or entry points are named. Start by mapping the Rust allocation boundary and how C and C++ callers interact with OpenDAL, then clarify the allocator API and ownership expectations. Done means callers can define a custom allocator that replaces the default Rust allocation mechanisms.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.