Elsklivet / trolloc

:trollface:
GNU General Public License v3.0
2 stars 0 forks source link

Minimum Viable Product #1

Closed Elsklivet closed 12 months ago

Elsklivet commented 1 year ago

Trolloc hasn't gotten anywhere in a while. In order to do the interesting developments (making it troll people), it needs to first be an actual allocator. The MVP for trolloc is the ability to use it as a normal dynamic allocator. This issue will be updated with pertinent tasks and subtasks to achieve a simple allocator over time.

For now:

Eventually:

Elsklivet commented 1 year ago

So, about heap expansion. I don't know if I feel like battling with dynamic memory allocation to reallocate the heap itself, nor fighting with sbrk.

Edit: A memory mapped file might actually be the move...

Edit edit: No, I think that would require a crate, and while I might accept begrudgingly allowing std in this project, I refuse to use any external crates.

Elsklivet commented 12 months ago

Closing this issue as cfcd7f3 and 0c70667 really covered what we plan on doing here for an MVP. We've moved on to GlobalAlloc in c1f29a1 and #3.