Re: D on quora ...

2017-10-16 Thread Dmitry Olshansky via Digitalmars-d
On Monday, 16 October 2017 at 20:02:16 UTC, Ecstatic Coder wrote: On Monday, 16 October 2017 at 17:17:29 UTC, Dmitry Olshansky wrote: On Monday, 16 October 2017 at 09:31:51 UTC, Ecstatic Coder If you had tried my website you would have noticed that it's a static web site, so no SQL was harmed

Re: What is the Philosophy of D?

2017-10-16 Thread ketmar via Digitalmars-d
codephantom wrote: I take it from your story, that one could say the philosophy of D, is: 'Do it your way'. and "have fun" too. this is important.

Re: What is the Philosophy of D?

2017-10-16 Thread codephantom via Digitalmars-d
On Monday, 16 October 2017 at 13:56:34 UTC, skymuse wrote: ...Let me tell you why I choose D. D gave me the freedom to code the way I wanted to, Go forced me to think "simply". D gave me every feature possible to solve my problem, Go took them away. D allowed me to program in a style that mat

Re: Proposal: Object/?? Destruction

2017-10-16 Thread sarn via Digitalmars-d
On Sunday, 15 October 2017 at 15:19:21 UTC, Q. Schroll wrote: On Saturday, 14 October 2017 at 23:20:26 UTC, sarn wrote: On Saturday, 14 October 2017 at 22:20:46 UTC, Q. Schroll wrote: Therefore, and because of brackets, you can distinguish f(1, 2) from f([1, 2]). But in f([1, 2]), it's ambigu

Re: What is the Philosophy of D?

2017-10-16 Thread Moritz Maxeiner via Digitalmars-d
On Monday, 16 October 2017 at 00:25:32 UTC, codephantom wrote: D's overview page says "It doesn't come with an overriding philosophy." Is philosophy not important? I'd like to argue, that the problem of focusing on getting the job done quickly and reliably, does *not* leave behind maint

Re: [OT] Re: Why Physicists Still Use Fortran

2017-10-16 Thread jmh530 via Digitalmars-d
On Monday, 16 October 2017 at 18:56:03 UTC, H. S. Teoh wrote: I suppose this is like Walter not daring to write code with 1-based arrays. :D On that note, though, in D I only rarely actually need to specify explicit indices. Foreach and generic code alleviates most cases of explicit indexin

Re: [OT] Re: Why Physicists Still Use Fortran

2017-10-16 Thread Steven Schveighoffer via Digitalmars-d
On 10/16/17 2:42 PM, Manu wrote: That... and they drive on the wrong side of the road! ;) We drive on the right side. Both literally and philosophically :) Seriously though, driving in LA is nothing compared to an eastern city where everything was determined by horse-cart paths. I drove a

Re: D on quora ...

2017-10-16 Thread Ecstatic Coder via Digitalmars-d
On Monday, 16 October 2017 at 17:17:29 UTC, Dmitry Olshansky wrote: On Monday, 16 October 2017 at 09:31:51 UTC, Ecstatic Coder wrote: Btw, when I say you can actually develop complete web servers in Dart and Go just with the components provided in the standard libraries, I really mean it, even

Re: My first experience as a D Newbie

2017-10-16 Thread Random D user via Digitalmars-d
On Friday, 13 October 2017 at 13:14:39 UTC, Steven Schveighoffer wrote: I don't know what the expectations of a Windows user are. In my exprience 80% of mainly Windows devs (in professional environment) use Visual Studio + plugins (e.g. Visual Assist/Dpack etc.). Most of the remaining 20% use

Re: [OT] Re: Why Physicists Still Use Fortran

2017-10-16 Thread H. S. Teoh via Digitalmars-d
On Mon, Oct 16, 2017 at 11:42:56AM -0700, Manu wrote: [...] >That... and they drive on the wrong side of the road! ;) [...] Ah! Well, that is a different story, then. :D My hometown also drives on the wrong side of the road (I learnt driving after I left), and I'm also still chickening out,

Re: [OT] Re: Why Physicists Still Use Fortran

2017-10-16 Thread Jonathan M Davis via Digitalmars-d
On Monday, October 16, 2017 11:42:56 Manu via Digitalmars-d wrote: > That... and they drive on the wrong side of the road! ;) http://jokes.cc.com/funny-lookin--good/yn3vw9/the-wrong-way - Jonathan M Davis

Re: [OT] Re: Why Physicists Still Use Fortran

2017-10-16 Thread Manu via Digitalmars-d
On 16 October 2017 at 10:56, H. S. Teoh via Digitalmars-d < digitalmars-d@puremagic.com> wrote: > On Sun, Oct 15, 2017 at 10:09:04PM -0700, Manu via Digitalmars-d wrote: > >On 15 Oct. 2017 6:40 pm, "Walter Bright via Digitalmars-d" > ><[1]digitalmars-d@puremagic.com> wrote: > [...] > >

Re: D on quora ...

2017-10-16 Thread Jacob Carlborg via Digitalmars-d
On 2017-10-16 09:45, Adam Wilson wrote: The most important SQL DB's all have high quality C libraries. Why not leverage those? If the drivers should be compatible with vibe.d the underlying C library needs to be compatible vibe.d's asynchronous event model. I don't know if they all (the C l

[OT] Re: Why Physicists Still Use Fortran

2017-10-16 Thread H. S. Teoh via Digitalmars-d
On Sun, Oct 15, 2017 at 10:09:04PM -0700, Manu via Digitalmars-d wrote: >On 15 Oct. 2017 6:40 pm, "Walter Bright via Digitalmars-d" ><[1]digitalmars-d@puremagic.com> wrote: [...] > I don't want to even try 1 based. All my learned behaviors with > arrays would just produce corrupt

Re: D on quora ...

2017-10-16 Thread Dmitry Olshansky via Digitalmars-d
On Monday, 16 October 2017 at 09:31:51 UTC, Ecstatic Coder wrote: Btw, when I say you can actually develop complete web servers in Dart and Go just with the components provided in the standard libraries, I really mean it, even if I personally also I programmed in Go. I also was part of Dart t

Re: D on quora ...

2017-10-16 Thread Paulo Pinto via Digitalmars-d
On Monday, 16 October 2017 at 16:11:05 UTC, Ola Fosheim Grøstad wrote: On Monday, 16 October 2017 at 14:24:57 UTC, Paulo Pinto wrote: 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

Re: D on quora ...

2017-10-16 Thread Ola Fosheim Grøstad via Digitalmars-d
On Monday, 16 October 2017 at 14:24:57 UTC, Paulo Pinto wrote: 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

Re: [OT] Re: Why Physicists Still Use Fortran

2017-10-16 Thread Stefan Koch via Digitalmars-d
On Monday, 16 October 2017 at 15:22:30 UTC, Manu wrote: On 15 Oct. 2017 11:50 pm, "Walter Bright via Digitalmars-d" < digitalmars-d@puremagic.com> wrote: On 10/15/2017 10:09 PM, Manu wrote: Haha, incidentally, I've just moved to LA, and I'm failing to convince myself I won't die if I try and

Re: My first experience as a D Newbie

2017-10-16 Thread Rion via Digitalmars-d
On Monday, 16 October 2017 at 09:01:20 UTC, rikki cattermole wrote: And yet my elderly-ish mother uses Linux Mint and she hates technology. It isn't as clear cut as it may appear, these issues. Off-topic but the issue with Linux is not when you have it stable running ( assuming everything wor

Re: [OT] Re: Why Physicists Still Use Fortran

2017-10-16 Thread Manu via Digitalmars-d
On 15 Oct. 2017 11:50 pm, "Walter Bright via Digitalmars-d" < digitalmars-d@puremagic.com> wrote: On 10/15/2017 10:09 PM, Manu wrote: > Haha, incidentally, I've just moved to LA, and I'm failing to convince > myself I won't die if I try and drive here ;) .. I'm still chickening out. > LA? Cool!

Re: D on quora ...

2017-10-16 Thread Ecstatic Coder via Digitalmars-d
On Monday, 16 October 2017 at 13:49:50 UTC, Atila Neves wrote: On Monday, 16 October 2017 at 09:58:46 UTC, Ecstatic Coder wrote: On Sunday, 15 October 2017 at 20:42:36 UTC, Laeeth Isharc wrote: On Sunday, 15 October 2017 at 07:21:55 UTC, Ecstatic Coder wrote: [...] Out of curiosity, what is

Re: D on quora ...

2017-10-16 Thread Paulo Pinto 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: D on quora ...

2017-10-16 Thread Ola Fosheim Grøstad via Digitalmars-d
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_ptr be that slow?

Re: What is the Philosophy of D?

2017-10-16 Thread skymuse via Digitalmars-d
On Monday, 16 October 2017 at 00:25:32 UTC, codephantom wrote: D's overview page says "It doesn't come with an overriding philosophy." Is philosophy not important? I'd like to argue, that the problem of focusing on getting the job done quickly and reliably, does *not* leave behind maint

Re: Will D continu to live after walter death?

2017-10-16 Thread Adam D. Ruppe via Digitalmars-d
On Monday, 16 October 2017 at 09:09:03 UTC, Iain Buclaw wrote: I would be a lot more worried if something happened to me, if I were you. No kidding. The foundation is irrelevant... it is accumulated knowledge that we'd lose with someone going away. Walter has a lot of it... but so do a lot o

Re: D on quora ...

2017-10-16 Thread Atila Neves via Digitalmars-d
On Monday, 16 October 2017 at 09:58:46 UTC, Ecstatic Coder wrote: On Sunday, 15 October 2017 at 20:42:36 UTC, Laeeth Isharc wrote: On Sunday, 15 October 2017 at 07:21:55 UTC, Ecstatic Coder wrote: [...] Out of curiosity, what is it that stops you keeping the heap small and allocating memory

Re: D on quora ...

2017-10-16 Thread Ecstatic Coder via Digitalmars-d
On Monday, 16 October 2017 at 05:20:16 UTC, Dmitry Olshansky wrote: On Sunday, 15 October 2017 at 20:24:02 UTC, Adam Wilson wrote: database access (MySQL, PostgreSQL, Aerospike) libraries are available, That is important actually. So important that it should be a Priority 0 Must Have. Luc

Re: What is the Philosophy of D?

2017-10-16 Thread Ali via Digitalmars-d
On Monday, 16 October 2017 at 00:25:32 UTC, codephantom wrote: D's overview page says "It doesn't come with an overriding philosophy." Then this is exactly, its philosophy Some of the nicer comments I read about D, and one reason why it still stand a chance against other more hyped lan

Re: What is the Philosophy of D?

2017-10-16 Thread qznc via Digitalmars-d
On Monday, 16 October 2017 at 00:25:32 UTC, codephantom wrote: D's overview page says "It doesn't come with an overriding philosophy." Is philosophy not important? I'd like to argue, that the problem of focusing on getting the job done quickly and reliably, does *not* leave behind maint

Re: D on quora ...

2017-10-16 Thread SrMordred via Digitalmars-d
From https://wiki.dlang.org/Vision/2017H2: 2. @nogc: Use of D without a garbage collector, most likely by using reference counting and related methods Unique/Weak references) for reclamation of resources. This task is made challenging by the safety requirement. Eventually it will come (I hop

Re: What is the Philosophy of D?

2017-10-16 Thread Mark via Digitalmars-d
On Monday, 16 October 2017 at 00:25:32 UTC, codephantom wrote: D's overview page says "It doesn't come with an overriding philosophy." Is philosophy not important? I'd like to argue, that the problem of focusing on getting the job done quickly and reliably, does *not* leave behind maint

Re: My first experience as a D Newbie

2017-10-16 Thread jmh530 via Digitalmars-d
On Monday, 16 October 2017 at 09:01:20 UTC, rikki cattermole wrote: And yet my elderly-ish mother uses Linux Mint and she hates technology. It isn't as clear cut as it may appear, these issues. Linux mint is nice.

Re: Will D continu to live after walter death?

2017-10-16 Thread codephantom via Digitalmars-d
On Monday, 16 October 2017 at 09:03:56 UTC, Rion wrote: On Thursday, 12 October 2017 at 15:04:57 UTC, moechofe wrote: What is the wanted lifetime of the project? Is D will manage to pass through time? It is valuable to start a 40 years old project using D? Its a serious topic but that gets way

Re: Will D continu to live after walter death?

2017-10-16 Thread Frank Fuente via Digitalmars-d
On Monday, 16 October 2017 at 09:09:03 UTC, Iain Buclaw wrote: On 12 October 2017 at 17:04, moechofe via Digitalmars-d wrote: What is the wanted lifetime of the project? Is D will manage to pass through time? It is valuable to start a 40 years old project using D? I would be a lot more worrie

Re: Will D continu to live after walter death?

2017-10-16 Thread Joakim via Digitalmars-d
On Monday, 16 October 2017 at 09:03:56 UTC, Rion wrote: On Thursday, 12 October 2017 at 15:04:57 UTC, moechofe wrote: What is the wanted lifetime of the project? Is D will manage to pass through time? It is valuable to start a 40 years old project using D? Its a serious topic but that gets way

Re: D on quora ...

2017-10-16 Thread Ecstatic Coder via Digitalmars-d
On Monday, 16 October 2017 at 02:10:31 UTC, Jerry wrote: On Sunday, 15 October 2017 at 16:29:22 UTC, Ecstatic Coder wrote: If all that is already available, perfect :) [snip] And moreover I'd be delighted to start using D instead of Go for my next web server developments. You can start now a

Re: D on quora ...

2017-10-16 Thread Ecstatic Coder via Digitalmars-d
On Sunday, 15 October 2017 at 20:42:36 UTC, Laeeth Isharc wrote: On Sunday, 15 October 2017 at 07:21:55 UTC, Ecstatic Coder wrote: But as a C++ developer, I can tell you that : D's GC is what prevents me to use it for my current C++ programming tasks. Because I can perfectly live with a GC tha

Re: D on quora ...

2017-10-16 Thread Ecstatic Coder via Digitalmars-d
On Monday, 16 October 2017 at 09:30:03 UTC, Jacob Carlborg wrote: On 2017-10-15 18:29, Ecstatic Coder wrote: Can you just confirm that D's fibers use most of the available processors/cores by default ? It depends entirely what you do with with the fibers. When it comes to vibe.d, it will onl

Re: D on quora ...

2017-10-16 Thread Jacob Carlborg via Digitalmars-d
On 2017-10-16 07:20, Dmitry Olshansky wrote: On Sunday, 15 October 2017 at 20:24:02 UTC, Adam Wilson wrote: database access (MySQL, PostgreSQL, Aerospike) libraries are available, That is important actually. So important that it should be a Priority 0 Must Have. Luckily it should also be

Re: D on quora ...

2017-10-16 Thread Jacob Carlborg via Digitalmars-d
On 2017-10-15 18:29, Ecstatic Coder wrote: Can you just confirm that D's fibers use most of the available processors/cores by default ? It depends entirely what you do with with the fibers. When it comes to vibe.d, it will only run on one core by default, last time I checked. Actually, I loo

Re: D on quora ...

2017-10-16 Thread Ecstatic Coder via Digitalmars-d
Btw, when I say you can actually develop complete web servers in Dart and Go just with the components provided in the standard libraries, I really mean it, even if I personally also I programmed in Go. I also was part of Dart team for about a year. So yeah, I know what you mean. Ok, then ple

Re: Will D continu to live after walter death?

2017-10-16 Thread Iain Buclaw via Digitalmars-d
On 12 October 2017 at 17:04, moechofe via Digitalmars-d wrote: > What is the wanted lifetime of the project? > Is D will manage to pass through time? > It is valuable to start a 40 years old project using D? I would be a lot more worried if something happened to me, if I were you. Iain.

Re: Runtime.initialize nothrow?

2017-10-16 Thread Jacob Carlborg via Digitalmars-d
On 2017-10-15 16:19, Luís Marques wrote: The initialize and terminate methods of core.runtime.Runtime aren't nothrow. Can initialize actually throw? If so, is it safe to catch the Throwable and use it, given that the RT isn't properly initialized? If it doesn't actually throw, shouldn't it be m

Re: Why Physicists Still Use Fortran

2017-10-16 Thread qznc via Digitalmars-d
On Monday, 16 October 2017 at 00:26:20 UTC, H. S. Teoh wrote: On Sun, Oct 15, 2017 at 03:09:21PM -0700, Walter Bright via Digitalmars-d wrote: http://moreisdifferent.com/2015/07/16/why-physicsts-still-use-fortran/ Some good information there! 1-based array indexing... I don't know, but I've

Re: Will D continu to live after walter death?

2017-10-16 Thread Rion via Digitalmars-d
On Thursday, 12 October 2017 at 15:04:57 UTC, moechofe wrote: What is the wanted lifetime of the project? Is D will manage to pass through time? It is valuable to start a 40 years old project using D? Its a serious topic but that gets way too much joking. While D is part of the foundation, tha

Re: My first experience as a D Newbie

2017-10-16 Thread rikki cattermole via Digitalmars-d
On 16/10/2017 9:56 AM, Rion wrote: On Sunday, 15 October 2017 at 20:27:35 UTC, Laeeth Isharc wrote: D is much less gratifying than other languages for most people.  Just like Windows was more gratifying than Linux for most people in 2000.  And I suppose that's likely to change slowly, but conti

Re: My first experience as a D Newbie

2017-10-16 Thread Rion via Digitalmars-d
On Sunday, 15 October 2017 at 20:27:35 UTC, Laeeth Isharc wrote: D is much less gratifying than other languages for most people. Just like Windows was more gratifying than Linux for most people in 2000. And I suppose that's likely to change slowly, but continue to be the case for a while so l

Re: D on quora ...

2017-10-16 Thread Adam Wilson via Digitalmars-d
On 10/15/17 13:40, Laeeth Isharc wrote: On Saturday, 14 October 2017 at 22:43:33 UTC, Adam Wilson wrote: On 10/7/17 14:08, Laeeth Isharc wrote: In a polyglot environment, D's code generation and introspection abilities might be quite valuable if it allows you to write core building blocks on

Re: D on quora ...

2017-10-16 Thread Adam Wilson via Digitalmars-d
On 10/15/17 22:20, Dmitry Olshansky wrote: On Sunday, 15 October 2017 at 20:24:02 UTC, Adam Wilson wrote: database access (MySQL, PostgreSQL, Aerospike) libraries are available, That is important actually. So important that it should be a Priority 0 Must Have. Luckily it should also be qu