Re: Cross compiler for embedded microcontrollers ?

2015-01-15 Thread Iain Buclaw via Digitalmars-d
On 15 January 2015 at 16:49, Jens Bauer via Digitalmars-d digitalmars-d@puremagic.com wrote: It seems I've found it... http://wiki.dlang.org/Bare_Metal_ARM_Cortex-M_GDC_Cross_Compiler -It also seems I have to use gcc-4.9, as the gcc-4.8 branch does not seem to exist in the git repository ?

Re: Binutils 2.25 Released - New D demangling support

2015-01-14 Thread Iain Buclaw via Digitalmars-d-announce
On 14 January 2015 at 07:30, Jacob Carlborg via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: On 2015-01-13 22:31, Iain Buclaw wrote: Hi, I'm not sure when it was announced, but binutils 2.25 has been released! There's a small reason for excitement as it is the first to

Re: This Week in D, issue 1

2015-01-14 Thread Iain Buclaw via Digitalmars-d-announce
On 14 January 2015 at 09:53, ponce via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: On Tuesday, 13 January 2015 at 14:08:58 UTC, Adam D. Ruppe wrote: I've started writing a weekly D newsletter. Here's the first issue, any feedback welcome!

Re: DConf 2015 Call for Submissions is now open

2015-01-13 Thread Iain Buclaw via Digitalmars-d-announce
On 13 January 2015 at 10:51, Joakim via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: On Tuesday, 13 January 2015 at 07:30:22 UTC, Brad Anderson wrote: On Tuesday, 13 January 2015 at 00:22:33 UTC, Mike wrote: I have a suggestion for any compiler implementers: How about a

Re: CTFE pow()

2015-01-13 Thread Iain Buclaw via Digitalmars-d
On 12 January 2015 at 23:28, Manu via Digitalmars-d digitalmars-d@puremagic.com wrote: Awesome. Really looking forward to this! :) On 13 January 2015 at 03:12, Iain Buclaw via Digitalmars-d digitalmars-d@puremagic.com wrote: On 2 January 2015 at 14:19, Iain Buclaw ibuc...@gdcproject.org wrote

Re: Binutils 2.25 Released - New D demangling support

2015-01-13 Thread Iain Buclaw via Digitalmars-d-announce
On 13 January 2015 at 22:07, Paul O'Neil via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: This looks great! Does this mean anything with respect to getting better demangling in GDB? This was first written for GDB (announced at DConf 2014) but without the template

Binutils 2.25 Released - New D demangling support

2015-01-13 Thread Iain Buclaw via Digitalmars-d-announce
Hi, I'm not sure when it was announced, but binutils 2.25 has been released! There's a small reason for excitement as it is the first to come with D demangling support in the GNU toolchain. Unfortunately, I forgot to send in patches that actually document it! So for the moment, it's a

Re: Binutils 2.25 Released - New D demangling support

2015-01-13 Thread Iain Buclaw via Digitalmars-d-announce
On 13 January 2015 at 21:39, Kiith-Sa via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: On Tuesday, 13 January 2015 at 21:31:15 UTC, Iain Buclaw wrote: Hi, I'm not sure when it was announced, but binutils 2.25 has been released! There's a small reason for excitement as

Re: Writing a small linux binary

2015-01-12 Thread Iain Buclaw via Digitalmars-d
On 12 January 2015 at 08:46, Mike via Digitalmars-d digitalmars-d@puremagic.com wrote: On Monday, 12 January 2015 at 05:59:36 UTC, NVolcz wrote: Can this be done in D? How easy is it? What about the runtime?

Re: Why exceptions for error handling is so important

2015-01-12 Thread Iain Buclaw via Digitalmars-d
On 11 January 2015 at 10:48, Walter Bright via Digitalmars-d digitalmars-d@puremagic.com wrote: Over the last few days, I have been getting weird errors from various programs I run on Windows 7. Programs would just fail, or produce corrupt output (I'm looking at you, Windows Moviemaker). I

Re: CTFE pow()

2015-01-12 Thread Iain Buclaw via Digitalmars-d
On 2 January 2015 at 14:19, Iain Buclaw ibuc...@gdcproject.org wrote: On 1 January 2015 at 18:40, H. S. Teoh via Digitalmars-d digitalmars-d@puremagic.com wrote: On Fri, Jan 02, 2015 at 02:56:16AM +1000, Manu via Digitalmars-d wrote: Does anyone know how to fix this? Can we please do so? It's

Re: An idea for commercial support for D

2015-01-11 Thread Iain Buclaw via Digitalmars-d
On 11 January 2015 at 16:23, Joakim via Digitalmars-d digitalmars-d@puremagic.com wrote: On Sunday, 11 January 2015 at 16:13:01 UTC, Dicebot wrote: There are very few monopolies in software, essentially none nowadays. :D :D :D :D :D I have not laughed so hard for quite a while. Modern IT

Re: DConf 2015 Call for Submissions is now open

2015-01-11 Thread Iain Buclaw via Digitalmars-d-announce
On 10 January 2015 at 20:15, Walter Bright via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: On 1/10/2015 9:50 AM, Andrei Alexandrescu wrote: On 1/10/15 9:49 AM, Andrei Alexandrescu wrote: On 1/10/15 8:15 AM, Iain Buclaw via Digitalmars-d-announce wrote: In any event

Re: 4x4

2015-01-10 Thread Iain Buclaw via Digitalmars-d
On 8 January 2015 at 21:16, Andrei Alexandrescu via Digitalmars-d digitalmars-d@puremagic.com wrote: On 1/8/15 11:48 AM, Johannes Pfau wrote: Am Thu, 08 Jan 2015 10:50:10 -0800 schrieb Andrei Alexandrescu seewebsiteforem...@erdani.org: On 1/8/15 9:16 AM, Kiith-Sa wrote: This is a problem

Re: DConf 2015 Call for Submissions is now open

2015-01-10 Thread Iain Buclaw via Digitalmars-d-announce
On 9 January 2015 at 00:32, Walter Bright via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: On 1/8/2015 8:42 AM, Jonathan M Davis via Digitalmars-d-announce wrote: On Thursday, January 08, 2015 10:31:37 Iain Buclaw via Digitalmars-d-announce wrote: On 6 January 2015

Re: We're looking for a Linuy Systems Admin!

2015-01-09 Thread Iain Buclaw via Digitalmars-d-announce
On 9 January 2015 at 11:29, Iain Buclaw ibuc...@gdcproject.org wrote: On 9 January 2015 at 11:22, Joseph Rushton Wakeling via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: On Thursday, 8 January 2015 at 16:13:24 UTC, Iain Buclaw via Digitalmars-d-announce wrote

Re: DConf 2015 Call for Submissions is now open

2015-01-08 Thread Iain Buclaw via Digitalmars-d-announce
On 6 January 2015 at 23:24, Andrei Alexandrescu via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: Hello, Exciting times! DConf 2015 will take place May 27-29 2015 at Utah Valley University in Orem, UT. Awesome, that runs over my birthday (28th). My friends and family

Re: We're looking for a Linuy Systems Admin!

2015-01-08 Thread Iain Buclaw via Digitalmars-d-announce
On 8 January 2015 at 11:08, Johanna Burgos via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: Your Mission Provide server administration to our data centers Provisioning new servers, imaging, monitoring, and other daily routines Daily monitoring and maintenance of servers

Re: An idea for commercial support for D

2015-01-07 Thread Iain Buclaw via Digitalmars-d
On 7 January 2015 at 12:00, via Digitalmars-d digitalmars-d@puremagic.com wrote: On Wednesday, 7 January 2015 at 11:46:19 UTC, Iain Buclaw via Digitalmars-d wrote: That is where the value-for-money factor comes in. I cannot see any traction occurring in Joakim's badly thought out idea unless

Re: For the lulz: ddmd vs libdparse lexer timings

2015-01-07 Thread Iain Buclaw via Digitalmars-d
On 7 January 2015 at 12:35, Daniel Murphy via Digitalmars-d digitalmars-d@puremagic.com wrote: Iain Buclaw via Digitalmars-d wrote in message news:mailman.4248.1420631820.9932.digitalmar...@puremagic.com... I'd say bug in dmc. Yeah I'm thinking so, fun. It looks like dmc sets up the code

Re: An idea for commercial support for D

2015-01-07 Thread Iain Buclaw via Digitalmars-d
On 7 January 2015 at 02:08, Joseph Rushton Wakeling via Digitalmars-d digitalmars-d@puremagic.com wrote: On 06/01/15 07:14, Joakim via Digitalmars-d wrote: I don't think such people matter, ie they're a very small but vocal minority. Also, these people are deeply irrational, as every piece of

Re: For the lulz: ddmd vs libdparse lexer timings

2015-01-07 Thread Iain Buclaw via Digitalmars-d
On 7 January 2015 at 05:27, Daniel Murphy via Digitalmars-d digitalmars-d@puremagic.com wrote: Is there something wrong with this code or have I found a dmc bug? I'd say bug in dmc.

Re: For the lulz: ddmd vs libdparse lexer timings

2015-01-05 Thread Iain Buclaw via Digitalmars-d
On 5 January 2015 at 09:23, Daniel Murphy via Digitalmars-d digitalmars-d@puremagic.com wrote: Iain Buclaw via Digitalmars-d wrote in message news:mailman.4141.1420448690.9932.digitalmar...@puremagic.com... void foo(int bar, ...) { va_list* va = void; va_list[1] __va_argsave; va

Re: For the lulz: ddmd vs libdparse lexer timings

2015-01-05 Thread Iain Buclaw via Digitalmars-d
On 5 January 2015 at 08:28, Daniel Murphy via Digitalmars-d digitalmars-d@puremagic.com wrote: David Nadlinger wrote in message news:qlzdmlnzlklofmlkq...@forum.dlang.org... It is. It breaks vararg cross-platform compatibility (e.g. Linux x86 vs. Linux x86_64) and GDC/LDC will never need it.

Re: For the lulz: ddmd vs libdparse lexer timings

2015-01-05 Thread Iain Buclaw via Digitalmars-d
On 5 January 2015 at 11:21, Daniel Murphy via Digitalmars-d digitalmars-d@puremagic.com wrote: Iain Buclaw via Digitalmars-d wrote in message news:mailman.4143.1420452193.9932.digitalmar...@puremagic.com... That depends on how we agree to go forward with this. From memory, we each do / did

Re: For the lulz: ddmd vs libdparse lexer timings

2015-01-05 Thread Iain Buclaw via Digitalmars-d
On 5 January 2015 at 12:11, Daniel Murphy via Digitalmars-d digitalmars-d@puremagic.com wrote: Iain Buclaw via Digitalmars-d wrote in message news:mailman.4146.1420457999.9932.digitalmar...@puremagic.com... That is correct for user code, but not druntime C bindings. GDC can compile the test

Re: For the lulz: ddmd vs libdparse lexer timings

2015-01-05 Thread Iain Buclaw via Digitalmars-d
On 5 January 2015 at 12:13, Daniel Murphy via Digitalmars-d digitalmars-d@puremagic.com wrote: Daniel Murphy wrote in message news:m8dv1g$1cg4$1...@digitalmars.com... Druntime and phobos rely on va_list converting to void*. Should this a) be allowed on platforms where va_list is a pointer

Re: For the lulz: ddmd vs libdparse lexer timings

2015-01-05 Thread Iain Buclaw via Digitalmars-d
On 5 January 2015 at 13:37, Daniel Murphy via Digitalmars-d digitalmars-d@puremagic.com wrote: Daniel Murphy wrote in message news:m8dv49$1cgs$1...@digitalmars.com... And what about explicit casts? Oh yeah, and how does __va_argsave work, why do we need it? Looking at the druntime and

Re: GSOC - Holiday Edition

2015-01-05 Thread Iain Buclaw via Digitalmars-d
On 5 January 2015 at 14:46, Martin Nowak via Digitalmars-d digitalmars-d@puremagic.com wrote: On 01/05/2015 02:59 AM, Craig Dillabaugh wrote: Do you feel the current posting on the Wiki accurately best reflects what work needs to be done on this project. Yeah, it's pretty good. I've thrown

Re: For the lulz: ddmd vs libdparse lexer timings

2015-01-05 Thread Iain Buclaw via Digitalmars-d
On 5 January 2015 at 17:44, Daniel Murphy via Digitalmars-d digitalmars-d@puremagic.com wrote: Iain Buclaw via Digitalmars-d wrote in message news:mailman.4157.1420479008.9932.digitalmar...@puremagic.com... For consistency? I would go with (c) as va_list could be anything, even a struct (PPC

Re: An idea for commercial support for D

2015-01-04 Thread Iain Buclaw via Digitalmars-d
On 4 Jan 2015 08:35, Joakim via Digitalmars-d digitalmars-d@puremagic.com wrote: This is an idea I've been kicking around for a while, and given the need for commercial support for D, would perhaps work well here. The notion is that individual developers could work on patches to fix bugs or

Re: An idea for commercial support for D

2015-01-04 Thread Iain Buclaw via Digitalmars-d
On 4 January 2015 at 14:50, Joakim via Digitalmars-d digitalmars-d@puremagic.com wrote: On Sunday, 4 January 2015 at 11:17:08 UTC, Iain Buclaw via Digitalmars-d wrote: On 4 Jan 2015 08:35, Joakim via Digitalmars-d digitalmars-d@puremagic.com wrote: This is an idea I've been kicking around

Re: GCCJIT Bindings for D

2015-01-04 Thread Iain Buclaw via Digitalmars-d-announce
On Saturday, 27 December 2014 at 09:53:42 UTC, Iain Buclaw wrote: For a more practical example, I've added an example jit compiled brainf*** interpreter. https://github.com/ibuclaw/gccjitd/blob/master/tests/brainf.d Another practical example has been published which implements a made up

Re: Community and contribution [was: Re: http://wiki.dlang.org/DIP25]

2015-01-03 Thread Iain Buclaw via Digitalmars-d
On 1 Jan 2015 18:46, Joseph Rushton Wakeling via Digitalmars-d digitalmars-d@puremagic.com wrote: On 29/12/14 05:13, Andrei Alexandrescu via Digitalmars-d wrote: I did want to say something about this. I've given a close read to the Lost a new commercial user this week thread, through and

Re: CTFE pow()

2015-01-02 Thread Iain Buclaw via Digitalmars-d
On 2 January 2015 at 13:33, Don via Digitalmars-d digitalmars-d@puremagic.com wrote: On Friday, 2 January 2015 at 08:52:47 UTC, Daniel Murphy wrote: Xinok wrote in message news:pbjttgrpwhsffoovp...@forum.dlang.org... I'm wondering if there's any added benefit to implementing these as

Re: CTFE pow()

2015-01-02 Thread Iain Buclaw via Digitalmars-d
On 1 January 2015 at 18:40, H. S. Teoh via Digitalmars-d digitalmars-d@puremagic.com wrote: On Fri, Jan 02, 2015 at 02:56:16AM +1000, Manu via Digitalmars-d wrote: Does anyone know how to fix this? Can we please do so? It's been a problem for like 5 years it seems. It's a bit insane that we

Re: Worst Phobos documentation evar!

2015-01-01 Thread Iain Buclaw via Digitalmars-d
On 1 January 2015 at 22:40, Joseph Rushton Wakeling via Digitalmars-d digitalmars-d@puremagic.com wrote: On 01/01/15 15:43, Manu via Digitalmars-d wrote: Oh yeah, and a massive one that I've discussed with Ethan and I think he's discussed with you; DMD likes to use the x87 in win64 builds...

Re: Happy new year!

2014-12-31 Thread Iain Buclaw via Digitalmars-d
On 31 Dec 2014 15:00, Craig Dillabaugh via Digitalmars-d digitalmars-d@puremagic.com wrote: On Wednesday, 31 December 2014 at 14:55:00 UTC, Joseph Rushton Wakeling wrote: On Wednesday, 31 December 2014 at 14:20:28 UTC, Manu via Digitalmars-d wrote: Here's to an awesome 2015! Blwyddyn

Re: DConf 2015?

2014-12-30 Thread Iain Buclaw via Digitalmars-d
On 30 Dec 2014 03:40, Walter Bright via Digitalmars-d digitalmars-d@puremagic.com wrote: On 12/29/2014 3:37 AM, Kingsley wrote: I'm interested in coming to the next D conference. Please let me know if there is anything I can do to help out. I've been working on IDE support for intellij

Re: DConf 2015?

2014-12-30 Thread Iain Buclaw via Digitalmars-d
On 30 Dec 2014 08:59, Iain Buclaw ibuc...@gdcproject.org wrote: On 30 Dec 2014 03:40, Walter Bright via Digitalmars-d digitalmars-d@puremagic.com wrote: On 12/29/2014 3:37 AM, Kingsley wrote: I'm interested in coming to the next D conference. Please let me know if there is anything I

Re: GCCJIT Bindings for D

2014-12-29 Thread Iain Buclaw via Digitalmars-d-announce
On 28 Dec 2014 21:25, bearophile via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: Iain Buclaw: 1.086s: bfgccjitd-runtime-O2 1.139s: bfgccjitd-runtime-O1 2.759s: bfgccjitd-O1 3.646s: bfgccjitd-O2 4.959s: bff-O2 Five times faster than bff is a lot :-)

Re: Lost a new commercial user this week :(

2014-12-29 Thread Iain Buclaw via Digitalmars-d
On 29 December 2014 at 03:52, Andrei Alexandrescu via Digitalmars-d digitalmars-d@puremagic.com wrote: On 12/28/14 6:43 PM, Manu via Digitalmars-d wrote: On 27 December 2014 at 02:21, Andrei Alexandrescu via Digitalmars-d digitalmars-d@puremagic.com wrote: On 12/25/14 5:18 PM, Mike Parker

Re: GCCJIT Bindings for D

2014-12-28 Thread Iain Buclaw via Digitalmars-d-announce
On Saturday, 27 December 2014 at 10:47:55 UTC, bearophile wrote: Iain Buclaw: For a more practical example, I've added an example jit compiled brainf*** interpreter. https://github.com/ibuclaw/gccjitd/blob/master/tests/brainf.d Here I have put a little program you can use as performance

Re: GCCJIT Bindings for D

2014-12-28 Thread Iain Buclaw via Digitalmars-d-announce
On 28 December 2014 at 10:24, bearophile via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: Iain Buclaw: Sure, what is that supposed to do? Iain. To print a classic image of the Mandelbrot Set (but Codepad seems down currently). Bye, bearophile Thanks - turns out

Re: Get your D Lang shirts!

2014-12-27 Thread Iain Buclaw via Digitalmars-d-announce
On 24 Dec 2014 22:20, Vic via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: http://teespring.com/d-lang-sv Non profit, I hope other follow suit. I like the sentiment, but I think I'd prefer my own designs. ;) Iain.

Re: GCCJIT Bindings for D

2014-12-27 Thread Iain Buclaw via Digitalmars-d-announce
For a more practical example, I've added an example jit compiled brainf*** interpreter. https://github.com/ibuclaw/gccjitd/blob/master/tests/brainf.d Also will be adding instructions on how to build the libgccjit frontend later this week - if you haven't already worked it out from the gccjit

Re: Calypso: Direct and full interfacing to C++

2014-12-27 Thread Iain Buclaw via Digitalmars-d-announce
On 23 Dec 2014 13:30, CraigDillabaugh via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: On Tuesday, 23 December 2014 at 11:53:38 UTC, Dicebot wrote: On Tuesday, 23 December 2014 at 10:52:58 UTC, Joseph Rushton Wakeling wrote: clip Consider both things like

Re: Ldc vs dmd vs gdc

2014-12-26 Thread Iain Buclaw via Digitalmars-d
On 26 Dec 2014 07:25, Rikki Cattermole via Digitalmars-d digitalmars-d@puremagic.com wrote: On Monday, 15 December 2014 at 08:25:16 UTC, Rikki Cattermole wrote: I found a little interesting difference between ldc, dmd and gdc today. Summarized in ldc it does not allow you to have multiple

Re: Lost a new commercial user this week :(

2014-12-26 Thread Iain Buclaw via Digitalmars-d
On 20 Dec 2014 20:40, Atila Neves via Digitalmars-d digitalmars-d@puremagic.com wrote: FWIW, I'd like to thank you for taking the time (and putting up with some undeserved abuse for it) to write about your experience in trying to get other people to adopt D. For some they might be known issues,

Re: Ldc vs dmd vs gdc

2014-12-26 Thread Iain Buclaw via Digitalmars-d
On 26 Dec 2014 09:45, Rikki Cattermole via Digitalmars-d digitalmars-d@puremagic.com wrote: On 26/12/2014 10:30 p.m., Iain Buclaw via Digitalmars-d wrote: On 26 Dec 2014 07:25, Rikki Cattermole via Digitalmars-d digitalmars-d@puremagic.com mailto:digitalmars-d@puremagic.com wrote

Re: removal of dead functions and methods

2014-12-25 Thread Iain Buclaw via Digitalmars-d
On 25 December 2014 at 16:49, Joseph Rushton Wakeling via Digitalmars-d digitalmars-d@puremagic.com wrote: On 24/12/14 15:35, ketmar via Digitalmars-d wrote: besides, it's not always possible to use GDC or LDC, as they tend to be off by at least one frontend/phobos version, or have some

Re: My wish for 2015...

2014-12-24 Thread Iain Buclaw via Digitalmars-d
On 24 December 2014 at 04:49, Vic via Digitalmars-d digitalmars-d@puremagic.com wrote: On Saturday, 20 December 2014 at 22:11:35 UTC, Xinok wrote: I'm going to make a stark proposal to the you all, the community and all D users as whole. I wish for us to set an ultimate goal to be made top

Re: London D Programmers MeetUp

2014-12-23 Thread Iain Buclaw via Digitalmars-d-announce
On 23 December 2014 at 18:26, Kingsley via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: Hi, I've created this meetup group for any London based D enthusiasts to meet up and get excited about D. I'll also demo my intellij plugin for D at the first meetup which I've

Re: ARMv7 vs x86-64: Pathfinding benchmark of C++, D, Go, Nim, Ocaml, and more.

2014-12-23 Thread Iain Buclaw via Digitalmars-d
On 23 December 2014 at 07:28, Dicebot via Digitalmars-d digitalmars-d@puremagic.com wrote: On Tuesday, 23 December 2014 at 07:21:20 UTC, Iain Buclaw via Digitalmars-d wrote: Maybe you could set up a qemu-arm chroot? Probably I should. Didn't bother originally because ARM support is not part

GCCJIT Bindings for D

2014-12-22 Thread Iain Buclaw via Digitalmars-d-announce
Hi, Apparently I've never announced this here, so here we go. I have written, and started maintaining D bindings for the GCCJIT library, available on github at this location: https://github.com/ibuclaw/gccjitd What is GCCJIT? --- GCCJIT is a new front-end for gcc that aims to provide an

Re: ARMv7 vs x86-64: Pathfinding benchmark of C++, D, Go, Nim, Ocaml, and more.

2014-12-22 Thread Iain Buclaw via Digitalmars-d
On 22 December 2014 at 11:45, logicchains via Digitalmars-d digitalmars-d@puremagic.com wrote: On Sunday, 21 December 2014 at 09:48:24 UTC, Dicebot wrote: On Saturday, 20 December 2014 at 21:47:24 UTC, Walter Bright wrote: I did notice this: I updated the ldc D compiler earlier today

Re: ARMv7 vs x86-64: Pathfinding benchmark of C++, D, Go, Nim, Ocaml, and more.

2014-12-22 Thread Iain Buclaw via Digitalmars-d
On 22 December 2014 at 13:45, via Digitalmars-d digitalmars-d@puremagic.com wrote: On Monday, 22 December 2014 at 12:43:19 UTC, Iain Buclaw via Digitalmars-d wrote: On 22 December 2014 at 11:45, logicchains via Digitalmars-d digitalmars-d@puremagic.com wrote: On Sunday, 21 December 2014

Re: DConf 2015?

2014-12-22 Thread Iain Buclaw via Digitalmars-d
On 22 December 2014 at 20:52, Walter Bright via Digitalmars-d digitalmars-d@puremagic.com wrote: On 12/22/2014 9:40 AM, Adam D. Ruppe wrote: By this time last year, dconf 2014 preparations were already under way but I haven't heard anything this year. Is another one planned? Yes. Still

Re: ARMv7 vs x86-64: Pathfinding benchmark of C++, D, Go, Nim, Ocaml, and more.

2014-12-22 Thread Iain Buclaw via Digitalmars-d
On 22 December 2014 at 17:01, Iain Buclaw ibuc...@gdcproject.org wrote: On 22 December 2014 at 13:45, via Digitalmars-d digitalmars-d@puremagic.com wrote: On Monday, 22 December 2014 at 12:43:19 UTC, Iain Buclaw via Digitalmars-d wrote: On 22 December 2014 at 11:45, logicchains via

Re: ARMv7 vs x86-64: Pathfinding benchmark of C++, D, Go, Nim, Ocaml, and more.

2014-12-22 Thread Iain Buclaw via Digitalmars-d
On 23 Dec 2014 07:15, Dicebot via Digitalmars-d digitalmars-d@puremagic.com wrote: On Monday, 22 December 2014 at 11:45:55 UTC, logicchains wrote: I installed the new Arch Linux LDC package but it still fails with the same error: /usr/lib/libldruntime.so: undefined reference to `__mulodi4'

Re: What's missing to make D2 feature complete?

2014-12-21 Thread Iain Buclaw via Digitalmars-d
On 20 Dec 2014 17:45, Martin Nowak via Digitalmars-d digitalmars-d@puremagic.com wrote: Just wondering what the general sentiment is. For me it's these 3 points. - tuple support (DIP32, maybe without pattern matching) - working import, protection and visibility rules (DIP22, 313, 314) -

Re: i want my bounty!

2014-12-18 Thread Iain Buclaw via Digitalmars-d
On 17 December 2014 at 17:50, Nick Treleaven via Digitalmars-d digitalmars-d@puremagic.com wrote: On 15/12/2014 19:39, H. S. Teoh via Digitalmars-d wrote: If you put your git repo online somewhere, I wouldn't mind pulling from it and pushing to Phobos as PRs. It's much more convenient than

Re: unnecessary OS redundancy in druntime

2014-12-12 Thread Iain Buclaw via Digitalmars-d
On 12 Dec 2014 17:15, Martin Nowak via Digitalmars-d digitalmars-d@puremagic.com wrote: On 12/12/2014 04:47 PM, Joakim wrote: I asked about this on github but didn't get a good answer, so I'm asking here. What's with all the repeated OS blocks in druntime? No, you don't want to accept

Re: unnecessary OS redundancy in druntime

2014-12-12 Thread Iain Buclaw via Digitalmars-d
On 12 Dec 2014 21:50, Sean Kelly via Digitalmars-d digitalmars-d@puremagic.com wrote: On Friday, 12 December 2014 at 15:47:09 UTC, Joakim wrote: It seems like pointless repetition and there are many more examples of this, as I keep running into it when adding bionic/Android support. Martin

Re: Travis-CI support for D

2014-12-11 Thread Iain Buclaw via Digitalmars-d-announce
On 11 December 2014 at 08:24, Brad Roberts via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: On 12/10/2014 11:34 PM, Andrej Mitrovic via Digitalmars-d-announce wrote: On 12/11/14, Martin Nowak via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: Glad to

Re: Do everything in Java…

2014-12-10 Thread Iain Buclaw via Digitalmars-d
On 10 December 2014 at 14:16, Paulo Pinto via Digitalmars-d digitalmars-d@puremagic.com wrote: On Wednesday, 10 December 2014 at 12:24:56 UTC, Tobias Pankrath wrote: On Wednesday, 10 December 2014 at 10:24:53 UTC, Paulo Pinto wrote: On Wednesday, 10 December 2014 at 08:43:49 UTC, Kagamin

Re: Do everything in Java…

2014-12-10 Thread Iain Buclaw via Digitalmars-d
On 10 Dec 2014 18:30, H. S. Teoh via Digitalmars-d digitalmars-d@puremagic.com wrote: On Wed, Dec 10, 2014 at 06:15:48PM +, Paulo Pinto via Digitalmars-d wrote: On Wednesday, 10 December 2014 at 16:56:24 UTC, Iain Buclaw via Digitalmars-d wrote: [...] In D, this should be akin

Re: [OT?] C compiler written form scratch in D

2014-12-09 Thread Iain Buclaw via Digitalmars-d-announce
On 9 Dec 2014 07:00, Stefan Koch via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: On Monday, 8 December 2014 at 21:04:17 UTC, John wrote: On Monday, 8 December 2014 at 19:35:54 UTC, Stefan Koch wrote: think of them as beta quality! You may have to either pause when

Re: [OT?] C compiler written form scratch in D

2014-12-09 Thread Iain Buclaw via Digitalmars-d-announce
On 9 Dec 2014 00:50, deadalnix via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: On Monday, 8 December 2014 at 15:44:55 UTC, Stefan Koch wrote: I want to do a C backend first. Building an LLVM Backand out of that is a small step. There is already a very popular C to C

Re: Do everything in Java…

2014-12-09 Thread Iain Buclaw via Digitalmars-d
On 9 December 2014 at 19:15, H. S. Teoh via Digitalmars-d digitalmars-d@puremagic.com wrote: On Tue, Dec 09, 2014 at 10:08:35PM +0300, Dmitry Olshansky via Digitalmars-d wrote: 09-Dec-2014 20:54, H. S. Teoh via Digitalmars-d пишет: On Tue, Dec 09, 2014 at 07:16:56PM +0300, Dmitry Olshansky

Re: [OT?] C compiler written form scratch in D

2014-12-08 Thread Iain Buclaw via Digitalmars-d-announce
On 8 December 2014 at 19:35, Stefan Koch via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: On Monday, 8 December 2014 at 17:26:59 UTC, John Colvin wrote: On Monday, 8 December 2014 at 16:28:24 UTC, Stefan Koch wrote: First two videos are up think of them as beta

Re: Do everything in Java…

2014-12-08 Thread Iain Buclaw via Digitalmars-d
On 4 December 2014 at 13:47, Russel Winder via Digitalmars-d digitalmars-d@puremagic.com wrote: It's an argument for Java over Python specifically but a bit more general in reality. This stood out for me: !…other languages like D and Go are too new to bet my work on.

Re: D Meetup in SF?

2014-12-08 Thread Iain Buclaw via Digitalmars-d
On 8 December 2014 at 16:06, Martin Nowak via Digitalmars-d digitalmars-d@puremagic.com wrote: On 12/05/2014 09:15 AM, Shammah Chancellor wrote: I didn't notice a D meetup group in SF. Is anyone else in here interested in doing something like this once a month? We could have a video cast

Re: DIP69 - Implement scope for escape proof references

2014-12-07 Thread Iain Buclaw via Digitalmars-d
On 7 Dec 2014 10:40, Jacob Carlborg via Digitalmars-d digitalmars-d@puremagic.com wrote: On 2014-12-07 01:49, Manu via Digitalmars-d wrote: I have std.simd sitting here, and I really want to finish it, but I still don't have the tools to do so. I need, at least, forceinline to complete it,

Re: [OT] unbelievable: #ifdef _OTHER_LIB_H

2014-11-29 Thread Iain Buclaw via Digitalmars-d
On 26 November 2014 at 21:00, H. S. Teoh via Digitalmars-d digitalmars-d@puremagic.com wrote: On Wed, Nov 26, 2014 at 08:06:01PM +, Adam D. Ruppe via Digitalmars-d wrote: So my computer died on me again last week and I had to buy new hardware. I was forced to update the software to run

Re: D is for Data Science

2014-11-28 Thread Iain Buclaw via Digitalmars-d-announce
On 28 November 2014 at 06:40, Daniel Murphy via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: weaselcat wrote in message news:rnlbybkfqokypxlgf...@forum.dlang.org... I see array.sort is planned for future deprecation, what does future fall under? Generally 'future

Re: DMD hackers: pragma(address): Is this possible?

2014-11-26 Thread Iain Buclaw via Digitalmars-d
On 25 November 2014 at 19:08, Daniel Murphy via Digitalmars-d digitalmars-d@puremagic.com wrote: Johannes Pfau wrote in message news:m5288s$l8$1...@digitalmars.com... No, unfortunately not. The module where the template is instantiated needs to be the 'main' module. Or rather toObjfile must

Re: size_t for length on x64 will make app slower than on x86?

2014-11-16 Thread Iain Buclaw via Digitalmars-d
On 16 November 2014 13:39, FrankLike via Digitalmars-d digitalmars-d@puremagic.com wrote: Many old projects need move from x86 to x64,but the 'length' type is size_t,it will change on x64,so a lot of work must to do.but I find some info which is help for d:

Re: Linux 64bit Calling Convention

2014-11-15 Thread Iain Buclaw via Digitalmars-d
On 14 November 2014 20:27, David Nadlinger via Digitalmars-d digitalmars-d@puremagic.com wrote: On Friday, 14 November 2014 at 20:19:56 UTC, Iain Buclaw via Digitalmars-d wrote: Really? I say this all the time. (OK, maybe not so much over the last 5 or so months :) Yeah, and if I remember

Re: Shared library packaging issues

2014-11-15 Thread Iain Buclaw via Digitalmars-d
On 15 Nov 2014 21:05, GreatEmerald via Digitalmars-d digitalmars-d@puremagic.com wrote: On Saturday, 15 November 2014 at 18:36:28 UTC, Jordi Sayol via Digitalmars-d wrote: Meanwhile there is not an RPM package for phobos 2 shared library, I think you can spread it together with your library:

Re: Microsoft now giving away VS 2013

2014-11-14 Thread Iain Buclaw via Digitalmars-d
On 14 November 2014 06:21, Joakim via Digitalmars-d digitalmars-d@puremagic.com wrote: On Thursday, 13 November 2014 at 13:59:32 UTC, Wyatt wrote: On Thursday, 13 November 2014 at 08:50:29 UTC, Ola Fosheim Grøstad wrote: So, how to write a source-to-source compiler from CS to D…? ;-) I

Re: Linux 64bit Calling Convention

2014-11-14 Thread Iain Buclaw via Digitalmars-d
On 25 October 2014 17:14, Trass3r via Digitalmars-d digitalmars-d@puremagic.com wrote: Yes it's clearly stated on the ABI page (and sane). Nobody ever noticed cause it's hard to spot this in assembly. But it was very salient and disturbing in llvm IR. Really? I say this all the time. (OK,

Re: Inspecting GC memory/stats

2014-11-12 Thread Iain Buclaw via Digitalmars-d
On Tuesday, 11 November 2014 at 20:20:26 UTC, Rainer Schuetze wrote: On 11.11.2014 08:36, Iain Buclaw wrote: Hi, I find myself wondering what do people use to inspect the GC on a running process? Last night, I had a look at a couple of vibe.d servers that had been running for a little

Inspecting GC memory/stats

2014-11-10 Thread Iain Buclaw via Digitalmars-d
Hi, I find myself wondering what do people use to inspect the GC on a running process? Last night, I had a look at a couple of vibe.d servers that had been running for a little over 100 days. But the same code, but one used less (or not at all). Given that the main app logic is rather

Re: bug in assigning to dynamic array element

2014-11-01 Thread Iain Buclaw via Digitalmars-d
On 1 November 2014 11:31, anonymous via Digitalmars-d digitalmars-d@puremagic.com wrote: On Saturday, 1 November 2014 at 09:03:42 UTC, ketmar via Digitalmars-d wrote: as i can guess, the bug is in evaluating left part of '=' operation before the right part. I don't know how D defines this,

Re: bug in assigning to dynamic array element

2014-11-01 Thread Iain Buclaw via Digitalmars-d
On 1 November 2014 11:56, ketmar via Digitalmars-d digitalmars-d@puremagic.com wrote: On Sat, 01 Nov 2014 11:31:51 + anonymous via Digitalmars-d digitalmars-d@puremagic.com wrote: I don't know how D defines this, and I couldn't find anything but a forum discussion [1] (which I didn't read

Re: bug in assigning to dynamic array element

2014-11-01 Thread Iain Buclaw via Digitalmars-d
On 1 November 2014 09:03, ketmar via Digitalmars-d digitalmars-d@puremagic.com wrote: Hello. let's run this code: info.list[idx] = saveIt(info, count-1); //!!! You could use: emplace(info.list[idx], saveIt(info, count-1));

Re: bug in assigning to dynamic array element

2014-11-01 Thread Iain Buclaw via Digitalmars-d
On 1 November 2014 12:39, ketmar via Digitalmars-d digitalmars-d@puremagic.com wrote: On Sat, 1 Nov 2014 12:34:50 + Iain Buclaw via Digitalmars-d digitalmars-d@puremagic.com wrote: On 1 November 2014 09:03, ketmar via Digitalmars-d digitalmars-d@puremagic.com wrote: Hello. let's run

Re: bug in assigning to dynamic array element

2014-11-01 Thread Iain Buclaw via Digitalmars-d
On 1 November 2014 13:05, ketmar via Digitalmars-d digitalmars-d@puremagic.com wrote: On Sat, 1 Nov 2014 12:58:26 + Iain Buclaw via Digitalmars-d digitalmars-d@puremagic.com wrote: Or how about: Every side effect is evaluated LTR. So whatever you do, don't have LHS-altering side-effects

Re: bug in assigning to dynamic array element

2014-11-01 Thread Iain Buclaw via Digitalmars-d
On 1 November 2014 14:19, ketmar via Digitalmars-d digitalmars-d@puremagic.com wrote: On Sat, 1 Nov 2014 13:56:49 + Iain Buclaw via Digitalmars-d digitalmars-d@puremagic.com wrote: if such assigns will be forbidden for any arrays... this is even worse. what? your shiny language can't do

Re: D's New GC and Object Allocation Pools

2014-10-26 Thread Iain Buclaw via Digitalmars-d
On 26 Oct 2014 08:05, Mike via Digitalmars-d digitalmars-d@puremagic.com wrote: On Sunday, 26 October 2014 at 07:08:21 UTC, Mike wrote: I tried this on my Linux desktop, and while everything compiled and linked without errors, it resulted in a segmentation fault at runtime. But where I have

Re: GCC Undefined Behavior Sanitizer

2014-10-19 Thread Iain Buclaw via Digitalmars-d
On 19 Oct 2014 09:40, monarch_dodra via Digitalmars-d digitalmars-d@puremagic.com wrote: On Saturday, 18 October 2014 at 23:10:15 UTC, Ola Fosheim Grøstad wrote: On Saturday, 18 October 2014 at 08:22:25 UTC, monarch_dodra wrote: Besides, the code uses x + 1, so the code is already in

Re: Consistent bugs with dmd -O -inline in a large project

2014-10-17 Thread Iain Buclaw via Digitalmars-d
On 16 Oct 2014 23:01, ketmar via Digitalmars-d digitalmars-d@puremagic.com wrote: On Thu, 16 Oct 2014 21:53:40 + Chris via Digitalmars-d digitalmars-d@puremagic.com wrote: I had planned to use GDC/LDC too, but GDC is 2.064 GDC is 2.065. And soon to be 2.066 as soon as I apply the

Re: Consistent bugs with dmd -O -inline in a large project

2014-10-17 Thread Iain Buclaw via Digitalmars-d
On 17 October 2014 09:53, Chris via Digitalmars-d digitalmars-d@puremagic.com wrote: On Thursday, 16 October 2014 at 22:01:37 UTC, ketmar via Digitalmars-d wrote: On Thu, 16 Oct 2014 21:53:40 + Chris via Digitalmars-d digitalmars-d@puremagic.com wrote: I had planned to use GDC/LDC too,

Re: GCC Undefined Behavior Sanitizer

2014-10-17 Thread Iain Buclaw via Digitalmars-d
On 16 October 2014 22:00, bearophile via Digitalmars-d digitalmars-d@puremagic.com wrote: Just found with Reddit. C seems one step ahead of D with this: http://developerblog.redhat.com/2014/10/16/gcc-undefined-behavior-sanitizer-ubsan/ *cough* GDC *cough* :o)

Re: GCC Undefined Behavior Sanitizer

2014-10-17 Thread Iain Buclaw via Digitalmars-d
On 17 October 2014 16:08, Andrei Alexandrescu via Digitalmars-d digitalmars-d@puremagic.com wrote: On 10/17/14, 2:53 AM, Iain Buclaw via Digitalmars-d wrote: On 16 October 2014 22:00, bearophile via Digitalmars-d digitalmars-d@puremagic.com wrote: Just found with Reddit. C seems one step

Re: Method signature differences in core modules on dmd and gdc?

2014-10-12 Thread Iain Buclaw via Digitalmars-d-learn
On Sunday, 12 October 2014 at 19:20:49 UTC, Gary Willoughby wrote: I've been recently trying GDC out to compile some D code and i'm running into the problem of differing function signatures in core modules. For example: stack.d:79: error: function core.memory.GC.calloc (ulong sz, uint ba =

Re: Program logic bugs vs input/environmental errors

2014-10-10 Thread Iain Buclaw via Digitalmars-d
On 10 Oct 2014 01:35, Joseph Rushton Wakeling via Digitalmars-d digitalmars-d@puremagic.com wrote: On Wednesday, 8 October 2014 at 07:40:14 UTC, eles wrote: Of course it does not increase the probability to get a tails. Actually, it increases the probability that you'll get heads again.

Re: Make const, immutable, inout, and shared illegal as function attributes on the left-hand side of a function

2014-10-10 Thread Iain Buclaw via Digitalmars-d
On 10 Oct 2014 17:35, Walter Bright via Digitalmars-d digitalmars-d@puremagic.com wrote: On 10/10/2014 8:15 AM, Martin Nowak wrote: const is used both as a storage class and as a type constructor, and is distinguished by the grammar: const(T) v; // type constructor, it affects the type

Re: Make const, immutable, inout, and shared illegal as function attributes on the left-hand side of a function

2014-10-10 Thread Iain Buclaw via Digitalmars-d
On 9 Oct 2014 09:55, Martin Nowak via Digitalmars-d digitalmars-d@puremagic.com wrote: Kenji just proposed a slightly controversial pull request so I want to reach out for more people to discuss it's tradeoffs. It's about deprecating function qualifiers on the left hand side of a function.

<    4   5   6   7   8   9   10   11   12   >