Lang.NEXT panel

2014-06-04 Thread Andrei Alexandrescu via Digitalmars-d-announce
Of possible interest. http://www.reddit.com/r/programming/comments/278twt/panel_systems_programming_in_2014_and_beyond/ Andrei

Interview at Lang.NEXT

2014-06-04 Thread Andrei Alexandrescu via Digitalmars-d-announce
http://www.reddit.com/r/programming/comments/27911b/conversation_with_andrei_alexandrescu_all_things/ Andrei

Re: Interview at Lang.NEXT

2014-06-04 Thread Joakim via Digitalmars-d-announce
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/ wtf, the Mid Quality video is 1280x720 resolution HD video, guess they think every programmer has a super-fast internet

Re: Interview at Lang.NEXT

2014-06-04 Thread Jonathan M Davis via Digitalmars-d-announce
On Wed, 04 Jun 2014 07:33:01 + Joakim via Digitalmars-d-announce digitalmars-d-announce@puremagic.com 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/ wtf,

Re: Interview at Lang.NEXT

2014-06-04 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 6/4/14, 9:33 AM, Joakim 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/ wtf, the Mid Quality video is 1280x720 resolution HD video, guess they think every

Re: Interview at Lang.NEXT

2014-06-04 Thread Walter Bright via Digitalmars-d-announce
On 6/4/2014 2:08 AM, Andrei Alexandrescu wrote: FWIW I'm not sure high resolution is necessary or recommended when watching me :o). -- Andrei I look better at low res.

Re: vibe.d 0.7.20 has been released

2014-06-04 Thread Sönke Ludwig via Digitalmars-d-announce
Am 03.06.2014 21:05, schrieb Mattcoder: On Tuesday, 3 June 2014 at 18:27:20 UTC, Sönke Ludwig wrote: Lot's of smaller improvements in this release... Awesome and think you should have spoken in DConf. :) Matheus. Thanks! Somehow I always manage to pile up enough work (and other duties) to

Re: Interview at Lang.NEXT

2014-06-04 Thread w0rp via Digitalmars-d-announce
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 I never post on Reddit myself, but I noticed the guy asking about Qt ports. Someone else can tell him about my

Re: vibe.d 0.7.20 has been released

2014-06-04 Thread Craig Dillabaugh via Digitalmars-d-announce
On Tuesday, 3 June 2014 at 18:27:20 UTC, Sönke Ludwig wrote: Lot's of smaller improvements in this release, please have a look at the full change log. Some notable points: - Various additions to the web framework package [1], including compile-time localization support - New graph based

Re: Interview at Lang.NEXT

2014-06-04 Thread Meta via Digitalmars-d-announce
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

Re: Interview at Lang.NEXT

2014-06-04 Thread Walter Bright via Digitalmars-d-announce
On 6/4/2014 4:27 AM, w0rp 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 I never post on Reddit myself, but I noticed the guy asking about Qt ports.

Re: DConf 2014 Day 1 Talk 2

2014-06-04 Thread Dicebot via Digitalmars-d-announce
On Tuesday, 3 June 2014 at 16:43:32 UTC, Andrei Alexandrescu wrote: https://news.ycombinator.com/newest http://www.reddit.com/r/programming/comments/277k5c/dconf_2014_day_1_talk_2_templates_in_the_wild_a/ Andrei Mirror: http://youtu.be/TlqVu9RtoeY

Re: Interview at Lang.NEXT

2014-06-04 Thread Ary Borenszweig via Digitalmars-d-announce
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

Re: Interview at Lang.NEXT

2014-06-04 Thread Meta via Digitalmars-d-announce
On Wednesday, 4 June 2014 at 17:31:56 UTC, Ary Borenszweig wrote: You still have to worry about types, though. Yes, but you can often get away without explicitly writing types in D, and there's always std.variant.Variant when you don't want to bother with them.

Re: Interview at Lang.NEXT

2014-06-04 Thread bearophile via Digitalmars-d-announce
Meta: and there's always std.variant.Variant when you don't want to bother with them. How many good usages of D Variant do you know? Bye, bearophile

Re: Interview at Lang.NEXT

2014-06-04 Thread Meta via Digitalmars-d-announce
On Wednesday, 4 June 2014 at 17:57:40 UTC, Ary Borenszweig wrote: Even in function signatures? alias var = std.variant.Variant; auto DoStuff(var x, var y) { //Do stuff with x and y }

Re: Interview at Lang.NEXT

2014-06-04 Thread Ary Borenszweig via Digitalmars-d-announce
On 6/4/14, 2:50 PM, Meta wrote: On Wednesday, 4 June 2014 at 17:31:56 UTC, Ary Borenszweig wrote: You still have to worry about types, though. Yes, but you can often get away without explicitly writing types in D, and there's always std.variant.Variant when you don't want to bother with them.

Re: Interview at Lang.NEXT

2014-06-04 Thread Meta via Digitalmars-d-announce
On Wednesday, 4 June 2014 at 17:55:15 UTC, bearophile wrote: How many good usages of D Variant do you know? Bye, bearophile It depends on what you mean by a good usage. I rarely ever use Variant, but you *can* use it if you need weak and/or dynamic typing.

Re: Interview at Lang.NEXT

2014-06-04 Thread Ary Borenszweig via Digitalmars-d-announce
On 6/4/14, 2:59 PM, Meta wrote: On Wednesday, 4 June 2014 at 17:57:40 UTC, Ary Borenszweig wrote: Even in function signatures? alias var = std.variant.Variant; auto DoStuff(var x, var y) { //Do stuff with x and y } Cool! It also looks nice too.

Re: Interview at Lang.NEXT

2014-06-04 Thread dennis luehring via Digitalmars-d-announce
Am 04.06.2014 19:57, schrieb Meta: On Wednesday, 4 June 2014 at 17:55:15 UTC, bearophile wrote: How many good usages of D Variant do you know? Bye, bearophile It depends on what you mean by a good usage. I rarely ever use Variant, but you *can* use it if you need weak and/or dynamic typing.

Re: Interview at Lang.NEXT

2014-06-04 Thread Meta via Digitalmars-d-announce
On Wednesday, 4 June 2014 at 18:01:04 UTC, dennis luehring wrote: Am 04.06.2014 19:57, schrieb Meta: On Wednesday, 4 June 2014 at 17:55:15 UTC, bearophile wrote: How many good usages of D Variant do you know? Bye, bearophile It depends on what you mean by a good usage. I rarely ever use

Re: Interview at Lang.NEXT

2014-06-04 Thread Adam D. Ruppe via Digitalmars-d-announce
On Wednesday, 4 June 2014 at 18:03:48 UTC, Ary Borenszweig wrote: Cool! It also looks nice too. you should check out my jsvar too https://github.com/adamdruppe/arsd/blob/master/jsvar.d weak typing and dynamic like javascript: import arsd.jsvar; void main() { var a = 10; var

Re: Interview at Lang.NEXT

2014-06-04 Thread bearophile via Digitalmars-d-announce
Adam D. Ruppe: Of course, sometimes the type still matters, Haskell programmers have a very different attitude toward types. They do a kind of type-driven programming, even in small programs. They lay down the data types (like the algebraic data types that describe the data structures of

Re: DConf 2014 Day 1 Talk 2

2014-06-04 Thread deadalnix via Digitalmars-d-announce
On Tuesday, 3 June 2014 at 16:43:32 UTC, Andrei Alexandrescu wrote: https://news.ycombinator.com/newest http://www.reddit.com/r/programming/comments/277k5c/dconf_2014_day_1_talk_2_templates_in_the_wild_a/ Andrei I seems that both of you are quite confused between clang and LLVM.

Re: Interview at Lang.NEXT

2014-06-04 Thread Craig Dillabaugh via Digitalmars-d-announce
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

Re: Interview at Lang.NEXT

2014-06-04 Thread Adam D. Ruppe via Digitalmars-d-announce
On Wednesday, 4 June 2014 at 18:37:24 UTC, Craig Dillabaugh wrote: But shouldn't the '26' be '1016'? In javascript it would, but I hate that so I did something more sane: + always coerces both operands to be numbers, then adds them. To get concat, we use the D operator ~.

Re: Interview at Lang.NEXT

2014-06-04 Thread Adam D. Ruppe via Digitalmars-d-announce
On Wednesday, 4 June 2014 at 18:29:49 UTC, bearophile wrote: Haskell programmers have a very different attitude toward types. Aye, that's more like how I prefer to do it - I like to use separate types for virtually everything in real code.

Re: Interview at Lang.NEXT

2014-06-04 Thread Andrew Edwards via Digitalmars-d-announce
On 6/4/14, 2:37 PM, Craig Dillabaugh wrote: On Wednesday, 4 June 2014 at 18:14:22 UTC, Adam D. Ruppe wrote: On Wednesday, 4 June 2014 at 18:03:48 UTC, Ary Borenszweig wrote: clip void main() { var a = 10; var b = 20; b += a; b -= 4; import std.stdio;

Re: Interview at Lang.NEXT

2014-06-04 Thread Nick Sabalausky via Digitalmars-d-announce
On 6/4/2014 2:33 PM, Craig Dillabaugh wrote: 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

Re: Interview at Lang.NEXT

2014-06-04 Thread bearophile via Digitalmars-d-announce
Nick Sabalausky: In my experience, using heavy dynamic typing throughout a program creates far more work (mainly debugging) than it avoids. Even in tiny ~100 line programs, I've spent large amounts of time tracking down bugs a sane compiler would have immediately pointed out with a

Re: Interview at Lang.NEXT

2014-06-04 Thread Dicebot via Digitalmars-d-announce
On Wednesday, 4 June 2014 at 19:43:53 UTC, bearophile wrote: Nick Sabalausky: In my experience, using heavy dynamic typing throughout a program creates far more work (mainly debugging) than it avoids. Even in tiny ~100 line programs, I've spent large amounts of time tracking down bugs a sane

Re: Interview at Lang.NEXT

2014-06-04 Thread Ary Borenszweig via Digitalmars-d-announce
On 6/4/14, 3:33 PM, Craig Dillabaugh wrote: 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:

Re: Interview at Lang.NEXT

2014-06-04 Thread Craig Dillabaugh via Digitalmars-d-announce
On Wednesday, 4 June 2014 at 18:54:00 UTC, Andrew Edwards wrote: On 6/4/14, 2:37 PM, Craig Dillabaugh wrote: On Wednesday, 4 June 2014 at 18:14:22 UTC, Adam D. Ruppe wrote: On Wednesday, 4 June 2014 at 18:03:48 UTC, Ary Borenszweig wrote: clip But shouldn't the '26' be '1016'? That should

Re: Interview at Lang.NEXT

2014-06-04 Thread Craig Dillabaugh via Digitalmars-d-announce
On Wednesday, 4 June 2014 at 20:10:51 UTC, Ary Borenszweig wrote: On 6/4/14, 3:33 PM, Craig Dillabaugh wrote: 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: clip But

Re: Lang.NEXT panel

2014-06-04 Thread Joakim via Digitalmars-d-announce
On Wednesday, 4 June 2014 at 06:13:39 UTC, Andrei Alexandrescu wrote: Of possible interest. http://www.reddit.com/r/programming/comments/278twt/panel_systems_programming_in_2014_and_beyond/ Andrei Nice panel. Not much really new there, but gives an idea of what you language designers are

Re: Interview at Lang.NEXT

2014-06-04 Thread Adam D. Ruppe via Digitalmars-d-announce
On Wednesday, 4 June 2014 at 21:02:21 UTC, Craig Dillabaugh wrote: However, my primary point was that adding a string to a number is really an 'undefined' operation. So I don't think such automatic casting is (generally) helpful. Yeah, I'm generally against it... but I have a weird view of

Re: Interview at Lang.NEXT

2014-06-04 Thread Ary Borenszweig via Digitalmars-d-announce
On 6/4/14, 6:11 PM, Craig Dillabaugh wrote: On Wednesday, 4 June 2014 at 20:10:51 UTC, Ary Borenszweig wrote: On 6/4/14, 3:33 PM, Craig Dillabaugh wrote: 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

Re: Interview at Lang.NEXT

2014-06-04 Thread Ben Boeckel via Digitalmars-d-announce
On Wed, Jun 04, 2014 at 19:13:32 -0300, Ary Borenszweig via Digitalmars-d-announce wrote: The problem comes when you need to refactor your code and swap one type for another. You have to change all ocurrences of that type in that situation for another. That's what polymorphism and type