Hello, World!
Ali Çehreli
acehreli at yahoo.com
Mon Mar 28 14:33:28 UTC 2022
On 3/28/22 06:33, Stanislav Blinov wrote:
> On Monday, 28 March 2022 at 05:23:22 UTC, FeepingCreature wrote:
>
>> Throwing my hat in the ring:
>>
>> ```d
>> import std.stdio;
>> int main()
>> => "Hello World".puts;
>> ```
>
> Report failure in case of success? :)
We have precedent in rt_init: :)
https://dlang.org/phobos/core_runtime.html#.rt_init
It is not obvious from its documented "returns 1/0" but it is a
translation of Runtime.initialize's true/false:
https://dlang.org/phobos/core_runtime.html#.Runtime.initialize
Ali
More information about the Digitalmars-d
mailing list