dsq-1: open-source software synthesizer

Joakim via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Sun Mar 29 11:53:25 PDT 2015


On Sunday, 29 March 2015 at 17:30:39 UTC, Foo wrote:
> On Sunday, 29 March 2015 at 17:24:53 UTC, Joakim wrote:
>> Hmm, this sounds like it might be a bug or design flaw.  
>> "debug" is supposed to provide an escape hatch from even pure 
>> functions: I don't see why it wouldn't provide the same for 
>> @nogc and nothrow.  At the very least, we should have a 
>> @nogc/nothrow alternative to writefln to allow such simple 
>> debugging.
>
> import core.stdc.stdio : printf;

I'm aware of that option and thought of mentioning it, but it is 
inconvenient when dealing with D strings.


More information about the Digitalmars-d-announce mailing list