Re: D Article: Memory Safety

2016-01-20 Thread H. S. Teoh via Digitalmars-d-announce
On Thu, Jan 21, 2016 at 04:59:01AM +, Basile B. via Digitalmars-d-announce wrote: [...] > Altgough one thing, attributes are not the easy part of D. I've > recently encountered a case were in the library attributes were > allright, test OK, and then suddently when I've started to use the >

Re: D Article: Memory Safety

2016-01-20 Thread Jakob Ovrum via Digitalmars-d-announce
On Wednesday, 20 January 2016 at 20:28:03 UTC, Jon D wrote: This is passes the @safe constraint, but 'stdout.writeln()' and 'stderr.writeln()' do not. (My program uses stderr.) stderr/stdout/stdin are __gshared and can't be referenced by safe code. The module level version of writeln, etc.,

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

2016-01-20 Thread thedeemon via Digitalmars-d-announce
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 expression on their faces "What is C? We've only heard about

Re: D Article: Memory Safety

2016-01-20 Thread Jakob Ovrum via Digitalmars-d-announce
On Wednesday, 20 January 2016 at 19:55:45 UTC, H. S. Teoh wrote: On Wed, Jan 20, 2016 at 07:25:43PM +, Dicebot via Digitalmars-d-announce wrote: `auto p = () @trusted { return } ();` Huh, I thought Andrei was opposed to this idiom? Is it now considered reserved for templates or something

Re: D Article: Memory Safety

2016-01-20 Thread Basile B. via Digitalmars-d-announce
On Thursday, 21 January 2016 at 04:59:01 UTC, Basile B. wrote: 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.

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

2016-01-20 Thread epsilomish via Digitalmars-d-announce
On Wednesday, 20 January 2016 at 21:38:55 UTC, Walter Bright wrote: On 1/20/2016 12:41 PM, epsilomish wrote: Actually, the 'alias this' is probably not that much a problem. In their shoes I would even ask myself: mmh what is this obscure feature, let's have a deeper look to D...Anyway the

Re: D Article: Memory Safety

2016-01-20 Thread Jakob Ovrum via Digitalmars-d-announce
On Wednesday, 20 January 2016 at 15:28:05 UTC, jmh530 wrote: I like the description of @trusted and template inference. Template inference, in particular, was not something that was obvious to me when first reading about D. I'm not sure how clear you make it that you can still mark templates

Re: D Article: Memory Safety

2016-01-20 Thread Basile B. 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.

Re: D Article: Memory Safety

2016-01-20 Thread H. S. Teoh via Digitalmars-d-announce
On Thu, Jan 21, 2016 at 05:09:48AM +, Basile B. via Digitalmars-d-announce wrote: [...] > I mean '@safe' at too low level is a handicap. It's like 'const'. They > are hard to use, mostly because of transitivness. These attributes are > never a noop. Transitivity also makes const really

Re: D Article: Memory Safety

2016-01-20 Thread rsw0x 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. my

Re: D Article: Memory Safety

2016-01-20 Thread Jakob Ovrum via Digitalmars-d-announce
On Thursday, 21 January 2016 at 06:20:01 UTC, rsw0x wrote: okay, I'll just use @safe here... and nothing else in third party libraries/half of phobos is @safe friendly so I guess I'll wrap it in @trusted oh fuck it Yeah, using @trusted like that is counterproductive. Just use @system or

Re: D Article: Memory Safety

2016-01-20 Thread default0 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.

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

2016-01-20 Thread Walter Bright via Digitalmars-d-announce
On 1/20/2016 12:41 PM, epsilomish wrote: Actually, the 'alias this' is probably not that much a problem. In their shoes I would even ask myself: mmh what is this obscure feature, let's have a deeper look to D...Anyway the technical part of the talk is small, there is the thing about lexical D

Re: Dates on Website [was Using D with IntelliJ]

2016-01-20 Thread Russel Winder via Digitalmars-d-announce
[…] > http://wiki.dlang.org/IDEs […] Can someone convert the dates to proper ISO8601 format. Whilst the current form is neither traditional USA nor traditional (almost) rest of the world, it is a bit of a mess. Covnerting to IS8601 would be the best solution. -- Russel.

Airfares to Berlin for DConf 2016

2016-01-20 Thread Walter Bright via Digitalmars-d-announce
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!

Re: Beta D 2.070.0-b2

2016-01-20 Thread Martin Nowak via Digitalmars-d-announce
On Tuesday, 19 January 2016 at 13:07:50 UTC, Nordlöw wrote: I'm still missing entries for - https://github.com/D-Programming-Language/phobos/pulls?utf8=%E2%9C%93=is%3Apr+is%3Aclosed++author%3Anordlow - https://github.com/D-Programming-Language/phobos/pull/3288 Well, please write them

Re: Airfares to Berlin for DConf 2016

2016-01-20 Thread Martin Nowak via Digitalmars-d-announce
On 01/20/2016 10:04 AM, 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! Though subway tickets were increased in 2015 and reached an all-time high of 2,70€ ;). It's great to have

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

2016-01-20 Thread Rikki Cattermole via Digitalmars-d-announce
On 21/01/16 12:22 AM, epsilomish wrote: On Wednesday, 20 January 2016 at 11:07:16 UTC, Rikki Cattermole wrote: On 20/01/16 11:58 PM, Joakim wrote: On Wednesday, 20 January 2016 at 03:13:38 UTC, deadalnix wrote:

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

2016-01-20 Thread epsilomish via Digitalmars-d-announce
On Wednesday, 20 January 2016 at 11:07:16 UTC, Rikki Cattermole wrote: On 20/01/16 11:58 PM, Joakim wrote: 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/ Thanks for the link,

D Article: Memory Safety

2016-01-20 Thread Jakob Ovrum via Digitalmars-d-announce
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.

Re: Logo for D

2016-01-20 Thread karabuta via Digitalmars-d-announce
On Monday, 18 January 2016 at 22:48:52 UTC, Brad Anderson wrote: On Monday, 18 January 2016 at 10:28:48 UTC, Guillaume Piolat wrote: On Saturday, 16 January 2016 at 17:55:13 UTC, karabuta wrote: I've long wished the D and moons were what was considered the logo[1]. The current one has three