Re: GDC guys, can this toolchain support D?

2017-01-11 Thread Iain Buclaw via Digitalmars-d
On 11 January 2017 at 02:50, Manu via Digitalmars-d <digitalmars-d@puremagic.com> wrote: > > > On 11 January 2017 at 11:40, Manu <turkey...@gmail.com> wrote: >> >> On 10 January 2017 at 19:04, Iain Buclaw via Digitalmars-d >> <digitalmars-d@puremagic.co

Re: GDC guys, can this toolchain support D?

2017-01-10 Thread Iain Buclaw via Digitalmars-d
On 10 January 2017 at 09:22, Manu via Digitalmars-d wrote: > Can any of the GDC guys comment on how difficult it would be to get this > toolchain build script to include building GDC? > > https://github.com/SaturnSDK/Saturn-SDK-GCC-SH2 > > I have a mate who's hacking

Re: Linker-hacking out the D runtime

2017-01-08 Thread Iain Buclaw via Digitalmars-d-announce
On 20 December 2016 at 12:24, Mike via Digitalmars-d-announce wrote: > On Monday, 19 December 2016 at 19:53:06 UTC, Iain Buclaw wrote: > >> The compiler doesn't actually generate any code that peeks inside >> TypeInfo. It only generates the reference to the

Re: D in MPLAB FOR PIC32

2017-01-08 Thread Iain Buclaw via Digitalmars-d
On 7 January 2017 at 01:39, Mike via Digitalmars-d wrote: > On Friday, 6 January 2017 at 15:47:21 UTC, Igor Myronov wrote: >> >> Is possible to program in D micro*-controllers like the PIC32 ? >> Thanks to all. > > > D has 3 compilers DMD, LDC, and GCC, > > DMD only

Re: annotating (object/library files) with compilation metadata to avoid incompatible libraries

2016-12-31 Thread Iain Buclaw via Digitalmars-d
On 20 December 2016 at 13:04, Timothee Cour via Digitalmars-d wrote: > Could dmd/ldc/gdc produce user defined attributes embedded (eg as json > string) embedded in some section of the object file/static/shared library, > eg: > > ``` > {"compiler" : "dmd", "version" :

Re: DMD travis-ci problems with new GDC toolchains

2016-12-31 Thread Iain Buclaw via Digitalmars-d
On 25 December 2016 at 20:25, Johannes Pfau via Digitalmars-d wrote: > Happy holidays everybody, > Happy New Year. > when testing the new GDC releases we found several problems with the > travis-ci autotester. Travis-CI uses the quite old GCC 4.6 as a system > GCC

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

2016-12-31 Thread Iain Buclaw via Digitalmars-d-announce
On 27 December 2016 at 03:52, Martin Nowak via Digitalmars-d-announce wrote: > 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 >>

Re: A betterC modular standard library?

2016-12-19 Thread Iain Buclaw via Digitalmars-d
On 19 December 2016 at 21:29, Ilya Yaroshenko via Digitalmars-d wrote: > On Monday, 19 December 2016 at 20:22:29 UTC, Iain Buclaw wrote: >> >> On 19 December 2016 at 20:42, Ilya Yaroshenko via Digitalmars-d >> wrote: >>> >>> On Monday, 19

Re: A betterC modular standard library?

2016-12-19 Thread Iain Buclaw via Digitalmars-d
On 19 December 2016 at 20:42, Ilya Yaroshenko via Digitalmars-d wrote: > On Monday, 19 December 2016 at 19:31:24 UTC, Guillaume Piolat wrote: >> >> On Sunday, 18 December 2016 at 09:26:09 UTC, Ilya Yaroshenko wrote: >>> >>> [...] >> >> >> If I understand correctly,

Re: Linker-hacking out the D runtime

2016-12-19 Thread Iain Buclaw via Digitalmars-d-announce
On 19 December 2016 at 12:41, Mike via Digitalmars-d-announce wrote: > On Sunday, 18 December 2016 at 12:57:08 UTC, Iain Buclaw wrote: >> >> On 18 December 2016 at 03:37, Mike via Digitalmars-d-announce >> wrote: >>> >>>

Re: Linker-hacking out the D runtime

2016-12-19 Thread Iain Buclaw via Digitalmars-d-announce
On 19 December 2016 at 01:36, Mike via Digitalmars-d-announce wrote: > On Sunday, 18 December 2016 at 12:57:08 UTC, Iain Buclaw wrote: > >> As a response to my last message in that thread, the changes for classinfo >> generation is now ready to go in master.

Re: Linker-hacking out the D runtime

2016-12-17 Thread Iain Buclaw via Digitalmars-d-announce
On 18 December 2016 at 01:04, sarn via Digitalmars-d-announce wrote: > As it stands, the -betterC flag is still immature and only removes a bit of > the D runtime. -betterC removes module info and module helpers, not the D runtime. You will find it in gdc

Re: Milestone - DMD front end is now 100% D!

2016-12-15 Thread Iain Buclaw via Digitalmars-d-announce
On 15 December 2016 at 21:03, John Colvin via Digitalmars-d-announce wrote: > On Thursday, 15 December 2016 at 19:58:50 UTC, Iain Buclaw wrote: >> >> This will be the direction that I anticipate to head in until a time comes >> where the frontend exposes

Re: Milestone - DMD front end is now 100% D!

2016-12-15 Thread Iain Buclaw via Digitalmars-d-announce
On 15 December 2016 at 20:46, Ilya Yaroshenko via Digitalmars-d-announce wrote: > On Thursday, 15 December 2016 at 19:15:41 UTC, Iain Buclaw wrote: >> >> On 15 December 2016 at 18:43, Ilya Yaroshenko via Digitalmars-d-announce >>

Re: Milestone - DMD front end is now 100% D!

2016-12-15 Thread Iain Buclaw via Digitalmars-d-announce
On 15 December 2016 at 18:43, Ilya Yaroshenko via Digitalmars-d-announce wrote: > On Thursday, 15 December 2016 at 14:40:55 UTC, Rikki Cattermole wrote: >> >> On Thursday, 15 December 2016 at 14:14:41 UTC, Ilya Yaroshenko wrote: >>> >>> On Thursday, 15

Re: Installing ldc breaks gdc

2016-12-09 Thread Iain Buclaw via Digitalmars-d
On 9 December 2016 at 18:34, Daniel Kozak via Digitalmars-d wrote: > > > Dne 9.12.2016 v 16:59 Eduard Staniloiu via Digitalmars-d napsal(a): >> >> Hello, everyone. >> >> ... >> >> Based on my previous assumtion (both dmd and gdc use /usr/include/dmd/) >> and the error

Re: Installing ldc breaks gdc

2016-12-09 Thread Iain Buclaw via Digitalmars-d
On 9 December 2016 at 18:53, Matthias Klumpp via Digitalmars-d wrote: > Hi! > > This issue should be fixed since LDC 1:1.1.0-2, which Xenial doesn't have. > Ideally, fetch a newer version from Debian or a PPA to solve this issue. > > Cheers, > Matthias > Thanks

Re: !!!Please add intrinsics module for DMD DRuntime!!!

2016-11-22 Thread Iain Buclaw via Digitalmars-d
On 22 November 2016 at 23:29, Daniel Kozak via Digitalmars-d wrote: > Dne 22.11.2016 v 17:36 Andrei Alexandrescu via Digitalmars-d napsal(a): > > >> On 11/22/2016 11:28 AM, Ilya Yaroshenko wrote: >>> >>> They are always software >>>

Re: !!!Please add intrinsics module for DMD DRuntime!!!

2016-11-22 Thread Iain Buclaw via Digitalmars-d
On 22 November 2016 at 18:07, Ilya Yaroshenko via Digitalmars-d wrote: > On Tuesday, 22 November 2016 at 16:52:40 UTC, Johan Engelen wrote: >> >> On Tuesday, 22 November 2016 at 16:36:13 UTC, Andrei Alexandrescu wrote: >>> >>> On 11/22/2016 11:28 AM, Ilya Yaroshenko

Re: gdc in Linux distros recommended?

2016-10-19 Thread Iain Buclaw via Digitalmars-d
On 19 October 2016 at 21:25, TheGag96 via Digitalmars-d wrote: > On Wednesday, 19 October 2016 at 03:29:10 UTC, Marco Leise wrote: >> >> On the other hand LDC subjectively offers a couple more D specific >> enhancements, like turning GC allocations into stack

Re: gdc in Linux distros recommended?

2016-10-19 Thread Iain Buclaw via Digitalmars-d
On 19 October 2016 at 18:01, Nick Sabalausky via Digitalmars-d wrote: > On 10/18/2016 07:02 PM, Ali Çehreli wrote: >> >> I have a friend who has started writing a library in D. >> >> Although I recommended that he should use a recent dmd or ldc, he thinks >> gdc is a

Re: Stylish and dlang,org

2016-10-08 Thread Iain Buclaw via Digitalmars-d
On 8 October 2016 at 10:03, Russel Winder via Digitalmars-d wrote: > jmiller did a dark dlang.or Stylish style in 2012. It is now moderately > (!) out of date. Anyone know if jmiller is around to update it, or if > that is not possible someone who knows Stylish styles

Re: std.math API rework

2016-10-06 Thread Iain Buclaw via Digitalmars-d
On 6 October 2016 at 22:55, Ilya Yaroshenko via Digitalmars-d wrote: > On Thursday, 6 October 2016 at 20:45:24 UTC, Iain Buclaw wrote: >> >> On 6 October 2016 at 22:31, Ilya Yaroshenko via Digitalmars-d >> wrote: >>> >>> On Thursday, 6

Re: std.math API rework

2016-10-06 Thread Iain Buclaw via Digitalmars-d
On 6 October 2016 at 22:31, Ilya Yaroshenko via Digitalmars-d wrote: > On Thursday, 6 October 2016 at 20:07:19 UTC, Iain Buclaw wrote: >> >> On 6 October 2016 at 18:53, Ilya Yaroshenko via Digitalmars-d >> wrote: >>> >>> [...] >> >> >> If

Re: std.math API rework

2016-10-06 Thread Iain Buclaw via Digitalmars-d
On 6 October 2016 at 18:53, Ilya Yaroshenko via Digitalmars-d wrote: > Effective work with std.experimental.ndslice and and mir.ndslice.array > requires half of std.math be an exactly aliases to LLVM intrinsics (for > LDC). > > To enable vectorization for

Re: LDC, GDC command line args

2016-09-30 Thread Iain Buclaw via Digitalmars-d
On 30 September 2016 at 14:16, Manu via Digitalmars-d wrote: > I've been googling for a comprehensive list of LDC and GDC command > line args for ages. I can't find one. > > I have had to download and install both compilers just to run the --help. > > Can these

Re: The removal of inactive forum groups

2016-09-21 Thread Iain Buclaw via Digitalmars-d
On 21 September 2016 at 21:43, Dennis Ritchie via Digitalmars-d wrote: > I also want to add that GDC's forum has turned into some kind of bugtracker > :D > We must somehow share it, for example, at GDC General and GDC Bugtracker. Good thing that when people usually

Re: Why D is not popular enough?

2016-08-20 Thread Iain Buclaw via Digitalmars-d
On 19 August 2016 at 00:50, John Smith via Digitalmars-d wrote: > Well there are some things I feel could be improved, a lot of the things are > really just minor but what is a deal breaker for me mostly is the compilers. > The GCC and Clang implementations are really

Re: Why don't we switch to C like floating pointed arithmetic instead of automatic expansion to reals?

2016-08-07 Thread Iain Buclaw via Digitalmars-d
On 6 August 2016 at 22:12, David Nadlinger via Digitalmars-d wrote: > On Saturday, 6 August 2016 at 10:02:25 UTC, Iain Buclaw wrote: >> >> No pragmas tied to a specific architecture should be allowed in the >> language spec, please. > > > I wholeheartedly agree.

Re: Why don't we switch to C like floating pointed arithmetic instead of automatic expansion to reals?

2016-08-06 Thread Iain Buclaw via Digitalmars-d
On 6 August 2016 at 16:11, Patrick Schluter via Digitalmars-d wrote: > On Saturday, 6 August 2016 at 10:02:25 UTC, Iain Buclaw wrote: >> >> On 6 August 2016 at 11:48, Ilya Yaroshenko via Digitalmars-d >> wrote: >>> >>> On Saturday, 6

Re: Why don't we switch to C like floating pointed arithmetic instead of automatic expansion to reals?

2016-08-06 Thread Iain Buclaw via Digitalmars-d
On 6 August 2016 at 13:30, Ilya Yaroshenko via Digitalmars-d wrote: > On Saturday, 6 August 2016 at 11:10:18 UTC, Iain Buclaw wrote: >> >> On 6 August 2016 at 12:07, Ilya Yaroshenko via Digitalmars-d >> wrote: >>> >>> On Saturday, 6

Re: Why don't we switch to C like floating pointed arithmetic instead of automatic expansion to reals?

2016-08-06 Thread Iain Buclaw via Digitalmars-d
On 6 August 2016 at 12:07, Ilya Yaroshenko via Digitalmars-d wrote: > On Saturday, 6 August 2016 at 10:02:25 UTC, Iain Buclaw wrote: >> >> On 6 August 2016 at 11:48, Ilya Yaroshenko via Digitalmars-d >> wrote: >>> >>> On Saturday, 6

Re: Why don't we switch to C like floating pointed arithmetic instead of automatic expansion to reals?

2016-08-06 Thread Iain Buclaw via Digitalmars-d
On 6 August 2016 at 11:48, Ilya Yaroshenko via Digitalmars-d wrote: > On Saturday, 6 August 2016 at 09:35:32 UTC, Walter Bright wrote: >> >> On 8/6/2016 1:21 AM, Ilya Yaroshenko wrote: >>> >>> We need 2 new pragmas with the same syntax as `pragma(inline, xxx)`: >>>

Re: Why don't we switch to C like floating pointed arithmetic instead of automatic expansion to reals?

2016-08-06 Thread Iain Buclaw via Digitalmars-d
On 4 August 2016 at 23:38, Seb via Digitalmars-d wrote: > On Thursday, 4 August 2016 at 21:13:23 UTC, Iain Buclaw wrote: >> >> On 4 August 2016 at 01:00, Seb via Digitalmars-d >> wrote: >>> >>> To make matters worse std.math yields

Re: LDC 1.1.0-beta2 has been released!

2016-08-05 Thread Iain Buclaw via Digitalmars-d-announce
On 5 August 2016 at 11:36, Temtaime via Digitalmars-d-announce wrote: > On Friday, 5 August 2016 at 06:13:54 UTC, Rory McGuire wrote: >> >> On Fri, Aug 5, 2016 at 3:28 AM, Emre Temelkuran via Digitalmars-d-announce >> < digitalmars-d-announce@puremagic.com>

Re: Why don't we switch to C like floating pointed arithmetic instead of automatic expansion to reals?

2016-08-04 Thread Iain Buclaw via Digitalmars-d
On 4 August 2016 at 01:00, Seb via Digitalmars-d wrote: > > Consider the following program, it fails on 32-bit :/ > It would be nice if explicit casts were honoured by CTFE here. toDouble(a + b) just seems to be avoiding the why CTFE ignores the cast in

Referencing chapters from the language specification in code.

2016-07-24 Thread Iain Buclaw via Digitalmars-d
Hi, I have my own conclusions with doing the following, but I'd thought I'd ask for a second opinion before committing. Given the freely available language specification linked below [1]. The order that all entries are listed in haven't changed since D1, or at least to my memory. So would it be

Re: Terminix Stable 1.2.0 Released

2016-07-23 Thread Iain Buclaw via Digitalmars-d-announce
On 23 July 2016 at 16:24, Matthias Klumpp via Digitalmars-d-announce wrote: > > 3) Making LDC available for more architectures, or making GDC support a > higher version of the Phobos standard library and build shared libraries. > At time, LDC is the better

Re: Evaluation order of "+="

2016-07-12 Thread Iain Buclaw via Digitalmars-d
On 13 July 2016 at 07:20, Timon Gehr via Digitalmars-d wrote: > On 12.07.2016 19:20, Andrei Alexandrescu wrote: >> >> On 7/12/16 5:15 AM, Johan Engelen wrote: >>> >>> On Tuesday, 12 July 2016 at 07:57:37 UTC, Johan Engelen wrote: On Tuesday, 12 July 2016 at

Re: Slice expressions - exact evaluation order, dollar

2016-07-12 Thread Iain Buclaw via Digitalmars-d
On 27 June 2016 at 04:38, Timon Gehr via Digitalmars-d <digitalmars-d@puremagic.com> wrote: > On 26.06.2016 20:08, Iain Buclaw via Digitalmars-d wrote: >> >> On 26 June 2016 at 14:33, Timon Gehr via Digitalmars-d >> <digitalmars-d@puremagic.com> wrote: >>>

Re: Evaluation order of "+="

2016-07-12 Thread Iain Buclaw via Digitalmars-d
On 12 July 2016 at 01:04, Johan Engelen via Digitalmars-d wrote: > LDC recently changed the evaluation order of "+=" (I think unintentionally, > some other eval order problems were fixed). Now, it is different from DMD. > I am going to argue that I think DMD's order

Re: Slice expressions - exact evaluation order, dollar

2016-06-26 Thread Iain Buclaw via Digitalmars-d
On 26 June 2016 at 14:33, Timon Gehr via Digitalmars-d <digitalmars-d@puremagic.com> wrote: > On 26.06.2016 10:08, Iain Buclaw via Digitalmars-d wrote: >> >> Old codegen: >> >> _base = *(getBase()); >> _lwr = getLowerBound(_base.length); >> _upr = getUp

Re: Slice expressions - exact evaluation order, dollar

2016-06-26 Thread Iain Buclaw via Digitalmars-d
On 26 June 2016 at 09:36, Iain Buclaw wrote: > On 26 June 2016 at 03:30, Timon Gehr via Digitalmars-d > wrote: > > On 17.06.2016 21:59, kinke wrote: > >> > >> > >> Most interesting IMO though is the question when the slicee's pointer is > >>

Re: Slice expressions - exact evaluation order, dollar

2016-06-26 Thread Iain Buclaw via Digitalmars-d
On 26 June 2016 at 03:30, Timon Gehr via Digitalmars-d wrote: > On 17.06.2016 21:59, kinke wrote: >> >> >> Most interesting IMO though is the question when the slicee's pointer is >> to be loaded. This is only relevant if the base is an lvalue and may >> therefore be

Re: Free the DMD backend

2016-06-03 Thread Iain Buclaw via Digitalmars-d
On Friday, 3 June 2016 at 03:17:56 UTC, Eugene Wissner wrote: On Thursday, 2 June 2016 at 18:16:33 UTC, Basile B. wrote: It's also that LDC is at front end 2.070 and GDC 2.067 ;););) GDC is actively maintained and it would have the latest features if more developers come, what would happen

Re: Copyright for Phobos to D Foundation

2016-05-29 Thread Iain Buclaw via Digitalmars-d
On Sunday, 29 May 2016 at 10:59:57 UTC, rikki cattermole wrote: Uninstall dmd and have ldc installed. Until the maintainers fix their problem with not sharing or upstreaming bug fixes and contributions. Then I would not make such endorsements.

Re: Copyright for Phobos to D Foundation

2016-05-29 Thread Iain Buclaw via Digitalmars-d
On Sunday, 29 May 2016 at 10:54:34 UTC, Russel Winder wrote: On Sat, 2016-05-28 at 17:50 +, Seb via Digitalmars-d wrote: One thing that confused me a lot in the beginning, is that every Phobos module has it's own copyright - I am not a lawyer, but it sounded for me pretty weird that in

Re: More compilers at asm.dlang.org

2016-05-25 Thread Iain Buclaw via Digitalmars-d
On 25 May 2016 at 13:30, Johan Engelen via Digitalmars-d wrote: > On Wednesday, 25 May 2016 at 10:59:32 UTC, Iain Buclaw wrote: >> >> >> For the time being, they can't all co-exist. DMD being the special case >> who doesn't compile to assembly. > > > Well..., GDC and

Re: More compilers at asm.dlang.org

2016-05-25 Thread Iain Buclaw via Digitalmars-d
On 25 May 2016 at 13:10, Seb via Digitalmars-d wrote: > On Wednesday, 25 May 2016 at 10:59:32 UTC, Iain Buclaw wrote: >> >> On 25 May 2016 at 12:51, Johan Engelen via Digitalmars-d >> wrote: >>> >>> What needs to be done to make LDC and

Re: More compilers at asm.dlang.org

2016-05-25 Thread Iain Buclaw via Digitalmars-d
On 25 May 2016 at 12:51, Johan Engelen via Digitalmars-d wrote: > What needs to be done to make LDC and GDC available on asm.dlang.org? > > Thanks, > Johan > For the time being, they can't all co-exist. DMD being the special case who doesn't compile to assembly.

Re: amoeba, a chess engine written in D

2016-05-21 Thread Iain Buclaw via Digitalmars-d-announce
On 21 May 2016 at 10:23, Johan Engelen via Digitalmars-d-announce wrote: > 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

Re: union alignment

2016-05-21 Thread Iain Buclaw via Digitalmars-d-learn
On Wednesday, 18 May 2016 at 01:46:37 UTC, tsbockman wrote: Shouldn't a union type always have an `alignof` at least as great as the `alignof` for its largest member? On x86, there's a difference between the type alignment and the field alignment. The type align of ulong and double are 8

Re: Always false float comparisons

2016-05-18 Thread Iain Buclaw via Digitalmars-d
On 18 May 2016 at 07:49, Ola Fosheim Grøstad via Digitalmars-d wrote: > On Wednesday, 18 May 2016 at 03:01:14 UTC, Joakim wrote: >> >> There is nothing "random" about increasing precision till the end, it >> follows a well-defined rule. > > > Can you please quote that

Re: Always false float comparisons

2016-05-16 Thread Iain Buclaw via Digitalmars-d
On 16 May 2016 at 18:31, Timon Gehr via Digitalmars-d wrote: > On 16.05.2016 17:11, Daniel Murphy wrote: >> >> On 16/05/2016 10:37 PM, Walter Bright wrote: >>> >>> Some counter points: >>> >>> 1. Go uses 256 bit soft float for constant folding. >>> >> >> Then we

Re: Always false float comparisons

2016-05-16 Thread Iain Buclaw via Digitalmars-d
On 16 May 2016 at 10:52, Ola Fosheim Grøstad via Digitalmars-d wrote: > On Monday, 16 May 2016 at 08:47:03 UTC, Iain Buclaw wrote: >> >> But you *didn't* request coercion to 32 bit floats. Otherwise you would >> have used 1.30f. > > > const float f = 1.3f; >

Re: Always false float comparisons

2016-05-16 Thread Iain Buclaw via Digitalmars-d
On 16 May 2016 at 10:25, Ola Fosheim Grøstad via Digitalmars-d wrote: > On Monday, 16 May 2016 at 07:54:32 UTC, Iain Buclaw wrote: >> >> On 16 May 2016 at 09:22, Ola Fosheim Grøstad via Digitalmars-d >> wrote: >>> >>> On Monday, 16 May

Re: Always false float comparisons

2016-05-16 Thread Iain Buclaw via Digitalmars-d
On 16 May 2016 at 09:22, Ola Fosheim Grøstad via Digitalmars-d wrote: > On Monday, 16 May 2016 at 06:34:04 UTC, Iain Buclaw wrote: >> >> This says more about promoting float operations to double than anything >> else, and has nothing to do with CTFE. > > > No,

Re: Always false float comparisons

2016-05-16 Thread Iain Buclaw via Digitalmars-d
On 16 May 2016 at 09:06, Ola Fosheim Grøstad via Digitalmars-d wrote: > On Monday, 16 May 2016 at 06:48:19 UTC, Iain Buclaw wrote: >> >> I can't think of a case of the top of my head where too much precision >> caused a surprise. It's always when there is too little:

Re: Always false float comparisons

2016-05-16 Thread Iain Buclaw via Digitalmars-d
On 16 May 2016 at 06:02, Manu via Digitalmars-d wrote: > > I'm not interested in C/C++, I gave some anecdotes where it's gone > wrong for me too, but regardless; generally, they do match, and I > can't think of a single modern example where that's not true. If you >

Re: Always false float comparisons

2016-05-16 Thread Iain Buclaw via Digitalmars-d
On 16 May 2016 at 08:00, Ola Fosheim Grøstad via Digitalmars-d wrote: > On Sunday, 15 May 2016 at 22:49:27 UTC, Walter Bright wrote: >> >> On 5/15/2016 2:06 PM, Ola Fosheim Grøstad wrote: >>> >>> The net result is that adding const/immutable to a type can change the

Re: Always false float comparisons

2016-05-16 Thread Iain Buclaw via Digitalmars-d
On 16 May 2016 at 06:06, Manu via Digitalmars-d wrote: > On 16 May 2016 at 14:05, Manu wrote: >> On 16 May 2016 at 13:03, Walter Bright via Digitalmars-d >> wrote: >>> On 5/15/2016 7:01 PM, Manu via Digitalmars-d

Re: Github names & avatars

2016-05-14 Thread Iain Buclaw via Digitalmars-d
On 13 May 2016 at 19:18, Steven Schveighoffer via Digitalmars-d wrote: > On 5/13/16 1:02 PM, Walter Bright wrote: >> >> I'll ask again that the active Github users use their own name, and add >> to that if you could have a selfie as your github image. > > > Sorry,

Re: Always false float comparisons

2016-05-13 Thread Iain Buclaw via Digitalmars-d
On 13 May 2016 at 07:12, Manu via Digitalmars-d wrote: > On 13 May 2016 at 11:03, Walter Bright via Digitalmars-d > wrote: >> On 5/12/2016 4:32 PM, Marco Leise wrote: >>> >>> - Unless CTFE uses soft-float implementation, depending on >>>

Re: How are you enjoying DConf? And where to go next?

2016-05-09 Thread Iain Buclaw via Digitalmars-d
On 9 May 2016 at 17:32, wobbles via Digitalmars-d wrote: > On Monday, 9 May 2016 at 15:12:25 UTC, krzaq wrote: >> >> On Monday, 9 May 2016 at 09:58:32 UTC, Mark Isaacson wrote: >>> >>> Full recognition that there was way less demand for another US DConf... >>> so

Re: Quotes from DConf 2016

2016-05-08 Thread Iain Buclaw via Digitalmars-d
On 8 May 2016 at 04:25, Joakim via Digitalmars-d wrote: > "CTFE is really a hack. You can see that it's a hack, it's implemented as a > hack. It is the most useful hack that I've ever seen, and it is definitely > a hacker's tool to do stuff that are like magic. But

Adventures in D Programming

2016-05-08 Thread Iain Buclaw via Digitalmars-d-announce
I was paged about a blog post from an old friend who floats around the circles in the Debian camp. The author, Matthias, should be no stranger around these forums, though I was surprised to discover that I know him on OFTC too (I wonder if he knows this also). For those who have been

Re: D Conference - use twitter #dconf to keep up to date

2016-05-03 Thread Iain Buclaw via Digitalmars-d-announce
On 3 May 2016 at 05:10, Walter Bright via Digitalmars-d-announce wrote: > Jet lagged as I am, I'll be at breakfast at Hotel Ibis at 630am. Come and > join me! Speaking of which, is anyone around this evening? I may pop down to say hello and have a drink.

Re: Walter's Famous German Language Essentials Guide

2016-05-03 Thread Iain Buclaw via Digitalmars-d
On 3 May 2016 at 05:15, Walter Bright via Digitalmars-d <digitalmars-d@puremagic.com> wrote: > On 5/2/2016 12:09 PM, Iain Buclaw via Digitalmars-d wrote: >> >> For every rule, there are 101 exceptions. :-) >> >> >> http://shirah-goes-again.blogspot.de/2011

Re: My favourite game: DMD guess the error reason.

2016-05-02 Thread Iain Buclaw via Digitalmars-d
On Monday, 2 May 2016 at 19:14:59 UTC, Steven Schveighoffer wrote: On 5/2/16 2:25 PM, Iain Buclaw wrote: On Monday, 2 May 2016 at 16:24:40 UTC, Steven Schveighoffer wrote: On 5/2/16 3:13 AM, Iain Buclaw wrote: [2]: The ptrdiff_t and size_t types have a different size. Wow, it would be a

Re: Walter's Famous German Language Essentials Guide

2016-05-02 Thread Iain Buclaw via Digitalmars-d
On 2 May 2016 at 14:55, Russel Winder via Digitalmars-d wrote: > On Mon, 2016-05-02 at 12:18 +, Claude via Digitalmars-d wrote: > […] >> >> In french, there are 2 specials cases about gender. "orgue" >> (organ) and "amour" (love) are masculine on singular, and >>

Re: My favourite game: DMD guess the error reason.

2016-05-02 Thread Iain Buclaw via Digitalmars-d
On Monday, 2 May 2016 at 16:24:40 UTC, Steven Schveighoffer wrote: On 5/2/16 3:13 AM, Iain Buclaw wrote: [2]: The ptrdiff_t and size_t types have a different size. Wow, it would be a copy-paste error of some sort? An interesting possibility. But I'm going to say no, I don't see how this

Re: My favourite game: DMD guess the error reason.

2016-05-02 Thread Iain Buclaw via Digitalmars-d
On Monday, 2 May 2016 at 16:24:40 UTC, Steven Schveighoffer wrote: On 5/2/16 3:13 AM, Iain Buclaw wrote: [5]: The template function core.varargs.va_arg does not exist. haha! You may laugh, but while almost all of these answers listed are complete fantasy, a few listed did finally surface

Re: My favourite game: DMD guess the error reason.

2016-05-02 Thread Iain Buclaw via Digitalmars-d
On Monday, 2 May 2016 at 13:17:13 UTC, Marco Leise wrote: I don't have an ARMv8 or emulator to test on, so I'll take a wild guess. Is the answer 1,2,3,4,5,6,7,8,9 ? You are not far off from being totally utterly wrong. :-)

My favourite game: DMD guess the error reason.

2016-05-02 Thread Iain Buclaw via Digitalmars-d
Here's a small puzzle, in which there are both a simple and cryptic combined. To make it easier, I've added a some multiple choice answers at the bottom. Winner of the simple puzzle gets a free beer from me at dconf. Winner of the cryptic puzzle gets a free meal. Q: What is the explanation

Re: Walter's Famous German Language Essentials Guide

2016-04-28 Thread Iain Buclaw via Digitalmars-d
On 27 April 2016 at 04:57, Walter Bright via Digitalmars-d wrote: > To prepare for a week in Berlin, a few German phrases is all you'll need to > fit in, get around, and have a great time: > > 1. Ein Bier bitte! > 2. Noch ein Bier bitte! > 3. Wo ist der WC! 4. Zahlen

Re: Walter's Famous German Language Essentials Guide

2016-04-28 Thread Iain Buclaw via Digitalmars-d
On 27 April 2016 at 13:25, Marco Leise via Digitalmars-d wrote: > Am Wed, 27 Apr 2016 03:59:04 + > schrieb Seb : > >> nitpick: Wo ist _das_ WC? >> In German WC we have definite articles and as a WC can be used by >> both sexes, it is neutral

Re: Proposed: start DConf days one hour later

2016-04-28 Thread Iain Buclaw via Digitalmars-d-announce
On 28 April 2016 at 07:10, Mithun Hunsur via Digitalmars-d-announce wrote: > On Thursday, 28 April 2016 at 04:47:38 UTC, Rory McGuire wrote: >> >> On 28 Apr 2016 6:30 AM, "Mithun Hunsur via Digitalmars-d-announce" < >> digitalmars-d-announce@puremagic.com>

Re: Directions to Ibis Hotel in Berlin from Tegel Airport

2016-04-25 Thread Iain Buclaw via Digitalmars-d
On 25 April 2016 at 20:37, Chris via Digitalmars-d wrote: > On Monday, 25 April 2016 at 17:54:24 UTC, Jens Mueller wrote: >> >> Mike Parker via Digitalmars-d wrote: >>> >>> On Monday, 25 April 2016 at 08:43:34 UTC, Jens Mueller wrote: >>> > >>> >More questions? >>> >

Re: Checking if an Integer is an Exact Binary Power

2016-04-25 Thread Iain Buclaw via Digitalmars-d
On 25 April 2016 at 18:48, Lass Safin via Digitalmars-d wrote: > On Saturday, 23 April 2016 at 21:04:52 UTC, Nordlöw wrote: >> >> On Saturday, 23 April 2016 at 20:42:25 UTC, Lass Safin wrote: >>> >>> CPUID: https://en.wikipedia.org/wiki/CPUID. >>> You can check for

Re: Directions to Ibis Hotel in Berlin from Tegel Airport

2016-04-25 Thread Iain Buclaw via Digitalmars-d
On 25 April 2016 at 15:51, Jonathan M Davis via Digitalmars-d <digitalmars-d@puremagic.com> wrote: > On Monday, April 25, 2016 11:16:11 Iain Buclaw via Digitalmars-d wrote: >> Germany is a cash-in-hand country. Credit cards are rejected in most >> places that I've tried.

Re: Directions to Ibis Hotel in Berlin from Tegel Airport

2016-04-25 Thread Iain Buclaw via Digitalmars-d
On 25 April 2016 at 15:27, Dicebot via Digitalmars-d <digitalmars-d@puremagic.com> wrote: > On 04/25/2016 12:15 PM, Iain Buclaw via Digitalmars-d wrote: >> You don't need to validate your ticket if you pay for it on the bus. >> Only if you get it from a ticket machine or t

Re: Directions to Ibis Hotel in Berlin from Tegel Airport

2016-04-25 Thread Iain Buclaw via Digitalmars-d
On 24 April 2016 at 23:40, Walter Bright via Digitalmars-d <digitalmars-d@puremagic.com> wrote: > On 4/24/2016 10:56 AM, Iain Buclaw via Digitalmars-d wrote: >> >> On 24 April 2016 at 10:44, Walter Bright via Digitalmars-d >> <digitalmars-d@puremagic.com> wrot

Re: Directions to Ibis Hotel in Berlin from Tegel Airport

2016-04-25 Thread Iain Buclaw via Digitalmars-d
On 25 April 2016 at 10:43, Jens Mueller via Digitalmars-d <digitalmars-d@puremagic.com> wrote: > Walter Bright via Digitalmars-d wrote: >> On 4/24/2016 10:56 AM, Iain Buclaw via Digitalmars-d wrote: >> >On 24 April 2016 at 10:44, Walter Bright via Digitalmars-d >>

Re: Directions to Ibis Hotel in Berlin from Tegel Airport

2016-04-24 Thread Iain Buclaw via Digitalmars-d
On 24 April 2016 at 10:44, Walter Bright via Digitalmars-d wrote: > The hotel emailed them to me, I presume they know what they're doing :-) so > I thought I'd share: > > Bus 109 to Jakob-Kaiser-Platz > Subway U 7 in the direction of Rudow to Grenzallee > Cross the

Re: Distributor's whishlist and questions for D

2016-04-24 Thread Iain Buclaw via Digitalmars-d
On 23 April 2016 at 21:35, Jacob Carlborg via Digitalmars-d wrote: > On 2016-04-21 03:01, Matthias Klumpp wrote: > >> ## How complete are the free compilers? >> This is an important question, because we would need to know whether we >> can expect D code to be compiled

Re: Checking if an Integer is an Exact Binary Power

2016-04-24 Thread Iain Buclaw via Digitalmars-d
On 23 April 2016 at 15:56, Andrei Alexandrescu via Digitalmars-d wrote: > On 4/23/16 9:54 AM, Andrei Alexandrescu wrote: >> >> On 4/23/16 9:06 AM, Vladimir Panteleev wrote: >>> >>> On Saturday, 23 April 2016 at 13:04:00 UTC, Nordlöw wrote: Wanted: CT-trait

Re: The day before DConf 2016

2016-04-16 Thread Iain Buclaw via Digitalmars-d
On 14 April 2016 at 21:29, Nordlöw via Digitalmars-d wrote: > On Thursday, 7 April 2016 at 18:13:16 UTC, Mike Parker wrote: >> >> I'm flying in to Berlin late on May 2nd. I'll be staying at the Hotel >> Ibis, slated to be the "unofficial hangout place" according to

Re: Any usable SIMD implementation?

2016-04-14 Thread Iain Buclaw via Digitalmars-d
On 13 April 2016 at 13:14, Walter Bright via Digitalmars-d wrote: > On 4/13/2016 3:58 AM, Marco Leise wrote: >> >> How about this style as an alternative?: >> >> immutable bool mmx; >> immutable bool hasPopcnt; >> >> shared static this() >> { >> import

Re: Any usable SIMD implementation?

2016-04-13 Thread Iain Buclaw via Digitalmars-d
On 13 April 2016 at 11:13, Marco Leise via Digitalmars-d <digitalmars-d@puremagic.com> wrote: > Am Wed, 13 Apr 2016 09:51:25 +0200 > schrieb Iain Buclaw via Digitalmars-d > <digitalmars-d@puremagic.com>: > >> On 13 April 2016 at 07:59, Walter Bright via D

Re: Any usable SIMD implementation?

2016-04-13 Thread Iain Buclaw via Digitalmars-d
On 13 April 2016 at 08:22, Walter Bright via Digitalmars-d wrote: > On 4/12/2016 4:29 PM, Marco Leise wrote: >> In practice GDC will just replace the invokation with a single >> 'mul' instruction while DMD will emit a call to this 18 >> instructions long function. Now

Re: Any usable SIMD implementation?

2016-04-13 Thread Iain Buclaw via Digitalmars-d
On 13 April 2016 at 07:59, Walter Bright via Digitalmars-d <digitalmars-d@puremagic.com> wrote: > On 4/12/2016 4:35 PM, Iain Buclaw via Digitalmars-d wrote: >> - What dialect am I writing in? (Do I emit mul or mull? eax or %eax?) >> - Some opcodes in IASM have a different

Re: Any usable SIMD implementation?

2016-04-12 Thread Iain Buclaw via Digitalmars-d
On 12 April 2016 at 22:22, Walter Bright via Digitalmars-d wrote: > On 4/12/2016 9:53 AM, Marco Leise wrote: >> Your look on GCC (and LLVM) may be a bit biased. First of all >> you don't need to tell it exactly which registers to use. A >> rough classification is

Re: The day before DConf 2016

2016-04-11 Thread Iain Buclaw via Digitalmars-d
On 10 Apr 2016 11:22 pm, "Andrej Mitrovic via Digitalmars-d" < digitalmars-d@puremagic.com> wrote: > > PSA: Just remember you have to stamp your cards before boarding > (unless it's a monthly ticket). > > When I was new in Berlin I even ended up once stamping a monthly > ticket, which was a

Re: The day before DConf 2016

2016-04-09 Thread Iain Buclaw via Digitalmars-d
On 8 Apr 2016 2:25 pm, "Mithun Hunsur via Digitalmars-d" < digitalmars-d@puremagic.com> wrote: > > On Friday, 8 April 2016 at 00:40:11 UTC, Mike Parker wrote: >> >> Alrighty, then. Plenty of people around so I'm confident I won't be lonely. I suppose I'll get a little bit of sightseeing in during

Re: Any usable SIMD implementation?

2016-04-03 Thread Iain Buclaw via Digitalmars-d
On 3 Apr 2016 8:15 am, "9il via Digitalmars-d" wrote: > > On Thursday, 31 March 2016 at 08:23:45 UTC, Martin Nowak wrote: >> >> I'm currently working on a templated arrayop implementation (using RPN >> to encode ASTs). >> So far things worked out great, but now I got

Re: Any usable SIMD implementation?

2016-04-02 Thread Iain Buclaw via Digitalmars-d
On 2 Apr 2016 9:45 am, "Martin Nowak via Digitalmars-d" < digitalmars-d@puremagic.com> wrote: > > On Saturday, 2 April 2016 at 06:13:24 UTC, Iain Buclaw wrote: >> >> I would just let the compiler optimize / vectorize the operation, but then again that it is probably just me who thinks these

Re: Any usable SIMD implementation?

2016-04-02 Thread Iain Buclaw via Digitalmars-d
On 2 Apr 2016 12:40 am, "Martin Nowak via Digitalmars-d" < digitalmars-d@puremagic.com> wrote: > > On 03/31/2016 10:55 AM, ZombineDev wrote: > > [2]: https://github.com/D-Programming-Language/phobos/pull/2862 > > Well apparently stores w/ dmd's weird core.simd interface don't work, or > I can't

Re: debugger blues

2016-03-29 Thread Iain Buclaw via Digitalmars-d
On 28 March 2016 at 21:29, cy via Digitalmars-d wrote: > On Sunday, 27 March 2016 at 15:40:47 UTC, Marco Leise wrote: > >> Is it just me? I've never heard of a programming environment, let alone a >> system programming language providing that information. >> > >

Re: Why is separating class ind struct is bad?

2016-03-26 Thread Iain Buclaw via Digitalmars-d
On 26 Mar 2016 9:05 am, "Dicebot via Digitalmars-d" < digitalmars-d@puremagic.com> wrote: > > On Saturday, 26 March 2016 at 07:42:43 UTC, Jonathan M Davis wrote: >> >> So, while the separation between structs and classes definitely good for D code in general > > > I disagree with this statement.

Re: debugger blues

2016-03-25 Thread Iain Buclaw via Digitalmars-d
On 25 Mar 2016 7:00 am, "cy via Digitalmars-d" wrote: > > I've been working for 3 days straight on this: the monumental task of taking these text files and turning them into HTML. Or should I say, FML, because FML. Why is this so hard? > > My code is peppered with

<    1   2   3   4   5   6   7   8   9   10   >