Re: From the D Blog: Driving with D

2021-06-06 Thread Johan Engelen via Digitalmars-d-announce
On Friday, 4 June 2021 at 21:47:21 UTC, Iain Buclaw wrote: On Friday, 4 June 2021 at 21:28:00 UTC, Max Samukha wrote: This doesn't [work]: ubyte[] slice; foreach (ubyte i; slice) { } Invalid bitcast %17 = bitcast i16 %15 to i32 I guess the cause is the same - slice.length.sizeof == 4,

Re: LDC 1.25.0

2021-02-22 Thread Johan Engelen via Digitalmars-d-announce
On Monday, 22 February 2021 at 07:20:16 UTC, kinke wrote: On Sunday, 21 February 2021 at 21:58:48 UTC, Dennis wrote: On Sunday, 21 February 2021 at 18:26:38 UTC, kinke wrote: - Profile/trace LDC invocations via --ftime-trace. Is there more info on this? I tried it on a simple file, it

Re: LDC 1.24.0

2020-10-24 Thread Johan Engelen via Digitalmars-d-announce
On Saturday, 24 October 2020 at 15:11:08 UTC, kinke wrote: Glad to announce LDC 1.24 - some highlights: - Based on D 2.094.1+. - Support for LLVM 11. The prebuilt packages use v11.0.0, and the x86 packages newly include the LLVM backend for AMD GPUs. - Experimental support for targeting macOS

Re: LDC 1.24.0-beta1

2020-10-20 Thread Johan Engelen via Digitalmars-d-announce
On Tuesday, 20 October 2020 at 20:21:56 UTC, aberba wrote: On Tuesday, 20 October 2020 at 17:36:11 UTC, kinke wrote: On Tuesday, 20 October 2020 at 16:08:47 UTC, aberba wrote: It's an option but doesn't fill the need for an installer. Not sure why its hasn't been done. See

Re: Proposal for porting D runtime to WebAssembly

2019-11-23 Thread Johan Engelen via Digitalmars-d-announce
On Saturday, 23 November 2019 at 09:51:13 UTC, Sebastiaan Koppe wrote: This is my proposal for porting D runtime to WebAssembly. I would like to ask you to review it. You can find it here: https://gist.github.com/skoppe/7617ceba6afd67b2e20c6be4f922725d Perhaps you can explicitly clarify that

Re: D code running on the Nintendo 3DS

2019-10-20 Thread Johan Engelen via Digitalmars-d-announce
On Sunday, 20 October 2019 at 06:06:48 UTC, TheGag96 wrote: Hi, all. I wanted to get into the world of 3DS homebrew, but I really didn't feel like coding in C or C++. So, through an effort of sheer will, I somehow got a hello world example written in D up and running, along with bindings for

Re: Blog Post: Beating std::visit Without Really Trying

2019-10-05 Thread Johan Engelen via Digitalmars-d-announce
On Saturday, 5 October 2019 at 02:59:58 UTC, Paul Backus wrote: I was curious how C++17's std::variant compared to the options we have in D, like Algebraic and SumType, so I did a simple comparison of the generated assembly for each of them. You can read about it at the link below. And as you

Re: utiliD: A library with absolutely no dependencies for bare-metal programming and bootstrapping other D libraries

2019-05-11 Thread Johan Engelen via Digitalmars-d-announce
On Friday, 10 May 2019 at 23:58:37 UTC, Mike Franklin wrote: I don't know how a proper assembly implementation would not be performant. Perhaps you could elaborate. Inline assembly prevents a lot of optimizations that give large performance gains such as constant propagation. Say you

Re: DConf 2019 Day 3 Slides

2019-05-10 Thread Johan Engelen via Digitalmars-d-announce
On Friday, 10 May 2019 at 08:03:52 UTC, Mike Parker wrote: The slides for Andrei's keynote can be found here: https://drive.google.com/open?id=1nrya9553FSMyBfLUmioYovVbqOoYycMe Thank you Andrei for presenting those last 3 slides. -Johan

Re: utiliD: A library with absolutely no dependencies for bare-metal programming and bootstrapping other D libraries

2019-05-10 Thread Johan Engelen via Digitalmars-d-announce
On Friday, 10 May 2019 at 17:16:24 UTC, Mike Franklin wrote: On Friday, 10 May 2019 at 05:20:59 UTC, Eugene Wissner wrote: - Memcmp, memcpy, memmove and memset are named equal, copy, copyBackward and fill respectively. I just wanted to create native implementations that are bit safer than

Re: Beta 2.084.1

2019-02-05 Thread Johan Engelen via Digitalmars-d-announce
On Tuesday, 5 February 2019 at 04:18:55 UTC, Martin Nowak wrote: Glad to announce the first beta for the 2.084.1 point release, Any chance of getting this in? https://github.com/dlang/phobos/pull/6814 Phobos std.file has become unusable after 2.082 because of [1] leading to memory

LDC "nightly" or latest CI build

2018-12-23 Thread Johan Engelen via Digitalmars-d-announce
Hi all, The dlang.org install.sh script is now able to install the latest successful CI build of LDC master, called "ldc-latest-ci" ! That should make it easier for you to test the newest of the newest of LDC master. On Travis, you can use "d: ldc-latest-ci" to test your project with it.

Re: Fuzzed - a program to find DMDFE parser crash

2018-12-15 Thread Johan Engelen via Digitalmars-d-announce
On Saturday, 15 December 2018 at 11:29:45 UTC, Basile B. wrote: Fuzzed [1] is a simple fuzzer for the D programming language. Are you familiar with libFuzzer and LDC's integration? https://johanengelen.github.io/ldc/2018/01/14/Fuzzing-with-LDC.html You can feed libFuzzer with a dictionary of

Re: LDC 1.13.0-beta1

2018-11-03 Thread Johan Engelen via Digitalmars-d-announce
On Friday, 2 November 2018 at 21:04:13 UTC, kinke wrote: Glad to announce the first beta for LDC 1.13: Note how fast Martin produced this beta release after the DMD 2.083 release. Thanks to all contributors! The main contributor by far is you Martin, thank _you_! -Johan

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

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

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,

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: 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: 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: 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: 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: 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

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

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: 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: 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: 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

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: 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

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: 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

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: 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: 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: 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: 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: 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: 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: 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: 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 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: 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: 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: 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: 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: 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: 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

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:

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: 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: 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-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 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-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: 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: 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-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: 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: 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: 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: 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 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 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: 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: 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-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-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-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-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: [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-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

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: 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: 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: 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

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-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: 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: 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: [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: 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+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: 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-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: 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: 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: 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

[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: 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

  1   2   >