On 2012-04-09 19:20:49 +0000, Sönke Ludwig <[email protected]> said:
I've got my information directly from Microsoft Metro guys. Not totally
sure how good their knowledge actually is, but for _Metro_ apps they
said that because of sandboxing it is only allowed to access functions
of the WinRT - the C++ runtime is an exception but I would guess that
this does not apply for foreign runtimes. You also have to recompile
C/C++ libraries with the new runtime. Also, the sandboxing model seemed
to be a part of WinRT - so DMD executables would not be sandboxed at
all.
The desktop world will of course be working exactly like it used to do
and the Win32 API will probably live on for at least a few OS
generations.
Interesting.
Apple too is moving to a sandboxed model. On the Mac, the sandbox is
only imposed (or soon will be imposed) to apps distributed through
their App Store. On iOS, the sandbox is always active. It'd be nice to
check that the D runtime still run fine in a sanboxed Mac app,
otherwise it restricts even more where you can use D code. Fortunately,
Apple's sandbox doesn't require you to use a whole different set of
APIs, it just prevent the code from doing the things it has no
entitlements for.
--
Michel Fortin
[email protected]
http://michelf.com/