Re: Terminal ANSI Colouring Library

2015-03-19 Thread Johan Engelen via Digitalmars-d-announce
On Monday, 16 March 2015 at 15:39:52 UTC, Kingsley wrote: Hi, As a learning project I've knocked up a tiny library to output ansi coloured text on linux/osx. Have a look here for an earlier attempt: http://forum.dlang.org/thread/mailman.41.1317934445.28623.digitalmar...@puremagic.com This

Re: Testing Nightly Build Service

2015-12-12 Thread Johan Engelen via Digitalmars-d-announce
On Saturday, 12 December 2015 at 12:08:50 UTC, Martin Nowak wrote: As you might already know from the last sprint review (http://forum.dlang.org/post/56592679.3010604@dawg.), we've setup a server to build nightlies. The service is still in a test phase but seems to work steadily. Great! Are

Re: Testing Nightly Build Service

2016-01-05 Thread Johan Engelen via Digitalmars-d-announce
On Sunday, 13 December 2015 at 12:26:12 UTC, Martin Nowak wrote: On Sunday, 13 December 2015 at 10:22:56 UTC, Suliman wrote: https://builds.dawg.eu/dmd-nightly/ Why not https://builds.dlang.org ? Because we're testing the service, once it's reliable, we'll move this to a dlang subdomain or

Re: Beta D 2.071.1-b2

2016-06-03 Thread Johan Engelen via Digitalmars-d-announce
On Monday, 30 May 2016 at 09:24:21 UTC, Johan Engelen wrote: On Sunday, 29 May 2016 at 21:53:23 UTC, Martin Nowak wrote: Second beta for the 2.071.1 release. http://dlang.org/download.html#dmd_beta http://dlang.org/changelog/2.071.1.html Please report any bugs at https://issues.dlang.org

Re: LDC+Dub+Vibe.d work on SmartOS 64bit now

2016-06-08 Thread Johan Engelen via Digitalmars-d-announce
On Wednesday, 8 June 2016 at 10:06:00 UTC, Oleg Nykytenko wrote: On Wednesday, 8 June 2016 at 08:43:59 UTC, Joakim wrote: Have you run the standard library's tests? There was a thread last summer about this: http://forum.dlang.org/thread/zhcduibirwprgbzqk...@forum.dlang.org We haven't run

Re: Recursive SymbolNames solved.

2016-06-09 Thread Johan Engelen via Digitalmars-d-announce
On Thursday, 9 June 2016 at 04:58:45 UTC, Stefan Koch wrote: On Wednesday, 8 June 2016 at 13:28:19 UTC, Stefan Koch wrote: Hi, I solved the issue. PR is coming shortly. Solution is as follows: Keep a list of already visited symbols in the mangler. And information where we store the mangle.

Re: LDC 1.0.0 has been released!

2016-06-07 Thread Johan Engelen via Digitalmars-d-announce
On Tuesday, 7 June 2016 at 16:54:55 UTC, Daniel N wrote: On Monday, 6 June 2016 at 10:45:39 UTC, Guillaume Piolat wrote: very nice! how about a howto for windows/VS users? 1) Download LDC unpack anywhere 2) Download VisualD install https://github.com/dlang/visuald/releases 3) Setup VisualD

Re: D syntax highlighting support for Jekyll websites in v1.11.0

2016-06-06 Thread Johan Engelen via Digitalmars-d-announce
On Monday, 6 June 2016 at 20:03:11 UTC, Borislav Kosharov wrote: Hey guys I implemented D syntax highlighting for rouge that is the default syntax highlighter for Jekyll. If you have a github pages jekyll site you will be able to post D code and get highlighting when pages moves to version

Re: Beta D 2.071.1-b2

2016-05-30 Thread Johan Engelen via Digitalmars-d-announce
On Sunday, 29 May 2016 at 21:53:23 UTC, Martin Nowak wrote: Second beta for the 2.071.1 release. http://dlang.org/download.html#dmd_beta http://dlang.org/changelog/2.071.1.html Please report any bugs at https://issues.dlang.org I've merged it into LDC, CI testers are running!

Re: [Semi OT] About code review

2016-06-27 Thread Johan Engelen via Digitalmars-d-announce
On Monday, 27 June 2016 at 00:01:34 UTC, deadalnix wrote: Several people during DConf asked abut tips and tricks on code review. So I wrote an article about it: http://www.deadalnix.me/2016/06/27/on-code-review/ It's a nice read. One comment: perhaps the balance has tipped a bit much to

Re: DigitalWhip

2016-02-13 Thread Johan Engelen via Digitalmars-d-announce
On Saturday, 13 February 2016 at 18:48:12 UTC, artemalive wrote: DigitalWhip is a performance benchmark of statically typed programming languages that compile to native code: https://github.com/artemalive/DigitalWhip Could you add the compiler versions to the outputted .txt file, e.g. `dmd

Re: Sublime Text 3 Gets Better D Support

2016-01-28 Thread Johan Engelen via Digitalmars-d-announce
On Wednesday, 27 January 2016 at 17:34:35 UTC, Jack Stouffer wrote: Sublime Text is a very popular text editor, and for a while now it's had marginal D support. What has changed recently is updated syntax highlighting to support all the new keywords that have come in the last couple of years

Re: DigitalWhip

2016-02-14 Thread Johan Engelen via Digitalmars-d-announce
On Sunday, 14 February 2016 at 18:07:00 UTC, artemalive wrote: Thanks. Good suggestion. I'll check if the version information can be retrieved automatically for all compilers. If that's the case then version information will be added soon. I would simply print the output of "--version" for

Re: DigitalWhip

2016-02-14 Thread Johan Engelen via Digitalmars-d-announce
On Saturday, 13 February 2016 at 19:26:39 UTC, artemalive wrote: On Saturday, 13 February 2016 at 19:19:46 UTC, Johan Engelen wrote: Could you add the compiler versions to the outputted .txt file, e.g. `dmd --version`? (the example output files don't have it) These files are just for

Re: LLVM 3.8 released - and LDC is already able to use it!

2016-03-09 Thread Johan Engelen via Digitalmars-d-announce
On Tuesday, 8 March 2016 at 19:12:57 UTC, Kai Nacke wrote: Hi all! LLVM 3.8 has been released half an hour ago! See the release notes here: http://www.llvm.org/releases/3.8.0/docs/ReleaseNotes.html Downloads: http://www.llvm.org/releases/download.html#3.8.0 Also note that LDC is mentioned

Re: Blog post: PGO: Optimizing D's virtual calls

2016-04-29 Thread Johan Engelen via Digitalmars-d-announce
On Wednesday, 13 April 2016 at 11:34:26 UTC, Johan Engelen wrote: Hi all, I've written an article about how I implemented profile-guided optimization (PGO) I packaged LDC v1.0.0 with PGO for OS X: https://github.com/JohanEngelen/ldc/releases/tag/v1.0.0-beta1-pgo All your feedback is very

[OT] Re: pl0stuff an optimizing pl0 > c transcompiler

2016-05-20 Thread Johan Engelen via Digitalmars-d-announce
On Friday, 20 May 2016 at 18:04:55 UTC, Stefan Koch wrote: Update I have implemented D codegen. The CodeGenerator as well as the optimizer work at CTFE. Therefore you can transcompile code at compileTime at call PL/0 functions as there were naively implemented in D. This is pretty cool :D

Re: amoeba, a chess engine written in D

2016-05-21 Thread Johan Engelen via Digitalmars-d-announce
On Friday, 20 May 2016 at 23:16:01 UTC, Richard Delorme wrote: I am pleased to announce the release of a chess engine written in D: https://github.com/abulmo/amoeba In the makefile, I see you tried LDC's PGO, awesome! I hope to get (part of) it into LDC master very soon. All feedback is very

Re: amoeba, a chess engine written in D

2016-05-21 Thread Johan Engelen via Digitalmars-d-announce
On Friday, 20 May 2016 at 23:16:01 UTC, Richard Delorme wrote: The source can be compiled with dmd, ldc or gdc, but the best performance are obtained with the latter (almost twice faster). Can you give cmdline details and compiler version data for this? (how much faster is gdc relative to

Re: My ACCU 2016 keynote video available online

2016-05-22 Thread Johan Engelen via Digitalmars-d-announce
On Thursday, 19 May 2016 at 12:54:48 UTC, Jens Müller wrote: For example what's equivalent to gdc's -ffast-math in ldc. This is: https://github.com/ldc-developers/ldc/pull/1472 Working on performance improvements is a lot of fun. Please feed us with code that doesn't run as fast as it

Re: amoeba, a chess engine written in D

2016-05-22 Thread Johan Engelen via Digitalmars-d-announce
On Saturday, 21 May 2016 at 16:25:27 UTC, Richard Delorme wrote: With the above versions & my poor knowledge of the compilers, pgo & BUILD=popcount only worked with gdc. I will try to upgrade to more recent versions to see if things changed. With LDC, you can pass "-mattr=+popcnt" to use

Re: 2k questions on SO

2016-04-17 Thread Johan Engelen via Digitalmars-d-announce
On Sunday, 17 April 2016 at 12:10:47 UTC, Daniel Kozak wrote: http://stackoverflow.com/tags/d/info Awww, no [ldc] tag!

Re: Blog post: PGO: Optimizing D's virtual calls

2016-04-14 Thread Johan Engelen via Digitalmars-d-announce
On Wednesday, 13 April 2016 at 13:08:30 UTC, Andrei Alexandrescu wrote: Noice. https://twitter.com/D_Programming/status/720236648034877440 https://www.facebook.com/dlang.org/posts/1275322695814742

Re: Blog post: PGO: Optimizing D's virtual calls

2016-04-15 Thread Johan Engelen via Digitalmars-d-announce
On Wednesday, 13 April 2016 at 11:34:26 UTC, Johan Engelen wrote: Hi all, I've written an article about how I implemented profile-guided optimization (PGO) of virtual calls to direct calls (a micro-micro-optimization, expected performance gain of just a few percent if any!). I've updated

Re: Blog post: PGO: Optimizing D's virtual calls

2016-04-21 Thread Johan Engelen via Digitalmars-d-announce
On Wednesday, 20 April 2016 at 22:10:53 UTC, Marco Leise wrote: 7% is quite a bit more than any other option like -cpu=native could achieve. If feasible I'd enjoy if ldc2 shipped with a pgo configuration option. If you use the compiler in a lot of edit/compile cycles it will pay off. This

Re: It's alive! D building D building D, all on Android

2016-05-07 Thread Johan Engelen via Digitalmars-d-announce
Fantastic news! I hope we can find a good way to integrate automated testing of github branches/PRs for Android. cheers, Johan

Re: Web page listing all D compilers (and DMDFE version!) on travis-ci

2016-05-07 Thread Johan Engelen via Digitalmars-d-announce
On Tuesday, 26 April 2016 at 06:42:11 UTC, Nick Sabalausky wrote: https://semitwist.com/travis-d-compilers That's an auto-generated listing of all versions of DMD, GDC and LDC available on travis-ci. Very useful, but perhaps you can list the string one should use to tell Travis to use that

Re: Beta D 2.071.2-b2

2016-08-10 Thread Johan Engelen via Digitalmars-d-announce
On Tuesday, 9 August 2016 at 15:37:27 UTC, Martin Nowak wrote: Please report any bugs at https://issues.dlang.org I'd appreciate it if someone could have a look at this regression: https://issues.dlang.org/show_bug.cgi?id=16369

Re: Beta D 2.071.2-b2

2016-08-09 Thread Johan Engelen via Digitalmars-d-announce
On Tuesday, 9 August 2016 at 15:37:27 UTC, Martin Nowak wrote: Second beta for the 2.071.2 release. Nice. Merged into LDC master. -Johan

Article: "Profile-Guided Optimization with LDC"

2016-07-15 Thread Johan Engelen via Digitalmars-d-announce
Because you can all download binaries for LDC 1.1.0-alpha1 now, it is time to release the article on how to use profile-guided optimization with the new LDC release. Please test and report back to us! :) https://johanengelen.github.io/ldc/2016/07/15/Profile-Guided-Optimization-with-LDC.html

Re: First dmd nightly shipping with dub

2016-07-10 Thread Johan Engelen via Digitalmars-d-announce
On Friday, 8 July 2016 at 20:43:58 UTC, Martin Nowak wrote: On 07/08/2016 11:22 AM, Dicebot wrote: On Friday, 8 July 2016 at 09:13:08 UTC, Martin Nowak wrote: What would be the use-case for those? Using newer dub versions with an older compiler? Or simply using dub with ldc/gdb without also

Re: First dmd nightly shipping with dub

2016-07-11 Thread Johan Engelen via Digitalmars-d-announce
When packaging dub with a compiler, it'd be nice if dub per default selected the compiler it came packaged with, I think. (it currently doesn't) Perhaps people can chime in here with ideas? https://github.com/dlang/dub/issues/895 https://github.com/dlang/dub/pull/875 Thanks, Johan

Re: Running a D game in the browser

2016-08-05 Thread Johan Engelen via Digitalmars-d-announce
On Friday, 5 August 2016 at 05:39:57 UTC, Sebastien Alaiwan wrote: On Thursday, 4 August 2016 at 19:17:34 UTC, Sebastien Alaiwan wrote: at the moment, I have a patch to making the build work (only for the binary "ldc2", not other tools of the package). I created a dedicated github branch

Re: Battle-plan for CTFE

2016-08-08 Thread Johan Engelen via Digitalmars-d-announce
On Sunday, 7 August 2016 at 16:52:28 UTC, Stefan Koch wrote: On Saturday, 6 August 2016 at 23:04:48 UTC, Stefan Koch wrote: No, not now, but very soon. I want to have _basic_ utf8 support before I am comfortable with enabling string operations. Tomorrow this is going to work. Hi Stefan,

Re: Beta D 2.071.2-b1

2016-08-01 Thread Johan Engelen via Digitalmars-d-announce
On Monday, 1 August 2016 at 11:02:41 UTC, Martin Nowak wrote: First beta for the 2.071.2 point release. Green on all testers: merged into LDC master! cheers, Johan

Re: ndBenchmarks #1: ndslice.algorithm vs std.numeric vs std.algorithm

2016-08-03 Thread Johan Engelen via Digitalmars-d-announce
On Wednesday, 3 August 2016 at 20:53:59 UTC, Ilya Yaroshenko wrote: Hi all, There are two first [1] benchmarks for upcoming ndslice.algorithm [2]. Recent LDC alpha based on LLVM 3.8 and recent Mir v0.16.0-alpha3 are required. @fasmath syntax may be changed a little bit and will be simplified

Re: Release D 2.071.1

2016-06-30 Thread Johan Engelen via Digitalmars-d-announce
On Monday, 27 June 2016 at 22:11:53 UTC, Martin Nowak wrote: Glad to announce D 2.071.1. Thanks. LDC master is now also at 2.071.1. -Johan

Re: LDC talk @ FOSDEM'17

2017-01-23 Thread Johan Engelen via Digitalmars-d-announce
On Saturday, 21 January 2017 at 12:37:26 UTC, Kai Nacke wrote: Hi everybody! Last year turned out to be difficult for D development for me. I try to come back this year. Great! :-) Keep me in the loop when preparing your slides! ;-) cheers, Johan

Re: A New Import Idiom`

2017-02-13 Thread Johan Engelen via Digitalmars-d-announce
On Monday, 13 February 2017 at 20:09:45 UTC, Daniel Nielsen wrote: I still suspect there will be a difference in real-world applications even with LDC. Why would you expect there to be a difference? Module ctors/dtors are still pulled in, regardless of the import being selective or not.

Re: A New Import Idiom`

2017-02-13 Thread Johan Engelen via Digitalmars-d-announce
On Monday, 13 February 2017 at 15:04:53 UTC, Daniel N wrote: On Monday, 13 February 2017 at 15:00:24 UTC, jmh530 wrote: With the Jack Stouffer comparison, wouldn't it be fairer to do: import std.datetime : Systime; import std.traits : isIntegral; Probably, please help measuring your idea

Re: A New Import Idiom`

2017-02-13 Thread Johan Engelen via Digitalmars-d-announce
On Monday, 13 February 2017 at 14:28:20 UTC, Mike Parker wrote: Daniel Nielsen put together a post ... [1] https://dlang.org/blog/2017/02/13/a-new-import-idiom/ I also liked the post, nicely written. I didn't check, but if this idiom is not already tested in dmd-testsuite, please add it!

Re: [GSoC] Mir.random.flex - Generic non-uniform random sampling

2016-08-23 Thread Johan Engelen via Digitalmars-d-announce
On Tuesday, 23 August 2016 at 13:01:29 UTC, Seb wrote: On Tuesday, 23 August 2016 at 12:12:30 UTC, Seb wrote: [...] I fixed that and also added how many samples were generated per run (10M), thanks! Btw I quickly added the run-time for C++ (for G++ and clang++ with -O3) I think you should

Re: Beta D 2.071.2-b3

2016-09-01 Thread Johan Engelen via Digitalmars-d-announce
On Thursday, 1 September 2016 at 20:46:50 UTC, Steven Schveighoffer wrote: On 8/31/16 5:56 AM, Johan Engelen wrote: On Tuesday, 30 August 2016 at 23:54:45 UTC, Martin Nowak wrote: Allowing access to private members has a lot of implications, e.g. breaks lots of optimizations b/c you can't

Re: Beta D 2.071.2-b3

2016-09-04 Thread Johan Engelen via Digitalmars-d-announce
On Saturday, 3 September 2016 at 18:06:37 UTC, Dicebot wrote: On Saturday, 3 September 2016 at 14:40:37 UTC, Martin Nowak wrote: On Wednesday, 31 August 2016 at 09:56:17 UTC, Johan Engelen wrote: (I can only think of complicated stuff that requires pretty much whole-program analysis to prove

Re: Beta D 2.071.2-b3

2016-08-31 Thread Johan Engelen via Digitalmars-d-announce
On Tuesday, 30 August 2016 at 23:54:45 UTC, Martin Nowak wrote: Allowing access to private members has a lot of implications, e.g. breaks lots of optimizations b/c you can't know who accesses sth. "lots of optimizations" Can you mention a few? (I can only think of complicated stuff that

Re: Beta D 2.071.2-b4

2016-09-12 Thread Johan Engelen via Digitalmars-d-announce
On Monday, 12 September 2016 at 07:47:19 UTC, Martin Nowak wrote: Fourth beta for the 2.071.2 release. This comes with a different fix for Issue 15907 than 2.071.2-b3. http://dlang.org/changelog/2.071.2.html I think the changelog has not been updated yet?

Re: Beta D 2.071.2-b4

2016-09-13 Thread Johan Engelen via Digitalmars-d-announce
On Tuesday, 13 September 2016 at 14:00:26 UTC, Martin Nowak wrote: On Monday, 12 September 2016 at 07:47:19 UTC, Martin Nowak wrote: This comes with a different fix for Issue 15907 than 2.071.2-b3. There will be another beta tomorrow or so to include at least one more fix (for Issue 16460)

Re: Beta D 2.071.2-b5

2016-09-14 Thread Johan Engelen via Digitalmars-d-announce
On Wednesday, 14 September 2016 at 12:16:51 UTC, Martin Nowak wrote: Fifth and hopefully last beta for the 2.071.2 release. This comes with two more fixes for Issue 16031 and 16460. LDC master is up-to-date with 2.071.2-b5!

Re: LDC: Speed up incremental builds with object file caching

2016-09-18 Thread Johan Engelen via Digitalmars-d-announce
On Sunday, 18 September 2016 at 08:14:47 UTC, Martin Nowak wrote: Interesting approach to speed up compilation without running into dmd's problems of template instance emission when compiling multiple modules to multiple objects. I think LDC has the same problems (template instances are

Re: LDC: Speed up incremental builds with object file caching

2016-09-18 Thread Johan Engelen via Digitalmars-d-announce
On Sunday, 18 September 2016 at 12:15:12 UTC, Daniel Kozak wrote: But on my android phone it is OK. So maybe I should bought some 2k or 4k monitor ;) Definitely one of the best upgrades I ever did (4k monitor). Warning: there's no way back.

Re: LDC: Speed up incremental builds with object file caching

2016-09-18 Thread Johan Engelen via Digitalmars-d-announce
On Saturday, 17 September 2016 at 19:17:44 UTC, Daniel Kozak wrote: Nice article, however font on this site is too small to read, I have to zoom in :( Do more people have this problem? For me, the font size is similar to, say, Github.

LDC: Speed up incremental builds with object file caching

2016-09-17 Thread Johan Engelen via Digitalmars-d-announce
I just finished another post about LDC: https://johanengelen.github.io/ldc/2016/09/17/LDC-object-file-caching.html Thanks in advance for letting me know about any bugs you find, in the text or in the code :) -Johan

Re: Comparing compilation time of random code in C++, D, Go, Pascal and Rust

2016-10-27 Thread Johan Engelen via Digitalmars-d-announce
On Thursday, 27 October 2016 at 06:43:15 UTC, Sebastien Alaiwan wrote: From the article: Surprise: C++ without optimizations is the fastest! A few other surprises: Rust also seems quite competitive here. D starts out comparatively slow." These benchmarks seem to support the idea that it's

Re: d.godbolt.org compiler explorer now has LDC too

2016-11-09 Thread Johan Engelen via Digitalmars-d-announce
On Thursday, 20 October 2016 at 08:23:33 UTC, Johan Engelen wrote: https://twitter.com/mattgodbolt/status/788890061949509632 The compiler explorer at https://d.godbolt.org now also features LDC! And now it has LDC 1.1.0-beta3 aswell. See the magic of `-enable-cross-module-inlining`:

Re: Link Time Optimization in LDC

2016-11-10 Thread Johan Engelen via Digitalmars-d-announce
On Thursday, 10 November 2016 at 16:23:03 UTC, Dicebot wrote: Does that mean that cross-module/cross-package inlining with separate compilation now works? When all is compiled with `-flto=...`, yes. -Johan

Link Time Optimization in LDC

2016-11-10 Thread Johan Engelen via Digitalmars-d-announce
Hi all, Yesterday I merged LTO capability into LDC. Here a short article about it: https://johanengelen.github.io/ldc/2016/11/10/Link-Time-Optimization-LDC.html For the folks building LDC themselves: let me know your issues :) cheers, Johan

Re: Link Time Optimization in LDC

2016-11-10 Thread Johan Engelen via Digitalmars-d-announce
On Thursday, 10 November 2016 at 16:20:33 UTC, Johan Engelen wrote: Hi all, Yesterday I merged LTO capability into LDC. Here a short article about it: https://johanengelen.github.io/ldc/2016/11/10/Link-Time-Optimization-LDC.html And the reddit thread:

Re: d.godbolt.org compiler explorer now has LDC too

2016-10-20 Thread Johan Engelen via Digitalmars-d-announce
On Thursday, 20 October 2016 at 08:23:33 UTC, Johan Engelen wrote: The compiler explorer at https://d.godbolt.org now also features LDC! By the way, adding DMD should be doable. It looks like the code already supports objdump'ing a generated binary if assembly output is not available. Matt

d.godbolt.org compiler explorer now has LDC too

2016-10-20 Thread Johan Engelen via Digitalmars-d-announce
https://twitter.com/mattgodbolt/status/788890061949509632 The compiler explorer at https://d.godbolt.org now also features LDC! Now you can view the assembly output of GDC and LDC side-by-side, for example: https://godbolt.org/g/y24RGI cheers, Johan

Re: Release D 2.072.0

2016-11-01 Thread Johan Engelen via Digitalmars-d-announce
On Monday, 31 October 2016 at 01:27:08 UTC, Martin Nowak wrote: Glad to announce D 2.072.0. DMD 2.072.0 miscompiles/uncovers a bug in LDC, so I switched back to DMD 2.071.2 for CI testing. :( -Johan

Re: [Slides] Generic Low Level Programming with D - The Better C for your Business

2016-10-28 Thread Johan Engelen via Digitalmars-d-announce
On Friday, 28 October 2016 at 06:46:27 UTC, Ilya Yaroshenko wrote: https://docs.google.com/presentation/d/1w1cQ8vDluglRIt8Qdnm-sY7kqxoKZxbPEWW6tR3lPpo/edit?usp=sharing Nice :) Something I noticed on slide 6-8. The call __adEq2 is pretty lame, we have our fix ready:

Re: Release D 2.072.0

2016-11-03 Thread Johan Engelen via Digitalmars-d-announce
On Wednesday, 2 November 2016 at 15:13:43 UTC, anonymous wrote: On Wednesday, 2 November 2016 at 15:08:26 UTC, anonymous wrote: I confirm, dmd 2.072 can't build dmd 2.071.2, same error, but boot since master straping works there's probably something that's been fixed in one or two of these

Re: Release D 2.072.0

2016-11-03 Thread Johan Engelen via Digitalmars-d-announce
On Thursday, 3 November 2016 at 15:51:22 UTC, Steven Schveighoffer wrote: Any cycles that are "newly discovered" were already there. What was happening is that the runtime did not detect the cycle, and was arbitrarily choosing an order for initializing these modules. Either a) the arbitrary

Re: Release D 2.072.0

2016-11-03 Thread Johan Engelen via Digitalmars-d-announce
On Friday, 4 November 2016 at 00:42:48 UTC, Johan Engelen wrote: On Thursday, 3 November 2016 at 15:51:22 UTC, Steven Schveighoffer wrote: Any cycles that are "newly discovered" were already there. What was happening is that the runtime did not detect the cycle, and was arbitrarily choosing

Re: Release D 2.072.0

2016-11-02 Thread Johan Engelen via Digitalmars-d-announce
On Tuesday, 1 November 2016 at 16:40:42 UTC, Andrei Alexandrescu wrote: On 11/01/2016 11:41 AM, Johan Engelen wrote: On Monday, 31 October 2016 at 01:27:08 UTC, Martin Nowak wrote: Glad to announce D 2.072.0. DMD 2.072.0 miscompiles/uncovers a bug in LDC, so I switched back to DMD 2.071.2

Re: Article: Increasing the performance of D math code

2016-10-11 Thread Johan Engelen via Digitalmars-d-announce
On Tuesday, 11 October 2016 at 17:29:47 UTC, Ali Çehreli wrote: On 10/11/2016 07:01 AM, Johan Engelen wrote: > I wrote a piece on LDC's fastmath stuff that Mir uses for > high-performance D math code: > > https://johanengelen.github.io/ldc/2016/10/11/Math-performance-LDC.html > > cheers, >

Re: Auto-gen list of D compiler versions: Improvements

2016-10-11 Thread Johan Engelen via Digitalmars-d-announce
On Tuesday, 11 October 2016 at 17:21:42 UTC, Nick Sabalausky wrote: The automatically-updated list of D compiler versions available on Travis-CI (and which front-end/back-end version they each use) has had a few small improvements lately: http://semitwist.com/travis-d-compilers Perhaps

Re: LDC 1.1.0-beta3 has been released!

2016-10-11 Thread Johan Engelen via Digitalmars-d-announce
On Tuesday, 11 October 2016 at 07:29:00 UTC, Sönke Ludwig wrote: Just noticed that the release binaries are missing from https://github.com/ldc-developers/ldc/releases/tag/v1.1.0-beta3 This means that the beta currently cannot be tested with TravisCI (wanted to test a DUB related regression

Re: Mir Blog: Writing efficient numerical code in D

2016-12-12 Thread Johan Engelen via Digitalmars-d-announce
On Monday, 12 December 2016 at 21:58:23 UTC, Relja Ljubobratovic wrote: Hey guys, We have just published another post on "Writing efficient numerical code in D", to Mir's Blog[1]. Nice :) Some comments: - You can make the numbers in the table more readable by adding commas? For example,

Re: Many documentation examples can now be run online

2016-12-23 Thread Johan Engelen via Digitalmars-d-announce
On Tuesday, 20 December 2016 at 07:04:38 UTC, Seb wrote: https://github.com/dlang/dlang.org/pull/1527 Nice. It's pretty awesome! When clicking the "edit" button, a new box appears with the example's code in it but editable. Then when clicking "run", the editted code disappears (it's saved

Re: New GDC binaries: 2.068.2, shared library support, multilib support & a new gdmd tool

2016-12-25 Thread Johan Engelen via Digitalmars-d-announce
On Sunday, 25 December 2016 at 19:41:38 UTC, Johannes Pfau wrote: Happy holidays everybody, I'm happy to finally announce the release of new GDC binaries at https://gdcproject.org/downloads . Gratz! Hope you can add it to d.godbolt.org soon. ;) -Johan

Re: DMD library available as DUB package

2017-07-31 Thread Johan Engelen via Digitalmars-d-announce
On Sunday, 30 July 2017 at 23:41:40 UTC, Johan Engelen wrote: On Tuesday, 18 July 2017 at 12:07:27 UTC, Jacob Carlborg wrote: During the dconf hackathon I set out to create a DUB package for DMD to be used as a library. This has finally been merged [1] and is available here [2]. It contains

Re: DCompute: GPGPU with Native D for OpenCL and CUDA

2017-07-17 Thread Johan Engelen via Digitalmars-d-announce
On Monday, 17 July 2017 at 13:50:22 UTC, Mike Parker wrote: Nicholas Wilson has put together a blog post on his progress with DCompute Great, Nick!

Re: DMD library available as DUB package

2017-07-30 Thread Johan Engelen via Digitalmars-d-announce
On Tuesday, 18 July 2017 at 12:07:27 UTC, Jacob Carlborg wrote: During the dconf hackathon I set out to create a DUB package for DMD to be used as a library. This has finally been merged [1] and is available here [2]. It contains the lexer and the parser. This is great news of course! But I

Re: Trip notes from Israel

2017-05-22 Thread Johan Engelen via Digitalmars-d-announce
On Monday, 22 May 2017 at 15:05:24 UTC, Andrei Alexandrescu wrote: http://dlang.org/blog/2017/05/22/introspection-introspection-everywhere/ -- Andrei A fun read! "(Late at night, I double checked. Mozilla’s CheckedInt is just as bad as I remembered. They do a division to test for

Re: D for Android beta

2017-06-01 Thread Johan Engelen via Digitalmars-d-announce
On Thursday, 1 June 2017 at 19:31:28 UTC, Joakim wrote: [awesome text] This is great stuff Joakim! It's very nice to see your detailed release notes, with links to the patches. Hope we can get much of that into LDC master soon. Cheers, Johan

Re: Snap packages for DMD and DUB

2017-06-06 Thread Johan Engelen via Digitalmars-d-announce
On Monday, 8 May 2017 at 20:05:01 UTC, Joseph Rushton Wakeling wrote: The `dmd` package also contains `rdmd`, `dustmite` and `ddemangle`. Note that by default the snap package exposes these namespaced on the name of the package (i.e. `dmd.rdmd`, etc.). To avoid this, use the `snap alias`

Re: Cap'n Proto for D v0.1.2

2017-06-16 Thread Johan Engelen via Digitalmars-d-announce
On Tuesday, 18 April 2017 at 18:09:54 UTC, Thomas Brix Larsen wrote: This is the initial public release of my optimized port of the Java implementation of Cap'n Proto. http://code.dlang.org/packages/capnproto-dlang https://github.com/ThomasBrixLarsen/capnproto-dlang Hi Thomas, Great that

Re: LDC 1.5.0-beta1

2017-10-23 Thread Johan Engelen via Digitalmars-d-announce
On Monday, 23 October 2017 at 21:26:46 UTC, Guillaume Piolat wrote: Some measurements for some audio processing. Output are identical across compilers (30 measures). Guillaume, can you try with building your own LTO version of the standard library and do new measurements? Something like

Re: Silicon Valley D Meetup - December 14, 2017 - "Experimenting with Link Time Optimization" by Jon Degenhardt

2017-12-16 Thread Johan Engelen via Digitalmars-d-announce
On 11/21/2017 11:58 AM, Ali Çehreli wrote: Meetup page: https://www.meetup.com/D-Lang-Silicon-Valley/events/245288287/ LDC[1], the LLVM-based D compiler, has been adding Link Time Optimization capabilities over the last several releases. [...] This talk will look at the results of applying

Re: Interfacing D with C: Getting Started

2017-12-06 Thread Johan Engelen via Digitalmars-d-announce
On Tuesday, 5 December 2017 at 16:06:19 UTC, Mike Parker wrote: This is the first post in a new tutorial series I'm doing on the blog. Hi Mike, Nice. It's always much easier to comment than to write an article from scratch. So take all this with a grain of salt: Overall I find that it'd be

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: Silicon Valley D Meetup - December 14, 2017 - "Experimenting with Link Time Optimization" by Jon Degenhardt

2017-12-24 Thread Johan Engelen via Digitalmars-d-announce
On Saturday, 16 December 2017 at 19:40:14 UTC, Jon Degenhardt wrote: On Saturday, 16 December 2017 at 11:52:37 UTC, Johan Engelen wrote: Can't wait to see the results of LTO on Weka.io's (LARGE) applications. Work in progress...! Agreed. It'd be great to see the experience of a few more

Article: Finding memory bugs in D code with AddressSanitizer

2017-12-25 Thread Johan Engelen via Digitalmars-d-announce
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 "LDC comes with improved support for Address Sanitizer since the 1.4.0 release. Address Sanitizer (ASan) is a runtime memory

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: Article: Fuzzing D code with LDC

2018-01-15 Thread Johan Engelen via Digitalmars-d-announce
On Monday, 15 January 2018 at 09:49:24 UTC, Temtaime wrote: // `Throwable`s thrown are not bugs (in contrast to `Errors`). They _can_ be bugs. class Error : Throwable class Exception : Throwable Good catch ( ;-) ) thanks. -Johan

Re: TSV Utilities release with LTO and PGO enabled

2018-01-16 Thread Johan Engelen via Digitalmars-d-announce
On Tuesday, 16 January 2018 at 02:45:39 UTC, Jon Degenhardt wrote: On Tuesday, 16 January 2018 at 00:19:24 UTC, Martin Nowak wrote: On Sunday, 14 January 2018 at 23:18:42 UTC, Jon Degenhardt wrote: Combined, LTO and PGO resulted in performance improvements greater than 25% on three of my

Re: TSV Utilities release with LTO and PGO enabled

2018-01-17 Thread Johan Engelen via Digitalmars-d-announce
On Wednesday, 17 January 2018 at 04:37:04 UTC, Jon Degenhardt wrote: Clearly personal judgment played a role. However, the tools are reasonably task focused, and I did take basic steps to ensure the benchmark data and tests were separate from the training data/tests. For these reasons, my

Re: Article: Fuzzing D code with LDC

2018-01-14 Thread Johan Engelen via Digitalmars-d-announce
On Saturday, 13 January 2018 at 23:59:52 UTC, Johan Engelen wrote: It's been a work-in-progress for half a year, but finished now: http://johanengelen.github.io/ldc/2018/01/14/Fuzzing-with-LDC.html "A not-so-well-written article about the fuzzing capability recently added to LDC Argh, and

Re: Article: Fuzzing D code with LDC

2018-01-14 Thread Johan Engelen via Digitalmars-d-announce
On Sunday, 14 January 2018 at 17:33:45 UTC, Joakim wrote: Nice post, enjoyed reading it. I need to look into trying out the shift sanitizer sometime. Definitely would be *great* to have `-fsanitize=undefined` ! - Johan

Re: LDC 1.7.0

2018-01-30 Thread Johan Engelen via Digitalmars-d-announce
On Tuesday, 30 January 2018 at 09:38:26 UTC, aberba wrote: On Monday, 29 January 2018 at 07:40:10 UTC, Dominikus Dittes Scherkl wrote: On Saturday, 27 January 2018 at 21:42:49 UTC, aberba wrote: [...] Ubuntu 16.04 This is a long-term support distribution. Don't expect those to have actual tip

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

2017-12-25 Thread Johan Engelen via Digitalmars-d-announce
On Monday, 25 December 2017 at 20:31:18 UTC, Walter Bright wrote: Thanks for the great article! Some suggestions: Thanks for your comments, I've incorporated them (to my liking). 1. The gray-on-white text is not very legible. Looks great here, I like it, sorry. (made it completely black

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

2017-12-28 Thread Johan Engelen via Digitalmars-d-announce
On Monday, 25 December 2017 at 17:03:37 UTC, 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 Is it a good fit with /r/programming ? -Johan

Re: D's Newfangled Name Mangling

2017-12-20 Thread Johan Engelen via Digitalmars-d-announce
On Wednesday, 20 December 2017 at 13:57:20 UTC, Mike Parker wrote: Many thanks to Rainer for his insightful new article for the D Blog outlining the new name mangling algorithm. Nice! "D and C++ avoid this problem by adding more information to the symbol name, i.e. they encode into a symbol

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

2017-12-26 Thread Johan Engelen via Digitalmars-d-announce
On Tuesday, 26 December 2017 at 22:11:18 UTC, Jon Degenhardt wrote: On Monday, 25 December 2017 at 17:03:37 UTC, Johan Engelen wrote: I've been writing this article since August, and finally found some time to finish it:

Re: LDC 1.11.0 beta

2018-07-07 Thread Johan Engelen via Digitalmars-d-announce
On Saturday, 7 July 2018 at 18:17:49 UTC, Seb wrote: Would be great to include https://github.com/dlang/dmd/pull/8456 as it's a serious regression and the reason for the early 2.081.1 release. Because the quality of new DMD releases is often subpar, the LDC release plan is to only release

Article: Fuzzing D code with LDC

2018-01-13 Thread Johan Engelen via Digitalmars-d-announce
It's been a work-in-progress for half a year, but finished now: http://johanengelen.github.io/ldc/2018/01/14/Fuzzing-with-LDC.html "A not-so-well-written article about the fuzzing capability recently added to LDC, using LLVM’s libFuzzer. Compiling code with -fsanitize=fuzzer adds control-flow

llvm-mca: a static performance analysis tool

2018-03-07 Thread Johan Engelen via Digitalmars-d-announce
I find this such great LLVM news that I'd share it here: llvm-mca: a static performance analysis tool http://lists.llvm.org/pipermail/llvm-dev/2018-March/121490.html cheers, Johan

Re: Updated D packages in GNU Guix for x86_64-linux, i686-linux, armhf-linux

2018-03-11 Thread Johan Engelen via Digitalmars-d-announce
On Sunday, 11 March 2018 at 08:43:25 UTC, Pjotr Prins wrote: The GNU package manager updated LDC to 1.7.0 which now provides x86_64-linux, see https://www.gnu.org/software/guix/packages/L/. Runtime dependencies and build are listed at https://hydra.gnu.org/build/2525193#tabs-runtime-deps,

Re: Why think unit tests should be in their own source code hierarchy instead of side-by-side

2018-03-23 Thread Johan Engelen via Digitalmars-d-announce
On Thursday, 22 March 2018 at 15:18:40 UTC, Jacob Carlborg wrote: On Thursday, 22 March 2018 at 11:00:31 UTC, Atila Neves wrote: Direct link: https://atilanevesoncode.wordpress.com/2018/03/22/keep-d-unittests-separated-from-production-code/ I completely agree. Although my reason is mostly

  1   2   >