ned Productions – Boostafio

by . Last updated . This page has been accessed 29 times since the 3rd April 2019.

Tuesday 12th September 2017: 1.16am. Been making great use of my time without employment working on AFIO, my proposed low latency file i/o library for standardisation. I wrote a toy transactional key-value store with AFIO permitting up to 48 concurrent writers, and here is how it performs for 128 bit keys and 1Kb values with 1 thread:1Kb values Windows with NTFS, no integrity, no durability, mmaps: Inserting 1M key-value pairs .
Tuesday 2nd May 2017: 2.47pm. My latest conference video, this one being on the lightweight monadic transport expected<T, E> proposed for C++. This is my first conventional "knowledge transfer" talk where I simply pour knowledge out of my brain into the jug that is the audience as is traditional pedagogy, up until now I had argued a case or had done workshops, knowing that conference organisers always feel a lack of the latter and therefore tend to accept workshops quicker.
Saturday 8th April 2017: 11.49pm. Link shared: Proposed Boost.AFIO v2 is resurrected, and now passes all its unit tests for the first time since Oct 17th. All the work done to proposed Boost.Outcome to get it ready for peer review (which will happen mid-May!) had caused AFIO to suffer hefty code rot given how dependent it is on Outcome, but none of the derotting fixes were hard, just time consuming.
Wednesday 4th January 2017: 8.48pm. Link shared: Nailed this cunning piece of cmake hackery today, so I thought I would share it. It solves the problem of cmake annoyingly not supporting out of the box per-target setting of C++ exceptions on/off, C++ RTTI on/off and whether to use the static or dynamic C++ runtime. It also, very usefully, stops the warning MSVC makes about overriding the C++ exceptions enable that cmake enforces in the core compile flags on MSVC, this is amazingly useful when you turn on error on warnings and your C++ has exceptions disabled.
Tuesday 13th September 2016: 11.10am. Link shared: Finished writing the talk description of my CppCon workshop next week:"This is the third and likely final part of a "from first principles" series of beginner's workshops based on developing the v2 post-peer-review rewrite of proposed Boost.AFIO, a C++ library wrapping the advanced features of the filesystem intended for eventual ISO C++ standardisation. If you're the kind of library developer who likes building unusual low level concurrent algorithms using the very latest C++ 14-17 (proposed) features and testing them for time and space complexities, this is definitely your kind of talk.
Wednesday 7th September 2016: 7.27am. Link shared: Ten days exactly to go before I depart for CppCon 2016 in Seattle! I am very glad to report that the code I am presenting (link to talk is below) finally passed the last of its unit tests yesterday, so it is finally debugged and I have some performance benchmarks. As expected, this new filesystem locking algorithm is a full order of magnitude (10x-20x) faster than anything else in AFIO v2 that was presented at ACCU 2016 last April.
Monday 27th June 2016: 10.58am. My CppCon talk "Memory mapped distributed mutual exclusion using Proposed Boost.AFIO (asynchronous filesystem and file i/o)" has been accepted for presentation at CppCon 2016 in Seattle this September. My thanks to the Programme Committee for taking a bit of a risk on this topic, because as you'll see from the proposed abstract it is not certain if the topic is even feasible (if it isn't, I'll present the results of my failure :) )"
Thursday 26th May 2016: 8.20am. Link shared: I'm not a natural C++ metaprogrammer, so it took me two mornings before work to come up with this of which I am quite proud:```#include <stdio.h>#include <string>template <class... Args> struct Foo {};template <class T, class... Args> struct Foo<T, Args...> { T v; Foo<Args...> rest;};template <class T> struct Foo<T> { T v; };namespace detail {template <size_t N, class T, class... Args> struct getFoo { constexpr auto operator()(const Foo<T, Args.
Thursday 21st April 2016: 2.10pm. Link shared: Slides for my ACCU talk on proposed Boost.AFIO are now online at #accu2016 #boostcpp #boostafio
Monday 18th April 2016: 10.08pm. The final slide in my proposed Boost.AFIO v2 talk at the ACCU conference on Thursday showing the colour coded empirical benchmarks for three methods of mutual exclusion on the file system across the file systems NTFS, ReFS, FAT32 and exFAT. The top three are for contended locks, the bottom three for uncontended locks.#accu2015 @ACCUConf #boostafio #boostcpp

Contact the webmaster: Niall Douglas @ webmaster2<at symbol> (Last updated: 2017-09-12 01:16:16 +0000 UTC)