work on compilation examples and benchmarkingagainst native c++ implementations