Re: Unsigned comparison operators

2017-10-17 Thread Cecil Ward via Digitalmars-d
On Friday, 29 September 2017 at 14:13:07 UTC, Stefan Koch wrote: I have a hard time imagining a use case. It just came up in a real application. It was a case of bit-twiddling, happened to come up during some weird 'arithmetic' when trying to write a jump-free replacement expression for a ?

Re: AWS SDK

2017-10-17 Thread Brad Roberts via Digitalmars-d
On 10/17/2017 6:32 PM, Ky-Anh Huynh via Digitalmars-d wrote: On Tuesday, 28 June 2016 at 00:36:31 UTC, Brad Roberts wrote: On 6/27/16 10:53 AM, Brad Roberts via Digitalmars-d wrote: On 6/26/2016 4:06 PM, Jadbox via Digitalmars-d wrote: [...] I have some old code here: https://github.com/br

Re: Will D continu to live after walter death?

2017-10-17 Thread jmh530 via Digitalmars-d
On Wednesday, 18 October 2017 at 01:17:36 UTC, Mattcoder wrote: Deserves a patreon. I'd contribute. Matheus. The nice thing about donating to the D Foundation is that my company can match my donations (200%, cha-ching!). They wouldn't do it for a random patreon.

Re: AWS SDK

2017-10-17 Thread Ky-Anh Huynh via Digitalmars-d
On Tuesday, 28 June 2016 at 00:36:31 UTC, Brad Roberts wrote: On 6/27/16 10:53 AM, Brad Roberts via Digitalmars-d wrote: On 6/26/2016 4:06 PM, Jadbox via Digitalmars-d wrote: [...] I have some old code here: https://github.com/braddr/downloads.dlang.org/tree/master/src It has sig v2 s

Re: Will D continu to live after walter death?

2017-10-17 Thread Mattcoder via Digitalmars-d
On Tuesday, 17 October 2017 at 08:40:18 UTC, Walter Bright wrote: On 10/16/2017 2:09 AM, Iain Buclaw wrote: I would be a lot more worried if something happened to me, if I were you. You're right, you're a heluva amazing one man show with gdc. Deserves a patreon. I'd contribute. Matheus.

Re: What is the Philosophy of D?

2017-10-17 Thread codephantom via Digitalmars-d
On Tuesday, 17 October 2017 at 09:24:39 UTC, Dukc wrote: On Monday, 16 October 2017 at 00:25:32 UTC, codephantom wrote: Is philosophy not important? I think that if somebody wants to nail down a philosophy for D, the main page puts it well: "The best paradigm is to not impose something at th

Re: D on quora ...

2017-10-17 Thread Ola Fosheim Grøstad via Digitalmars-d
On Tuesday, 17 October 2017 at 10:05:23 UTC, Atila Neves wrote: It's when you have a shared_ptr to an object that has a shared_ptr to an object that has a ... (or unique_ptrs along the way). Well, yes I've seen some online lectures/tutorials that use it for managing graphs and linked lists, b

Re: Why Physicists Still Use Fortran

2017-10-17 Thread kdevel via Digitalmars-d
On Monday, 16 October 2017 at 09:06:01 UTC, qznc wrote: Dijkstra made a good argument for zero-based: https://www.cs.utexas.edu/users/EWD/transcriptions/EWD08xx/EWD831.html Donald Knuth on that proposal ;-) Edsger Dijkstra's Retirement Banquet - Part 8 of 13 https://www.youtube.com/watch?v=6gH

Alternative to __traits(compiles)

2017-10-17 Thread bauss via Digitalmars-d
Could we have an alternative version to __traits(compiles) that will give you the compiler errors? Something like: enum compilerErrors = __traits(compilerErrors, mixin(code)); // compilerErrors should be null if there are no errors. static if (compilerErrors) { pragma(msg, "Failed to compil

Re: Why Physicists Still Use Fortran

2017-10-17 Thread jmh530 via Digitalmars-d
On Tuesday, 17 October 2017 at 16:31:07 UTC, Meta wrote: This is just plain negligence on upper management's part. I can't believe they got that far without doing due diligence to verify his results. Of course you're supposed to perform due diligence before buying something. Not 1-2 years a

Re: Why Physicists Still Use Fortran

2017-10-17 Thread Meta via Digitalmars-d
On Tuesday, 17 October 2017 at 13:09:37 UTC, Steven Schveighoffer wrote: Ouch! I had an experience like that once. I worked at a company that bought a one-man show's company who had an impressive load-balancing software we wanted to incorporate in our system. About 1-2 years into him working

Re: D on quora ...

2017-10-17 Thread 12345swordy via Digitalmars-d
On Friday, 6 October 2017 at 17:14:51 UTC, Rion wrote: https://www.quora.com/What-is-your-review-of-D-programming-language It seems that D still has the GC being mentioned up to today. Maybe its better to move the standard library slower to a non gc version in the future... There is nothing

Re: Why Physicists Still Use Fortran

2017-10-17 Thread Ilya Yaroshenko via Digitalmars-d
On Tuesday, 17 October 2017 at 13:36:59 UTC, Kagamin wrote: Arrays (or in physics-speak, matrices) multiplied together quite intuitively as: C = A*B gives an element-by-element multiplication of A and B, assuming A and B are the same size. Ehhh? The same true for ndslice. ndslice returns laz

Re: Why Physicists Still Use Fortran

2017-10-17 Thread Kagamin via Digitalmars-d
Arrays (or in physics-speak, matrices) multiplied together quite intuitively as: C = A*B gives an element-by-element multiplication of A and B, assuming A and B are the same size. Ehhh?

Re: Why Physicists Still Use Fortran

2017-10-17 Thread Steven Schveighoffer via Digitalmars-d
On 10/17/17 4:40 AM, crimaniak wrote: On Sunday, 15 October 2017 at 22:09:21 UTC, Walter Bright wrote: http://moreisdifferent.com/2015/07/16/why-physicsts-still-use-fortran/ Some good information there! Especially comments: George Michaelson • a day ago One of the saddest moments of my caree

Re: D on quora ...

2017-10-17 Thread Atila Neves via Digitalmars-d
On Monday, 16 October 2017 at 14:14:50 UTC, Ola Fosheim Grøstad wrote: On Monday, 16 October 2017 at 13:49:50 UTC, Atila Neves wrote: A std::shared_ptr going out of scope can pause the program for just as long as a GC mark-and-sweep. I don't use shared_ptr much, but why would a single shared_p

Re: What is the Philosophy of D?

2017-10-17 Thread Dukc via Digitalmars-d
On Monday, 16 October 2017 at 00:25:32 UTC, codephantom wrote: Is philosophy not important? I think that if somebody wants to nail down a philosophy for D, the main page puts it well: "The best paradigm is to not impose something at the expense of others". I also heard that long ago there wa

Re: Why Physicists Still Use Fortran

2017-10-17 Thread crimaniak via Digitalmars-d
On Sunday, 15 October 2017 at 22:09:21 UTC, Walter Bright wrote: http://moreisdifferent.com/2015/07/16/why-physicsts-still-use-fortran/ Some good information there! Especially comments: George Michaelson • a day ago One of the saddest moments of my career in computer centre helpdesk was talk

Re: Will D continu to live after walter death?

2017-10-17 Thread Walter Bright via Digitalmars-d
On 10/16/2017 2:09 AM, Iain Buclaw wrote: I would be a lot more worried if something happened to me, if I were you. You're right, you're a heluva amazing one man show with gdc.

Re: Will D continu to live after walter death?

2017-10-17 Thread Walter Bright via Digitalmars-d
On 10/16/2017 2:03 AM, Rion wrote: Its a serious topic but that gets way too much joking. It is a serious topic. One of the reasons for making it all Boost licensed was to make sure there'd be no legal problems for whoever wanted to pick up the torch. The other thing is to make the user base