Sorry - I can't see any reason why this is a good idea. The plugin code can't be exported to C++ code. The best you'd get is a small improvement to event performance at best, and in a real world game, due to the parallel processing of events and display, this would have no effect. Also it doesn't actually help portability to consoles, it's still just as hard - the best thing to do for console portability is for someone to port the runtime to a console, since it's open source.