File mapping

Klaus D. Witzel klaus.witzel at cobss.com
Sat Jul 21 04:10:50 UTC 2007


On Sat, 21 Jul 2007 00:25:37 +0200, sig wrote:

> First: what this primitive Avi mentioned, where i can look at it?

Class ImageSegment message category #primitives has users.

> Second: I don't want to map objects directly to file.

lol. Do objects know that you don't want that :)

> I mean i don't
> want to use a mapped file as part of VM object memory.

ImageSegments are loaded/unloaded to/from VM object memory.

> I want to keep
> it separated and use it for persisting a magma DB.

Then External* classes seem to be your choice (John mentioned FFI).

> I'm just thinking about how to improve speed with which Magma can
> reify objects and commit them to storage.
>
> On 20/07/07, Klaus D. Witzel <klaus.witzel at cobss.com> wrote:
>> On Fri, 20 Jul 2007 21:17:12 +0200, sig wrote:
>>
>> > Make use of it for Magma DB persistance :)
>>
>> -
>> http://lists.squeakfoundation.org/pipermail/squeak-dev/2006-December/112204.html
>>
>> >
>> > On 20/07/07, John M McIntosh <johnmci at smalltalkconsulting.com> wrote:
>> >> FFI comes to mind, behaviour of that is very operating system, and
>> >> operating system version dependent.
>> >> What are you trying to do?
>> >>
>> >> On Jul 20, 2007, at 10:20 AM, sig wrote:
>> >>
>> >> > Many OSes providing file mapping using virtual memory paging.
>> >> > Is there any plugins in squeak, which allow to use them?
>> >> >
>> >>
>> >> --
>> >>  
>> ========================================================================
>> >> ===
>> >> John M. McIntosh <johnmci at smalltalkconsulting.com>
>> >> Corporate Smalltalk Consulting Ltd.   
>> http://www.smalltalkconsulting.com
>> >>  
>> ========================================================================
>> >> ===
>> >>
>> >>
>> >>
>> >>
>> >
>> >
>>
>>
>>
>>
>>
>
>





More information about the Squeak-dev mailing list