Progress of Project Blizzard

Per Nordlöw per.nordlow at gmail.com
Sun Sep 23 20:30:50 UTC 2018


Has there been any progress on Project Blizzard?

Is there some working code available other than the snippets 
proposed at Alexandru's talk on DConf 2018?

I'm also curious why the allocation in the following code fails 
with exit code -11 with both dmd and ldc on Ubuntu 18.04 x64:

import std.experimental.allocator;
import std.experimental.allocator.building_blocks : Segregator;
import 
std.experimental.allocator.building_blocks.ascending_page_allocator;
import 
std.experimental.allocator.building_blocks.aligned_block_list;
import std.experimental.allocator.building_blocks.bitmapped_block;

void benchmarkBlizzardSafeAllocator()
{
     alias SafeAllocator = Segregator!(16, 
AlignedBlockList!(BitmappedBlock!16,
                                                             
AscendingPageAllocator*,
                                                             1 << 
21),
                                       AscendingPageAllocator*);
     SafeAllocator allocator;
     int* i = allocator.make!int(32); // TODO: this fails with 
exit code -11
}

taken directly from  the talk.

Is it because I'm using `BitmappedBlock` instead of 
`SafeBitmappedBlock`, which I couldn't find in Phobos eventhough 
Alexandru's talk assumes it existence in Phobos...


More information about the Digitalmars-d mailing list