Comments (4)
I was thinking about implementing this but saw that CreateFileMappingW
is used on Windows for anonymous
maps. Is there any specific reason VirtualAlloc
is not used instead?
from memmap-rs.
Is it possible for this to be implemented in before the crate evaluation? Right now this is the only missing feature, preventing me from publishing my detour library.
I've been constrained to retep998's unpublished fork of rust-mmap.
As previously mentioned I could go on and try to implement this myself but I believe there are some underlying reasons as to why CreateFileMapping
is used on Windows (IPC?).
from memmap-rs.
Is this something that can be added backward compatibly after 1.0?
from memmap-rs.
Yes, as I noted in #48 (comment) I think we can do this backwards compatibly post 1.0.
from memmap-rs.
Related Issues (20)
- Incorrectly uses usize instead of u64 for file offsets HOT 2
- Support madvise. HOT 4
- what happens if we exceed isize::MAX on 32-bit platforms? HOT 10
- Docs should say why file-backed maps are unsafe HOT 4
- Mmap fails for empty files on Windows HOT 21
- Allow mapping memory safely using `volatile` crate? HOT 4
- Use with DirectIO HOT 2
- Possible overflow while mapping large files on 32 bit systems HOT 1
- Add an `map_copy_read_only` API HOT 4
- Should anonymous mappings be MAP_SHARED by default?
- Allow anonymous RWX mappings HOT 1
- Implement StableDeref?
- Expose page_size pub function as part of crate api
- Support `Mmap` on platforms without real mmap support HOT 4
- Is this crate still maintained? HOT 15
- Error when mapping large files on Windows HOT 2
- Code 87 when attempting to write files HOT 1
- Handling IO-Errors during operation (which happen with network shares and connection drops) HOT 3
- ❌ mmap.binary_search EXC_BAD_ACCESS HOT 2
- Safety comments are missing HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from memmap-rs.