Question and proposal: Can D be used to compile and run untrusted plug-ins?
Moamen Abdelsattar
moemen0101 at gmail.com
Sat Dec 4 14:08:16 UTC 2021
On Saturday, 4 December 2021 at 13:53:43 UTC, Adam D Ruppe wrote:
> You can also mark functions @trusted, which allows all
> operations inside but pretends to be safe from the outside.
Yeah but I'm assuming the compiler will force every function
written by the user to be `@safe`, so the user can't mark any
code `@trusted`, only the API can.
More information about the Digitalmars-d
mailing list