logoalt Hacker News

okanatyesterday at 10:47 PM4 repliesview on HN

I guess the author didn't use that many other programming languages or OSes. You can do the same even in garbage collected languages like Java and C# and on Windows too.

https://docs.oracle.com/javase/8/docs/api/java/nio/MappedByt...

https://learn.microsoft.com/en-us/dotnet/api/system.io.memor...

https://learn.microsoft.com/en-us/windows/win32/memory/creat...

Memory mapping is very common.


Replies

dekhnyesterday at 10:50 PM

mmap is a built-in module on python! Also true for perl.

paulddrapertoday at 2:49 AM

And since Java 4 no less.

neonsunsettoday at 7:02 AM

[dead]