Re: Inside D's GC blog article on hacker news front page

2017-06-20 Thread Meta via Digitalmars-d-announce
On Tuesday, 20 June 2017 at 11:59:57 UTC, Gary Willoughby wrote: Inside D's GC blog article currently No.3 on hacker news Here's the article, visit hacker news to read the comments. http://olshansky.me/gc/runtime/dlang/2017/06/14/inside-d-gc.html Impressive. The article managed to blow up on

Re: Inside D's GC blog article on hacker news front page

2017-06-20 Thread Ali Çehreli via Digitalmars-d-announce
On 06/20/2017 04:59 AM, Gary Willoughby wrote: Inside D's GC blog article currently No.3 on hacker news Here's the article, visit hacker news to read the comments. http://olshansky.me/gc/runtime/dlang/2017/06/14/inside-d-gc.html And on Reddit:

Re: Life in the Fast Lane (@nogc blog post)

2017-06-20 Thread Ali Çehreli via Digitalmars-d-announce
On 06/20/2017 09:47 AM, jmh530 wrote: On Tuesday, 20 June 2017 at 15:24:06 UTC, Dukc wrote: I wasn't skilled enough to make a generic version of this trough. And I do not know what happens if @nogc function ends up calling gc. This seems like it only would work if you know that there

Re: Life in the Fast Lane (@nogc blog post)

2017-06-20 Thread jmh530 via Digitalmars-d-announce
On Tuesday, 20 June 2017 at 16:47:20 UTC, jmh530 wrote: Below is a little more generic: Opps, left an extra import std.stdio in there.

Re: Life in the Fast Lane (@nogc blog post)

2017-06-20 Thread jmh530 via Digitalmars-d-announce
On Tuesday, 20 June 2017 at 15:24:06 UTC, Dukc wrote: I wasn't skilled enough to make a generic version of this trough. And I do not know what happens if @nogc function ends up calling gc. This seems like it only would work if you know that there wouldn't be any allocations. I don't

Re: Life in the Fast Lane (@nogc blog post)

2017-06-20 Thread Dukc via Digitalmars-d-announce
On Tuesday, 20 June 2017 at 09:56:03 UTC, Bastiaan Veelo wrote: Transferring this to GC, you could have @gc (the default), @nogc (the @safe equivalent) and the @trusted equivalent: @gc_code_that_is_acceptable_to_be_called_in_nogc_code_as_an_exception_to_the_rule. I'll abbreviate this as @gc78

Re: Inside D's GC blog article on hacker news front page

2017-06-20 Thread Steven Schveighoffer via Digitalmars-d-announce
On 6/20/17 7:59 AM, Gary Willoughby wrote: Inside D's GC blog article currently No.3 on hacker news Here's the article, visit hacker news to read the comments. http://olshansky.me/gc/runtime/dlang/2017/06/14/inside-d-gc.html Awesome. Dmitry, Martin, let me know if you need any help

DIP 1009--Improve Contract Usability--Preliminary Review Round 1 Begins

2017-06-20 Thread Mike Parker via Digitalmars-d-announce
The first preliminary review round of DIP 1009, "Improve Contract Usability", has begun. http://forum.dlang.org/post/gjtsfysvtyxcfcmuu...@forum.dlang.org Also, don't forget that the feedback stage of the formal review for DIP 1007, "'future symbol' Compiler Concept", is ending on June 21.

Inside D's GC blog article on hacker news front page

2017-06-20 Thread Gary Willoughby via Digitalmars-d-announce
Inside D's GC blog article currently No.3 on hacker news Here's the article, visit hacker news to read the comments. http://olshansky.me/gc/runtime/dlang/2017/06/14/inside-d-gc.html

Re: Life in the Fast Lane (@nogc blog post)

2017-06-20 Thread Bastiaan Veelo via Digitalmars-d-announce
On Monday, 19 June 2017 at 10:13:33 UTC, Ali Çehreli wrote: I know that there are efforts towards @nogc exceptions but I think @nogc should somehow related only to the normal operation of code. Since exceptions are for error cases, perhaps they shouldn't have an effect on whether a function is