January 12, 2015 Re: Thoughts on replacement languages (Reddit + D) | ||||
---|---|---|---|---|
| ||||
Posted in reply to eles | On Monday, 12 January 2015 at 15:22:41 UTC, eles wrote:
> On Monday, 12 January 2015 at 14:34:41 UTC, francesco.cattoglio wrote:
>> On Monday, 12 January 2015 at 13:27:55 UTC, Adam D. Ruppe wrote:
>>> On Monday, 12 January 2015 at 11:04:45 UTC, francesco.cattoglio wrote:
>
>> To be completely honest, it is my only real gripe with D.
>
> Yes, but it's at the very root of the language.
Not sure about it. Things used to work differently some time ago, if I understand correctly. The GC was changed in order to avoid some memory corruption issues IIRC, before you could allocate during GC cycles.
|
January 12, 2015 Re: Thoughts on replacement languages (Reddit + D) | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrei Alexandrescu | On Monday, 12 January 2015 at 00:33:52 UTC, Andrei Alexandrescu wrote:
> On 1/11/15 4:33 PM, MattCoder wrote:
>> On Sunday, 11 January 2015 at 23:27:34 UTC, Nick B wrote:
>>> Perhaps its better to have a number (average or mean) than no number.
>>> Just ask 50 or 100 uers (or more) for their number of downloads for
>>> the last 12 or 18 months. This is turn will give you a guess-estimate
>>> as to the size of the community. If the number is small, say 4, then
>>> this will indicate that the community is near 100,000 users.
>>
>> Interesting for example, in my case I downloaded twice on the last 12
>> months (2.062 and 2.066).
>
> Answers from others would be helpful. Thanks! -- Andrei
~3 times per release for me.
|
January 12, 2015 Re: Thoughts on replacement languages (Reddit + D) | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrei Alexandrescu | On Sunday, 11 January 2015 at 17:35:19 UTC, Andrei Alexandrescu wrote: > On 1/11/15 7:29 AM, Dicebot wrote: >> On Sunday, 11 January 2015 at 14:43:08 UTC, Ola Fosheim Grøstad wrote: >>> Maybe we should do a comparison thread between D and Rust. It might be >>> interesting, and perhaps encourage some improvements to D. >> >> I am actually writing a "Rust guide as read by D developer" article now >> making random notes on topic. But I don't see this affecting D much as >> most of the things I liked in Rust more were also things I complained >> about in D for ages before. > > That sounds like a very interesting article. Looking forward to it. -- Andrei http://blog.dicebot.lv/2015/01/thoughts-about-rust-from-d-programmer.html Here it is, as promised. It is not very complete but it was getting pretty damn long so I decided to limit myself to something that caught my eye first. I'd really appreciate someone doing the proof reading of my terrible English before reddit'ing away :) |
January 12, 2015 Re: Thoughts on replacement languages (Reddit + D) | ||||
---|---|---|---|---|
| ||||
Posted in reply to Dicebot | On Monday, 12 January 2015 at 18:11:56 UTC, Dicebot wrote:
> On Sunday, 11 January 2015 at 17:35:19 UTC, Andrei Alexandrescu wrote:
>> On 1/11/15 7:29 AM, Dicebot wrote:
>>> On Sunday, 11 January 2015 at 14:43:08 UTC, Ola Fosheim Grøstad wrote:
>>>> Maybe we should do a comparison thread between D and Rust. It might be
>>>> interesting, and perhaps encourage some improvements to D.
>>>
>>> I am actually writing a "Rust guide as read by D developer" article now
>>> making random notes on topic. But I don't see this affecting D much as
>>> most of the things I liked in Rust more were also things I complained
>>> about in D for ages before.
>>
>> That sounds like a very interesting article. Looking forward to it. -- Andrei
>
>
> http://blog.dicebot.lv/2015/01/thoughts-about-rust-from-d-programmer.html
>
> Here it is, as promised. It is not very complete but it was getting pretty damn long so I decided to limit myself to something that caught my eye first.
>
> I'd really appreciate someone doing the proof reading of my terrible English before reddit'ing away :)
There's a lot of missing articles (the/an/a), but other than that it's quite readable.
The import example misses that in D you can just do:
import mod1 = my.long.mod1;
import mod2 = my.long.mod2;
|
January 12, 2015 Re: Thoughts on replacement languages (Reddit + D) | ||||
---|---|---|---|---|
| ||||
Posted in reply to John Colvin | On Monday, 12 January 2015 at 18:55:49 UTC, John Colvin wrote:
> The import example misses that in D you can just do:
>
> import mod1 = my.long.mod1;
> import mod2 = my.long.mod2;
I was originally intending to mention how this is possible but not pushed by language/compiler as the standard import approach and thus effectively ignored. But it is the longest part already. Do you thing it is important?
|
January 12, 2015 Re: Thoughts on replacement languages (Reddit + D) | ||||
---|---|---|---|---|
| ||||
Posted in reply to Dicebot | On Monday, 12 January 2015 at 18:11:56 UTC, Dicebot wrote:
> I'd really appreciate someone doing the proof reading of my terrible English before reddit'ing away :)
I wrote these down, which will get you through the introduction:
My job is all about D programming language
--> the D Programming.
find time to try it in more details.
--> more detail.
reading official guide
--> the official guide
notes on that topic with sort
--> with a sort
reasonably short from.
--> form.
I have come to opinion
--> the opinion
especially transitive ones, most
--> the most
(The rest of the article is well-written and bad English is not noticeable.)
|
January 12, 2015 Re: Thoughts on replacement languages (Reddit + D) | ||||
---|---|---|---|---|
| ||||
Posted in reply to Dicebot | On Monday, 12 January 2015 at 19:01:06 UTC, Dicebot wrote:
> On Monday, 12 January 2015 at 18:55:49 UTC, John Colvin wrote:
>> The import example misses that in D you can just do:
>>
>> import mod1 = my.long.mod1;
>> import mod2 = my.long.mod2;
>
> I was originally intending to mention how this is possible but not pushed by language/compiler as the standard import approach and thus effectively ignored. But it is the longest part already. Do you thing it is important?
I think so. It might not be compiler-enforced but it's both possible and I would recommend people doing it.
|
January 12, 2015 Re: Thoughts on replacement languages (Reddit + D) | ||||
---|---|---|---|---|
| ||||
Posted in reply to Dicebot | On Monday, 12 January 2015 at 19:01:06 UTC, Dicebot wrote:
> On Monday, 12 January 2015 at 18:55:49 UTC, John Colvin wrote:
>> The import example misses that in D you can just do:
>>
>> import mod1 = my.long.mod1;
>> import mod2 = my.long.mod2;
>
> I was originally intending to mention how this is possible but not pushed by language/compiler as the standard import approach and thus effectively ignored. But it is the longest part already. Do you thing it is important?
I do, because the article gives the impression D has no answer to this problem. Why don't you use this feature yourself?
|
January 12, 2015 Re: Thoughts on replacement languages (Reddit + D) | ||||
---|---|---|---|---|
| ||||
Posted in reply to Dicebot | On 1/12/15 11:01 AM, Dicebot wrote: > On Monday, 12 January 2015 at 18:55:49 UTC, John Colvin wrote: >> The import example misses that in D you can just do: >> >> import mod1 = my.long.mod1; >> import mod2 = my.long.mod2; > > I was originally intending to mention how this is possible but not > pushed by language/compiler as the standard import approach and thus > effectively ignored. But it is the longest part already. Do you thing it > is important? http://www.reddit.com/r/programming/comments/2s70mm/thoughts_about_rust_from_a_d_programmer/ Andrei |
January 12, 2015 Re: Thoughts on replacement languages (Reddit + D) | ||||
---|---|---|---|---|
| ||||
Posted in reply to Andrei Alexandrescu | On Monday, 12 January 2015 at 19:25:28 UTC, Andrei Alexandrescu wrote:
> On 1/12/15 11:01 AM, Dicebot wrote:
>> On Monday, 12 January 2015 at 18:55:49 UTC, John Colvin wrote:
>>> The import example misses that in D you can just do:
>>>
>>> import mod1 = my.long.mod1;
>>> import mod2 = my.long.mod2;
>>
>> I was originally intending to mention how this is possible but not
>> pushed by language/compiler as the standard import approach and thus
>> effectively ignored. But it is the longest part already. Do you thing it
>> is important?
>
> http://www.reddit.com/r/programming/comments/2s70mm/thoughts_about_rust_from_a_d_programmer/
>
> Andrei
I have asked to not post on reddit right now for a reason >_<
|
Copyright © 1999-2021 by the D Language Foundation