Interview at Lang.NEXT

Craig Dillabaugh via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Wed Jun 4 11:33:57 PDT 2014


On Wednesday, 4 June 2014 at 17:31:56 UTC, Ary Borenszweig wrote:
> On 6/4/14, 1:27 PM, Meta wrote:
>> On Wednesday, 4 June 2014 at 06:19:05 UTC, Andrei Alexandrescu 
>> wrote:
>>> http://www.reddit.com/r/programming/comments/27911b/conversation_with_andrei_alexandrescu_all_things/
>>>
>>>
>>> Andrei
>>
>> When that person made the statement about expressing his 
>> mental model in
>> a simpler way that is still somewhat fast, and then 
>> optimizing/adding
>> annotations/etc. after he gets it working, I kept expecting 
>> you to
>> mention RDMD and D's ability to be used for scripting, and
>> purity/nothrow/@safe/@nogc inference. This is an advantage D 
>> has over
>> Rust and C++. With Rust especially, there is no way to avoid 
>> dealing
>> with its pointer semantics, as they permeate the language. 
>> With D, you
>> can write in a C or even Python-like way (while not having to 
>> worry
>> about ownership, memory, etc. as the GC handles it for you), 
>> but you can
>> then optimize and add annotations to your code to get a lot 
>> more
>> performance and safety once your initial implementation is 
>> working.
>
> You still have to worry about types, though.

But using function templates and the like you can still get 
fairly 'Python-like' code in D.  I find dealing with types to be 
one of the areas that requires the 'least' amount of mental 
effort in software development. I don't understand why people see 
'untyped' languages as simpler for the most part.






More information about the Digitalmars-d-announce mailing list