Welcome, Guest. Please login or register. Did you miss your activation email?

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Tomis

Pages: [1]
1
Feature requests / Memory-mapped files
« on: August 13, 2010, 01:34:22 pm »
Quote from: "Laurent"
But go ahead and implement sfml-mmap if you want ;)

I just might, if there aren't viable cross-platform libs (I saw Boost has something like that, I'll try it out). It's a good thing that SFML is open source.

2
Feature requests / Memory-mapped files
« on: August 13, 2010, 09:50:47 am »
I think mmf are related to SFML because it provides a cross-platform API for various OS functions. It's not a question of loading content from files, it's a question of providing a more elegant kind of access to various resources in a monolithic file without having to load all the file into memory (or parse it from one end to another).

mmf functions aren't portable across Windows and Linux so I think such an API might be useful for SFML users.

P.S. - http://burningsmell.org/SDL_mmap/

3
Feature requests / Memory-mapped files
« on: August 13, 2010, 12:05:05 am »
Hi there, I'm a SFML user and I was wondering if there will be some support for a cross-platform API for memory-mapped files. As you probably know this technique can help a lot when using a single monolithic file to hold all your application resources, there are many potential advantages, performance-wise.

I'm still new to memory-mapped files so maybe I'm missing something but I think that if it's feasible they are a must. I'll look more into it and let you know if I find anything else.

Thank you.

Pages: [1]