I’ve just submitted a haxe-evolution PR proposing a new sys API modeled after a number of modules from Node.js. These new APIs aim to fix some short-comings of the old APIs, and add some functionality that is not available yet.