Does WinRT under windows 8 metro allow you to dynamically load and execute code? For example, is it possible to download a dll into memory or to isolated storage and run cod
In general, you cannot load and execute new code in a Metro style app. What you can access is what you ship with the app.
LoadLibrary and GetProcAddress are missing so C++ can't dynamically load code.
Likewise, C# cannot because there is no Assembly.Load.
JavaScript can, but only in the web container and not in the fuller trust portions of the code.
The reason for all this is that the store's security/malware protection would be moot if an app could just load and run arbitrary code.