Re: A new article about working with files in D

2015-09-28 Thread jmh530 via Digitalmars-d-announce
On Monday, 28 September 2015 at 11:41:37 UTC, Gary Willoughby wrote: Article: http://nomad.so/2015/09/working-with-files-in-the-d-programming-language/ Reddit link: https://www.reddit.com/r/programming/comments/3mosw7/working_with_files_in_the_d_programming_language/ Cool.

Re: Go 1.5

2015-09-21 Thread jmh530 via Digitalmars-d-announce
On Monday, 21 September 2015 at 19:32:23 UTC, Ola Fosheim Grøstad wrote: If the compiler can prove that two pointers point to non-overlapping memory regions then the compiler can optimize better. This is one of the reasons why Fortran compilers managed to do better than C for a long time.

Re: Go 1.5

2015-09-21 Thread jmh530 via Digitalmars-d-announce
On Monday, 21 September 2015 at 11:01:27 UTC, ZombineDev wrote: There's also a simple thing called smart pointers which do this with RAII, copy and move semantics. Smart pointers manage the lifetime of the object they point to automatically. You just need to make sure that you access the

Re: v0.2.1 of EMSI's containers library

2015-09-01 Thread jmh530 via Digitalmars-d-announce
On Tuesday, 1 September 2015 at 04:03:48 UTC, Brian Schott wrote: https://github.com/economicmodeling/containers The link to documentation doesn't seem to have anything on it.

Re: Blog post : OOP composition with mixins

2015-08-31 Thread jmh530 via Digitalmars-d-announce
On Monday, 24 August 2015 at 11:10:16 UTC, Dicebot wrote: Rough summary of the talk I have given for recent Berlin D meetup event: https://blog.dicebot.lv/posts/2015/08/OOP_composition_with_mixins It seems like mixin templates can be used like alias this, but mixin templates are more

Re: Dynamic arrays

2015-08-31 Thread jmh530 via Digitalmars-d-announce
On Monday, 31 August 2015 at 21:09:02 UTC, Minas Mina wrote: Constructive criticism is welcome. In the "define a dynamic array" section, I often find myself writing int[] numbers; numbers.length = 3; Instead of int[] numbers = new int[3]; I understand that this fits with the resizing section

Re: D-Day for DMD is today!

2015-08-23 Thread jmh530 via Digitalmars-d-announce
On Sunday, 23 August 2015 at 05:17:33 UTC, Walter Bright wrote: https://github.com/D-Programming-Language/dmd/pull/4923 We have made the switch from C++ DMD to D DMD! Congratulations.

Re: Beta D 2.068.0-b2

2015-07-29 Thread jmh530 via Digitalmars-d-announce
On Wednesday, 29 July 2015 at 07:10:13 UTC, Martin Nowak wrote: You're not allowed to redistribute the VS binaries, only the libc dlls. On Win32 we use our own libc (dmc) and linker (optlink). We could improve our installer so it can optionally start the VS compiler installation. If it

Re: Beta D 2.068.0-b2

2015-07-28 Thread jmh530 via Digitalmars-d-announce
On Tuesday, 28 July 2015 at 09:17:21 UTC, Sönke Ludwig wrote: I never had issues with VisualD so far. Which version of VisualStudio do you have installed? 64-bit compilation for DMD also works for me for VisualD, as well as when using DUB from the VS20xx x64 Native Tools Command Prompt

Re: Beta D 2.068.0-b2

2015-07-27 Thread jmh530 via Digitalmars-d-announce
On Monday, 27 July 2015 at 18:58:33 UTC, Joseph Cassman wrote: Sorry for the following rant but I am frustrated by the poor quality of support for Windows 64 development. rant I understand that frustration. I had some modest problems getting it to work with -m64 on my home computer.

Re: Four new DConf 2015 videos

2015-07-09 Thread jmh530 via Digitalmars-d-announce
On Thursday, 9 July 2015 at 22:17:50 UTC, Andy Smith wrote: Wha?! I thought it was John Colvin that talked about OpenCL? Was Adam talking about it as well?! Cheers, A. My first reply was originally to John Colvin, but then wobbles refers to Adam's talk as well. I was just referring to

Re: Four new DConf 2015 videos

2015-07-09 Thread jmh530 via Digitalmars-d-announce
On Thursday, 9 July 2015 at 14:54:50 UTC, wobbles wrote: After the last slide in your presentation, you begin to give a demo of the code. From then on, nothing on screen is shown :/ The stuff about OpenCL

Re: Four new DConf 2015 videos

2015-07-08 Thread jmh530 via Digitalmars-d-announce
On Wednesday, 8 July 2015 at 10:54:16 UTC, John Colvin wrote: Bummer, they didn't use the screen cap video I sent, so there's no code shown or anything for quite long sections, which makes it quite hard to follow :( Who would be the best person to contact about this? I was just going to

Re: 3 more dconf 2015 talks (Andy, Jonathan, and Mark)

2015-07-08 Thread jmh530 via Digitalmars-d-announce
On Wednesday, 8 July 2015 at 22:20:08 UTC, Andy Smith wrote: Hey I didn't really have an equivalent of transients in D, it was more a general statement that there are cases where you can still get functional purity using mutable state rather than adhering to a strict functional approach.

Re: 3 more dconf 2015 talks (Andy, Jonathan, and Mark)

2015-07-07 Thread jmh530 via Digitalmars-d-announce
On Saturday, 4 July 2015 at 01:13:52 UTC, Andy Smith wrote: I've raised https://github.com/D-Programming-Language/dconf.org/pull/85 to have the dconf website point to these urls. Andrei please consider merging once you've done unpacking all the boxes :-) Cheers, A. Andy, I just watched

Re: N-dimensional slices is ready for comments!

2015-06-21 Thread jmh530 via Digitalmars-d-announce
On Friday, 19 June 2015 at 10:13:42 UTC, Ilya Yaroshenko wrote: You can slice fixed size arrays: auto myFun() { float[4096] data; auto tensor = data[].sliced(256, 16); ///use tensor } After playing around with some stuff more, I keep finding the syntax for the static and

Re: N-dimensional slices is ready for comments!

2015-06-18 Thread jmh530 via Digitalmars-d-announce
On Monday, 15 June 2015 at 08:40:31 UTC, Ilya Yaroshenko wrote: Hi All, PR and Examples: https://github.com/D-Programming-Language/phobos/pull/3397 DUB http://code.dlang.org/packages/dip80-ndslice N-dimensional slices is real world example where `static foreach` would be useful.

<    1   2   3   4   5