On 30/05/2018 8:37 AM, Tony wrote:
On Tuesday, 29 May 2018 at 20:19:09 UTC, bachmeier wrote:
I don't think it's difficult to do that yourself. There's no need to
have a formal split. One example is that it's really nice to have the
GC available for part of the program and avoid it for another part.
@nogc gives you a guarantee. Different variants of the language are a
special case of this that is equivalent to annotating the entire
program to restrict behavior. That's rarely desirable.
What would be an example of a type of application (or maybe that should
be "which type of domain" or "which type of developer") where you would
want part of it to do garbage collection and the rest of it do not do
garbage collection?
GUI's, audio systems, language tooling, games, I'm sure somebody can
come up with a much more longer list.