You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm interested in using this library in my project, but I noticed that currently it only supports win/mac/linux. I found that original mimalloc library now supports IOS according to their github issues. Is it possible to support Android and IOS platform for this library?
The text was updated successfully, but these errors were encountered:
susices
added
proposal
An issue that represents a proposed feature or change to the repo.
untriaged
An issue that has not been triaged by the repo maintainers.
labels
Sep 26, 2023
The support should already exist, but it's not been validated as I have no way to test mobile devices in CI.
For v2.1.2 (the latest mimalloc) their OS abstraction layer is here: https://github.com/microsoft/mimalloc/tree/v2.1.2/src/prim and you'll note that they only have osx, unix, wasi, and windows. With osx deferring to unix and with unix representing both linux, mac, ios, android, bsd, etc.
In both cases, the unix support eventually defers down to mmap and so the general functionality should already light up anywhere mmap is supported. -- NOTE: That there might need to be some platform specific hookups enabled to ensure mmap is resolved to the correct native library, but I would expect that to be the only thing that might not work and in general is already setup for the typical expectations (msvcrt on Windows, libSystem on MacOS which should include iOS, and libc elsewhere)
I'm interested in using this library in my project, but I noticed that currently it only supports win/mac/linux. I found that original mimalloc library now supports IOS according to their github issues. Is it possible to support Android and IOS platform for this library?
The text was updated successfully, but these errors were encountered: