digitalmars.D - Progress of Project Blizzard
- Per =?UTF-8?B?Tm9yZGzDtnc=?= (29/29) Sep 23 2018 Has there been any progress on Project Blizzard?
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...
Sep 23 2018