Re: Article: Finding memory bugs in D code with AddressSanitizer

2018-01-04 Thread codephantom via Digitalmars-d-announce
On Friday, 5 January 2018 at 01:32:50 UTC, Walter Bright wrote: On 1/3/2018 4:46 PM, Walter Bright wrote: On 1/3/2018 3:16 PM, Martin Nowak wrote: https://issues.dlang.org/show_bug.cgi?id=18190 This is a stack overflow caused by having 4096 expression statements. The compiler joins them

Re: Article: Finding memory bugs in D code with AddressSanitizer

2018-01-04 Thread Walter Bright via Digitalmars-d-announce
On 1/3/2018 4:46 PM, Walter Bright wrote: On 1/3/2018 3:16 PM, Martin Nowak wrote: https://issues.dlang.org/show_bug.cgi?id=18190 This is a stack overflow caused by having 4096 expression statements. The compiler joins them with a commaexpression, and then recursively traverses it. >

Re: D code on CodeOcean

2018-01-04 Thread Seth Green via Digitalmars-d-announce
On Thursday, 4 January 2018 at 20:38:00 UTC, Johan Engelen wrote: Hi all, I made two example "capsules" on CodeOcean.com that demonstrate how to use D on that platform. CodeOcean is a platform for publishing reproducible code accompanying scientific publications for example. Hello World:

D code on CodeOcean

2018-01-04 Thread Johan Engelen via Digitalmars-d-announce
Hi all, I made two example "capsules" on CodeOcean.com that demonstrate how to use D on that platform. CodeOcean is a platform for publishing reproducible code accompanying scientific publications for example. Hello World: https://codeocean.com/2018/01/04/d-lpar-dlang-rpar-hello-world

Re: Article: Finding memory bugs in D code with AddressSanitizer

2018-01-04 Thread Johan Engelen via Digitalmars-d-announce
On Wednesday, 3 January 2018 at 23:16:45 UTC, Martin Nowak wrote: On 12/25/2017 06:03 PM, Johan Engelen wrote: I've been writing this article since August, and finally found some time to finish it: http://johanengelen.github.io/ldc/2017/12/25/LDC-and-AddressSanitizer.html Just built dmd

Re: Release D 2.078.0

2018-01-04 Thread David Nadlinger via Digitalmars-d-announce
On Thursday, 4 January 2018 at 13:03:21 UTC, Mike Parker wrote: https://dlang.org/blog/2018/01/04/dmd-2-078-0-has-been-released/ In normal D code, struct destructors are executed when an instance goes out of scope. This is handled by DRuntime, […] This is slightly inaccurate. Regular stack

Re: Release D 2.078.0

2018-01-04 Thread Jack Stouffer via Digitalmars-d-announce
On Thursday, 4 January 2018 at 15:53:33 UTC, Mike Parker wrote: On a related note, the vision document for 2018H1 has not yet been created. It's a WIP. If I may make a suggestion, please make the vision documents smaller and more focused. The goals laid out are typically far too broad to

Re: Release D 2.078.0

2018-01-04 Thread Mike Parker via Digitalmars-d-announce
On Thursday, 4 January 2018 at 15:51:55 UTC, jmh530 wrote: I've been really liking the blog write-ups on the new releases. Thanks! On a related note, the vision document for 2018H1 has not yet been created. It's a WIP.

Re: Release D 2.078.0

2018-01-04 Thread jmh530 via Digitalmars-d-announce
On Thursday, 4 January 2018 at 13:03:21 UTC, Mike Parker wrote: Blog: https://dlang.org/blog/2018/01/04/dmd-2-078-0-has-been-released/ Reddit: https://www.reddit.com/r/programming/comments/7o2tcw/dmd_20780_has_been_released/ I've been really liking the blog write-ups on the new releases. On

iopipe v 0.0.3 released

2018-01-04 Thread Steven Schveighoffer via Digitalmars-d-announce
Updated in this release: * The buffer manager is more sane about allocating memory. It will limit growth to doubling. Previously if you asked it to allocate enough memory to hold size_t.max, it would try to do it. I'm still mulling over how to handle specific requests (i.e. I *know* I want

Re: Release D 2.078.0

2018-01-04 Thread Mike Parker via Digitalmars-d-announce
On Thursday, 4 January 2018 at 15:22:03 UTC, Joakim wrote: Nice post, good explanations and code samples. Here's some phrases I'd change: quality of life -> quality-of-life stubbed out -> stubbed-out line, or an alternative -> line or an alternate D runtime dependent -> that depends DMD

Re: Release D 2.078.0

2018-01-04 Thread Joakim via Digitalmars-d-announce
On Thursday, 4 January 2018 at 13:03:21 UTC, Mike Parker wrote: On Thursday, 4 January 2018 at 02:27:13 UTC, Mike Parker wrote: Awesome! I'll post the blog announcement and hit social media in ~12 hours. Blog: https://dlang.org/blog/2018/01/04/dmd-2-078-0-has-been-released/ Reddit:

Re: Release D 2.078.0

2018-01-04 Thread Mike Parker via Digitalmars-d-announce
On Thursday, 4 January 2018 at 02:27:13 UTC, Mike Parker wrote: Awesome! I'll post the blog announcement and hit social media in ~12 hours. Blog: https://dlang.org/blog/2018/01/04/dmd-2-078-0-has-been-released/ Reddit:

Re: excel-d v0.2.16 - now with more @Async

2018-01-04 Thread aberba via Digitalmars-d-announce
On Friday, 22 December 2017 at 00:41:31 UTC, Atila Neves wrote: excel-d lets you write plain D code that can be run from Excel unmodified via the magic of compile-time reflection. Other than bug fixes, the main new feature since 0.2.15 is @Async. Slap it on a function like so: @Async double

Re: DLang docker images for CircleCi 2.0

2018-01-04 Thread aberba via Digitalmars-d-announce
On Wednesday, 3 January 2018 at 13:12:48 UTC, Seb wrote: tl;dr: you can now use special D docker images for CircleCi 2.0 --- version: 2 jobs: build: docker: - image: dlang2/dmd-circleci --- [...] do you orchestrate your containers in deployment?

Re: Release D 2.078.0

2018-01-04 Thread thedeemon via Digitalmars-d-announce
On Thursday, 4 January 2018 at 08:15:50 UTC, Rainer Schuetze wrote: What's missing is probably legacy_stdio_definition.lib that has to be added to the linker command line for VS2015 or later. Yes, that is the case! Using -v flag I can see that dmd 2.077 invokes C:\Program Files

Re: Release D 2.078.0

2018-01-04 Thread IM via Digitalmars-d-announce
On Wednesday, 3 January 2018 at 17:43:36 UTC, Martin Nowak wrote: Glad to announce D 2.078.0. This release comes with runtime detection of Visual Studio installation paths, an integral promotion transition for unary operations on byte and short sized integers, more -betterC features, and a

Re: Release D 2.078.0

2018-01-04 Thread Rainer Schuetze via Digitalmars-d-announce
On 04.01.2018 07:25, thedeemon wrote: On Wednesday, 3 January 2018 at 17:43:36 UTC, Martin Nowak wrote: Glad to announce D 2.078.0. This release comes with runtime detection of Visual Studio installation paths I've got a problem with linking phobos64.lib now. I run "Visual C++ 2015 x64