Why is D unpopular?

Walter Bright newshound2 at digitalmars.com
Sun May 22 22:59:25 UTC 2022


On 5/22/2022 2:33 AM, Max Samukha wrote:
> I have always had problems with this classification because real world systems 
> are modular, and bugs in a module are often treated as exceptions by another 
> module. That is, many systems using plugins try to recover from bugs in a 
> plugin. In a sense, the plugin itself becomes an input that the host has to 
> validate.

This is a faulty system design. There's nothing stopping modules from corrupting 
the memory of the caller.

The correct approach is to run those modules as separate processes, where they 
can only corrupt themselves. It's why operating systems support processes and 
interprocess communications.



More information about the Digitalmars-d mailing list