== Quote from bearophile ([email protected])'s article
> Found though Reddit. It seems Chrome is starting to warm up to the Native 
> Client
(NaCl) idea, the Chrome Beta now has a working NaCl:
> http://chrome.blogspot.com/2011/08/building-better-web-apps-with-new.html
>
http://channel9.msdn.com/Shows/C9-GoingNative/GoingNative-0-Help-us-fly-this-plane-Some-modern-C-Meet-Ale-Contenti
> It's one (the only?) chance to use D in the browser.
> Bye,
> bearophile

Read this as a feature request.

dmd --restrictedandsafe(std.file1, std.file2) main.d file1.d file2.d file3.d

file1.d file2.d file3.d are normal files
maind.d is restricted and safe.

1) main.d can only import from std.file1, and std.file2
2) All routines in main.d must be safe.
3) main.d can not make declarations like extern(c) void routine();













Reply via email to