Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is mmap(2) Possible? #7

Open
jriggins opened this issue May 18, 2015 · 2 comments
Open

Is mmap(2) Possible? #7

jriggins opened this issue May 18, 2015 · 2 comments

Comments

@jriggins
Copy link

Disclaimer: I hardly know what I'm asking :-)

However, do you think that it is possible to use this library to call mmap(2) in order to map Dart objects to and from a memory-mapped file?

After a quick look over the code here, it does not appear that mmap is currently supported, but I'm curious to know whether or not it is theoretically possible and potentially even how I might go about adding it if it is.

Thanks,
Jesse

P.S. Also please let me know if there is a preferred venue for posting questions like this.

@azenla
Copy link

azenla commented May 18, 2015

I will certainly look into it (And yes, this is the right place to ask), I'm not very knowledgeable in this area, but I'm willing to check into what I can do for you :)

@jriggins
Copy link
Author

Thank you! Even if you know whether or not the mmap() signature will work within your framework, I may be able to look into what it would take to extend things (if I even truly need it...I'm extremely early in research for a project...basically using Dart and Streams to do data ETL. The thought crossed my mind that I might be able to leverage off-heap memory in the form of memory-mapped files to accommodate potentially large data sets [but not 'big data' yet :-) ]).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants