Re: blog post - "An illustrated guide to using Sublime Text 3 for D programming"

2016-01-21 Thread Brian Schott via Digitalmars-d-announce
On Friday, 22 January 2016 at 04:39:00 UTC, Pradeep Gowda wrote: Comments are suggestions are welcome. You probably want to point DCD at the phobos and druntime import directories that DMD is actually using, not whatever is in git master. If you run `dmd` with no arguments it will tell you th

blog post - "An illustrated guide to using Sublime Text 3 for D programming"

2016-01-21 Thread Pradeep Gowda via Digitalmars-d-announce
Sublime text 3 is a decent editor to write D code. However, getting all the different plugins working together has always proven to be somewhat of a challenge for me. So, I decided to document the process as I went along. The result is here: https://www.btbytes.com/posts/st3d.html Comments ar

Re: Walter on his experience as a dev, on running an open source project and D

2016-01-21 Thread Walter Bright via Digitalmars-d-announce
On 1/21/2016 5:06 AM, burjui wrote: Recently I almost stopped listening to music (even ambient) while I write code, because it turns out I do less mistakes and overlook things not so often, when I code in silence. It makes coding less entertaining, but more productive. The trick is to turn the

Re: D is now catching C++ exceptions!

2016-01-21 Thread IgorStepanov via Digitalmars-d-announce
On Monday, 18 January 2016 at 22:26:56 UTC, Walter Bright wrote: at least for 64 bit Linux. Other platforms to follow. https://github.com/D-Programming-Language/dmd/pull/5342 This is what Andrei and I call "enabling" technology, as it opens the door for many more uses of D, in this case bett

Re: Next London D Meetup: Wednesday 20th January 2016

2016-01-21 Thread Wyatt via Digitalmars-d-announce
On Sunday, 10 January 2016 at 22:01:05 UTC, Kingsley wrote: This time we peek into the mind and code of Ross McKinlay who will give us a tour of some of his D efforts. I'm watching the recording right now. It's pretty exciting to see anything like F# discriminated unions in D. video here:

Re: D is now catching C++ exceptions!

2016-01-21 Thread tsbockman via Digitalmars-d-announce
On Thursday, 21 January 2016 at 18:34:27 UTC, Taylor Hillegeist wrote: What is the state of C++ interfacing? is the http://dlang.org/spec/cpp_interface.html up to date? You can read more up-to-date documentation here: https://github.com/D-Programming-Language/dlang.org/pull/1154

Re: D is now catching C++ exceptions!

2016-01-21 Thread Walter Bright via Digitalmars-d-announce
On 1/21/2016 10:34 AM, Taylor Hillegeist wrote: is the http://dlang.org/spec/cpp_interface.html up to date? No.

Re: D is now catching C++ exceptions!

2016-01-21 Thread Taylor Hillegeist via Digitalmars-d-announce
On Tuesday, 19 January 2016 at 04:58:49 UTC, Walter Bright wrote: On 1/18/2016 8:03 PM, Manu via Digitalmars-d-announce wrote: Nice work! Although I've never used C++ exceptions (or D exceptions) personally. Is there a roadmap for this stuff I can check out? Short list of upcoming C++ work?

Re: Logo for D

2016-01-21 Thread karabuta via Digitalmars-d-announce
On Wednesday, 20 January 2016 at 15:43:16 UTC, Simen Kjaeraas wrote: On Wednesday, 20 January 2016 at 14:09:53 UTC, karabuta wrote: On Monday, 18 January 2016 at 22:48:52 UTC, Brad Anderson wrote: http://i.imgur.com/RSBLFDJ.png Doesn't it look so much better: http://i.imgur.com/QlrbCou.png

Re: D Article: Memory Safety

2016-01-21 Thread Brad Anderson via Digitalmars-d-announce
On Thursday, 21 January 2016 at 17:42:02 UTC, Jakob Ovrum wrote: On Thursday, 21 January 2016 at 17:39:11 UTC, Andrei Alexandrescu wrote: Good work, thanks! Has this been reddited yet? -- Andrei I don't think so. Personally I don't think I have a reddit account, but people are more than welco

Re: D Article: Memory Safety

2016-01-21 Thread Brad Anderson via Digitalmars-d-announce
On Thursday, 21 January 2016 at 17:56:19 UTC, Brad Anderson wrote: On Thursday, 21 January 2016 at 17:42:02 UTC, Jakob Ovrum wrote: On Thursday, 21 January 2016 at 17:39:11 UTC, Andrei Alexandrescu wrote: Good work, thanks! Has this been reddited yet? -- Andrei I don't think so. Personally I

Re: D Article: Memory Safety

2016-01-21 Thread Jakob Ovrum via Digitalmars-d-announce
On Thursday, 21 January 2016 at 17:39:11 UTC, Andrei Alexandrescu wrote: Good work, thanks! Has this been reddited yet? -- Andrei I don't think so. Personally I don't think I have a reddit account, but people are more than welcome to post it wherever they like :)

Re: D Article: Memory Safety

2016-01-21 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 01/20/2016 09:04 AM, Jakob Ovrum wrote: The article aims to explain how to use @safe, @system and importantly, @trusted, including all the hairy details of templates. https://jakobovrum.github.io/d/2016/01/20/memory-safety.html Any and all feedback appreciated. Good work, thanks! Has this

Re: D Article: Memory Safety

2016-01-21 Thread Joakim via Digitalmars-d-announce
On Wednesday, 20 January 2016 at 14:04:53 UTC, Jakob Ovrum wrote: The article aims to explain how to use @safe, @system and importantly, @trusted, including all the hairy details of templates. https://jakobovrum.github.io/d/2016/01/20/memory-safety.html Any and all feedback appreciated. Nic

Re: D Article: Memory Safety

2016-01-21 Thread Dicebot via Digitalmars-d-announce
On Thursday, 21 January 2016 at 13:42:13 UTC, Jakob Ovrum wrote: On Thursday, 21 January 2016 at 13:39:48 UTC, Dicebot wrote: I'd suggest at the very least to add a comment before "p.bar();" saying "Must not escape 'p' pointer or @safe-ty will be compromised". I thought about this case, but i

Re: D Article: Memory Safety

2016-01-21 Thread Jakob Ovrum via Digitalmars-d-announce
On Thursday, 21 January 2016 at 13:52:57 UTC, Dicebot wrote: Reasonable, but the UFCS call can result from some other function defined in same module (Phobos modules are not small at all). Even small unlikely violation can completely destroy benefits of @safe so in my opinion one can't be overl

Re: D Article: Memory Safety

2016-01-21 Thread Jakob Ovrum via Digitalmars-d-announce
On Thursday, 21 January 2016 at 13:39:48 UTC, Dicebot wrote: I'd suggest at the very least to add a comment before "p.bar();" saying "Must not escape 'p' pointer or @safe-ty will be compromised". I thought about this case, but it relies on UFCS which is controlled by the callee. The caller ca

Re: D Article: Memory Safety

2016-01-21 Thread Dicebot via Digitalmars-d-announce
On Thursday, 21 January 2016 at 04:31:25 UTC, Jakob Ovrum wrote: That was for non-templated functions where this approach makes no sense. Indeed it is counterproductive, because @trusted on the whole function is a better indication of what needs to be reviewed for memory safety (the whole funct

Re: Walter on his experience as a dev, on running an open source project and D

2016-01-21 Thread burjui via Digitalmars-d-announce
On Wednesday, 20 January 2016 at 03:13:38 UTC, deadalnix wrote: https://www.reddit.com/r/programming/comments/41sdzj/walter_bright_on_being_a_developer_running_an/ I also prefer to work at night, mainly because of silence. A simple test: listen to a song in your headphones at day, then listen

Re: D Article: Memory Safety

2016-01-21 Thread Jakob Ovrum via Digitalmars-d-announce
On Wednesday, 20 January 2016 at 14:04:53 UTC, Jakob Ovrum wrote: snip Thanks for all the feedback. I've pushed a revision with further changes, most of it based on the feedback in this thread. https://github.com/JakobOvrum/jakobovrum.github.io/commit/07c270567097f6cae5d9b95c88bd4d6c8124498c

Re: D Article: Memory Safety

2016-01-21 Thread Kagamin via Digitalmars-d-announce
On Wednesday, 20 January 2016 at 14:04:53 UTC, Jakob Ovrum wrote: The article aims to explain how to use @safe Um, no, the article doesn't explain how to use @safe, it shows patterns that can be used to write safe code. The target audience must already understand safety.

Re: Airfares to Berlin for DConf 2016

2016-01-21 Thread Jacob Carlborg via Digitalmars-d-announce
On 2016-01-21 09:31, Nordlöw wrote: Is there a special hotel, nearby Semantic HQ, where most of the contenders plan to stay? Further, when do contenders usually arrive (the day before)? I don't know but the site mentions a nearby hotel: http://dconf.org/2016/venue.html -- /Jacob Carlborg

Re: Walter on his experience as a dev, on running an open source project and D

2016-01-21 Thread Jacob Carlborg via Digitalmars-d-announce
On 2016-01-21 11:01, deadalnix wrote: On Thursday, 21 January 2016 at 05:14:03 UTC, thedeemon wrote: On Wednesday, 20 January 2016 at 11:07:16 UTC, Rikki Cattermole wrote: From what Walter said, they all knew c. So not really too low level for them. To me it looked like: Walter: "You all writ

Re: Walter on his experience as a dev, on running an open source project and D

2016-01-21 Thread deadalnix via Digitalmars-d-announce
On Thursday, 21 January 2016 at 05:14:03 UTC, thedeemon wrote: On Wednesday, 20 January 2016 at 11:07:16 UTC, Rikki Cattermole wrote: From what Walter said, they all knew c. So not really too low level for them. To me it looked like: Walter: "You all write in C, right?" Audience silent with ex

Re: Beta D 2.070.0-b2

2016-01-21 Thread Nordlöw via Digitalmars-d-announce
On Wednesday, 20 January 2016 at 09:03:50 UTC, Martin Nowak wrote: Well, please write them (targeting stable). Changelog entries should nowadays be part of pull requests. https://github.com/D-Programming-Language/phobos/blob/ca3b4c839770a02f2414b20aa11c38f79419871b/changelog.dd#L9 Ok, I'll loo

Re: Airfares to Berlin for DConf 2016

2016-01-21 Thread Nordlöw via Digitalmars-d-announce
On Wednesday, 20 January 2016 at 09:04:07 UTC, Walter Bright wrote: I saw on the news this evening that air fares for the next 3 weeks will be at a 3 year low. It's a good time to book the flights to Berlin! Is there a special hotel, nearby Semantic HQ, where most of the contenders plan to st