Re: Advertise D's great compatibilty with JavaScript

2017-10-13 Thread John Gabriele via Digitalmars-d
On Monday, 19 June 2017 at 02:02:05 UTC, rikki cattermole wrote: On 19/06/2017 2:57 AM, Laeeth Isharc wrote: On Sunday, 18 June 2017 at 23:11:25 UTC, rikki cattermole wrote: On 18/06/2017 5:29 PM, Meta wrote: We should be careful not to make *too* close a comparison. While Javascript is a

Re: Thoughts about D

2017-11-28 Thread John Gabriele via Digitalmars-d
On Tuesday, 28 November 2017 at 08:58:46 UTC, Joakim wrote: Since Mike started the official D blog last summer, downloads of the reference compiler are up 90%: http://erdani.com/d/downloads.daily.png I don't think that's a coincidence and attribute a significant chunk of that to his

Wiki down?

2017-12-15 Thread John Gabriele via Digitalmars-d
Not sure where to mention this, but it appears that the wiki's down (for me at least). I can ping it, but it won't come up in my browser.

Re: Wiki down?

2017-12-15 Thread John Gabriele via Digitalmars-d
On Friday, 15 December 2017 at 21:25:52 UTC, H. S. Teoh wrote: On Fri, Dec 15, 2017 at 08:40:17PM +, John Gabriele via Digitalmars-d wrote: Not sure where to mention this, but it appears that the wiki's down (for me at least). I can ping it, but it won't come up in my browser. Down

What is this "dd" doc format?

2017-12-19 Thread John Gabriele via Digitalmars-d
I just went looking for the source for the dlang.org overview page, and found [this](https://github.com/dlang/dlang.org/blob/master/overview.dd). I've seen and used a lot of markup formats, but have never run across this. What format is it? Also curious: for what reasons was it chosen over a

Re: Adding Markdown to Ddoc

2017-12-08 Thread John Gabriele via Digitalmars-d
On Friday, 8 December 2017 at 10:13:28 UTC, Walter Bright wrote: On 12/8/2017 1:48 AM, Jacob Carlborg wrote: > I think we should try to support standard markdown [2] Unfortunately, there's really no such thing. Well, the main standardization effort is [CommonMark](http://commonmark.org/).

Re: Adding Markdown to Ddoc

2017-12-08 Thread John Gabriele via Digitalmars-d
On Friday, 8 December 2017 at 16:43:56 UTC, John Gabriele wrote: If going forward with a rolling your own limited markdown version, go with a subset of CommonMark. Sorry, typo, that should be, "consider going with".

Re: Adding Markdown to Ddoc

2017-12-07 Thread John Gabriele via Digitalmars-d
On Wednesday, 6 December 2017 at 04:11:33 UTC, Walter Bright wrote: https://help.github.com/articles/basic-writing-and-formatting-syntax/ Anyone interested in picking up the flag? (I know this has come up before, and I've been opposed to it, but I've changed my mind.) Great to hear this! :)

Re: Adding Markdown to Ddoc

2017-12-11 Thread John Gabriele via Digitalmars-d
On Monday, 11 December 2017 at 00:54:00 UTC, Walter Bright wrote: Don't get me wrong, I think commonmarkdown is a worthy effort, and is definitely in the running to be a standard. Certainly a lot more effort seems to have been put into it vs other markdowns. Note that CommonMark isn't

Re: Adding Markdown to Ddoc

2017-12-11 Thread John Gabriele via Digitalmars-d
On Monday, 11 December 2017 at 15:45:07 UTC, Guillaume Piolat wrote: The CommonMark approach is to just take the union of all possible features and call it a day. Standards without opinions don't deserve to be implemented by anyone. I disagree. If anything, it's more of a subset of features

Re: Adding Markdown to Ddoc

2017-12-12 Thread John Gabriele via Digitalmars-d
On Monday, 11 December 2017 at 00:54:00 UTC, Walter Bright wrote: I have a more pragmatic definition of a standard: 1. Products that implement it say they adhere to it and defer to it as the authority on correct behavior. 2. There's more than one such product. 3. There's more products

Re: Adding Markdown to Ddoc

2017-12-12 Thread John Gabriele via Digitalmars-d
On Tuesday, 12 December 2017 at 15:59:42 UTC, John Gabriele wrote: On Monday, 11 December 2017 at 00:54:00 UTC, Walter Bright wrote: I have a more pragmatic definition of a standard: 1. Products that implement it say they adhere to it and defer to it as the authority on correct behavior.

Re: A strategic vision for D

2018-05-01 Thread John Gabriele via Digitalmars-d
On Tuesday, 1 May 2018 at 17:20:54 UTC, Ali wrote: On Tuesday, 1 May 2018 at 12:26:25 UTC, Joakim wrote: I realize it's right before the conference, but I'd like to put out a request for Walter and Andrei to spend five minutes during your talks laying out some overarching strategy for how you

Re: D as a betterC a game changer ?

2017-12-27 Thread John Gabriele via Digitalmars-d
On Wednesday, 27 December 2017 at 16:46:18 UTC, Russel Winder wrote: On Wed, 2017-12-27 at 08:59 +, Dan Partelly via Digitalmars-d wrote: […] I could not agree more with this. It is unfortunate D has dependencies on a garbage collector in language proper and in std. Given the current

The name "Phobos" in user-facing docs

2018-01-12 Thread John Gabriele via Digitalmars-d
After having started learning some D lately, two things about the standard library have struck me: 1. It has its own name. Phobos. This is unusual. I don't know of any other language who's std lib has any name other than "the {lang} standard library". Why does it have its own distinct name,

Re: The name "Phobos" in user-facing docs

2018-01-12 Thread John Gabriele via Digitalmars-d
On Friday, 12 January 2018 at 22:24:16 UTC, Dukc wrote: On Friday, 12 January 2018 at 21:24:40 UTC, John Gabriele wrote: 1. It has its own name. Phobos. This is unusual. I don't know of any other language who's std lib has any name other than "the {lang} standard library". Why does it have

Re: How programmers transition between languages

2018-01-26 Thread John Gabriele via Digitalmars-d
On Friday, 26 January 2018 at 20:08:15 UTC, Paulo Pinto wrote: On Friday, 26 January 2018 at 18:46:12 UTC, John Gabriele wrote: One niche I could see D establishing some popularity is in GNU/Linux GTK desktop apps. Especially now that GDC will be part of GCC. With GNOME in the process of

Re: How programmers transition between languages

2018-01-26 Thread John Gabriele via Digitalmars-d
On Friday, 26 January 2018 at 17:24:54 UTC, Benny wrote: What i found interesting is the comparison between the "newer" languages and D ( see the reddit thread ). 9 Go 4.1022 15 Kotlin 1.2798 18 Rust0.7317 35 Julia 0.0900 46 Vala0.0665 50 Crystal 0.0498 53 D

Re: How programmers transition between languages

2018-01-30 Thread John Gabriele via Digitalmars-d
On Tuesday, 30 January 2018 at 09:20:37 UTC, aberba wrote: On Sunday, 28 January 2018 at 18:54:34 UTC, Laeeth Isharc wrote: On Sunday, 28 January 2018 at 13:50:03 UTC, Michael wrote: Enterprises care about making money with whatever will help them do that (impress investors). Its developers

Re: Quora: Why hasn't D started to replace C++?

2018-02-01 Thread John Gabriele via Digitalmars-d
On Thursday, 1 February 2018 at 03:00:07 UTC, Walter Bright wrote: On 1/31/2018 5:58 PM, H. S. Teoh wrote: cosmetic features. I tough lesson I've learned is that cosmetics matter, a lot. Sometimes much more than substance. There's no getting away from it. This is one reason I recommend

Re: Quora: Why hasn't D started to replace C++?

2018-02-01 Thread John Gabriele via Digitalmars-d
On Thursday, 1 February 2018 at 11:06:09 UTC, Russel Winder wrote: On Wed, 2018-01-31 at 16:13 +, John Gabriele via Digitalmars-d wrote: […] this older language from times past, before C++11, and using ddoc for docs instead of markdown contributes to this perception. Let me know if you'd

Re: Quora: Why hasn't D started to replace C++?

2018-01-31 Thread John Gabriele via Digitalmars-d
On Wednesday, 31 January 2018 at 11:42:14 UTC, Seb wrote: On Wednesday, 31 January 2018 at 10:35:06 UTC, Benny wrote: And 3 different installation method's depending on the platform. Windows: DMD installer, LDC manually extract zip and setup path, GDC ... That's only an issue on Windows.

Re: Quora: Why hasn't D started to replace C++?

2018-01-31 Thread John Gabriele via Digitalmars-d
On Wednesday, 31 January 2018 at 17:30:54 UTC, H. S. Teoh wrote: On Wed, Jan 31, 2018 at 05:20:59PM +, Seb via Digitalmars-d Please let us know what would help you to find this page quicker. Wow. I set out *deliberately* looking for that link, and couldn't find it until I looked at

Re: Quora: Why hasn't D started to replace C++?

2018-01-31 Thread John Gabriele via Digitalmars-d
On Wednesday, 31 January 2018 at 20:03:11 UTC, Adam D. Ruppe wrote: {snip} (well, I tried to get it upstream but I think upstream is a brick wall and not worth trying anymore) That is very concerning to hear.

Re: My choice to pick Go over D ( and Rust ), mostly non-technical

2018-02-05 Thread John Gabriele via Digitalmars-d
On Sunday, 4 February 2018 at 11:14:43 UTC, JN wrote: On Friday, 2 February 2018 at 15:06:35 UTC, Benny wrote: You want to produce PDFs? fpdf 2015-Apr-06, a very limited PDF generation tool last updated 3 years go. While not as trivial as just using a dub package, D easy interop with C

Re: Quora: Why hasn't D started to replace C++?

2018-02-07 Thread John Gabriele via Digitalmars-d
On Friday, 2 February 2018 at 14:25:53 UTC, Russel Winder wrote: On Thu, 2018-02-01 at 19:41 +, John Gabriele via Digitalmars-d wrote: […] It's trivial to put multiple markdown files together into a large doc, if that's desired. Just put a bunch of .md files together into the same

Re: Quora: Why hasn't D started to replace C++?

2018-02-07 Thread John Gabriele via Digitalmars-d
On Friday, 2 February 2018 at 14:30:25 UTC, Russel Winder wrote: On Thu, 2018-02-01 at 19:28 +, John Gabriele via Digitalmars-d wrote: On Thursday, 1 February 2018 at 03:00:07 UTC, Walter Bright wrote: > On 1/31/2018 5:58 PM, H. S. Teoh wrote: > > cosmetic features. > >

Re: Quora: Why hasn't D started to replace C++?

2018-02-07 Thread John Gabriele via Digitalmars-d
On Wednesday, 7 February 2018 at 21:02:11 UTC, data pulverizer wrote: On Tuesday, 30 January 2018 at 20:45:44 UTC, Andrei Alexandrescu wrote: https://www.quora.com/Why-hasnt-D-started-to-replace-C++ Andrei The Betamax Problem I don't think the analogy holds. With VHS and betamax, you just

Re: My choice to pick Go over D ( and Rust ), mostly non-technical

2018-02-06 Thread John Gabriele via Digitalmars-d
On Monday, 5 February 2018 at 22:56:47 UTC, Jonathan M Davis wrote: On Monday, February 05, 2018 18:54:32 John Gabriele via Digitalmars-d wrote: What is the specific purpose of -betterC? I see from <https://dlang.org/spec/betterc.html> that it's (A) useful when targeting const

Re: Which language futures make D overcompicated?

2018-02-09 Thread John Gabriele via Digitalmars-d
On Friday, 9 February 2018 at 18:40:25 UTC, Seb wrote: On Friday, 9 February 2018 at 18:13:08 UTC, Russel Winder wrote: On Fri, 2018-02-09 at 16:10 +, Seb via Digitalmars-d wrote: […] Dub is not dead, it just has limited resources. So , if the D community want Dub to work as a build

Re: Dub, Cargo, Go, Gradle, Maven

2018-02-12 Thread John Gabriele via Digitalmars-d
On Monday, 12 February 2018 at 10:35:06 UTC, Russel Winder wrote: In all the discussion of Dub to date, it hasn't been pointed out that JVM building merged dependency management and build a long time ago. Historically: Make → Ant → Maven → Gradle and Gradle can handle C++ as well as JVM

Re: Which language futures make D overcompicated?

2018-02-09 Thread John Gabriele via Digitalmars-d
On Friday, 9 February 2018 at 19:08:36 UTC, John Gabriele wrote: Would it make sense to split out dub's build functionality from its package management? Separate sharp tools for separate jobs. I've only heard of Atila's reggae today. Is reggae commonly used among D users? Are there any show

Re: Which language futures make D overcompicated?

2018-02-10 Thread John Gabriele via Digitalmars-d
On Saturday, 10 February 2018 at 12:44:14 UTC, rjframe wrote: On Fri, 09 Feb 2018 22:36:19 +, Ralph Doncaster wrote: Frankly, I think it is doomed to be a niche-use language. While many more things were done right compared to C++, too many things were done wrong and there doesn't seem to

Re: Which language futures make D overcompicated?

2018-02-10 Thread John Gabriele via Digitalmars-d
On Saturday, 10 February 2018 at 20:55:00 UTC, John Gabriele wrote: {snip} It's not niche at all, it just doesn't have hoards of users. D is well-positioned to be hugely popular, but I think to succeed its leadership needs to be willing to fix things they want to fix and not worry about

Re: Being Positive

2018-02-13 Thread John Gabriele via Digitalmars-d
On Tuesday, 13 February 2018 at 03:40:52 UTC, Jonathan M Davis wrote: {snip} I suspect that part of it is that a lot of folks seem to come to D looking for the perfect language after having be frustrated by another language like C++, and while D is a lot closer to that for many folks than

Re: How to represent multiple files in a forum post?

2018-02-14 Thread John Gabriele via Digitalmars-d
On Wednesday, 14 February 2018 at 18:33:23 UTC, Jonathan Marler wrote: @timotheecour and I came up with a solution to a common problem: How to represent multiple files in a forum post? So we decided to take a stab at creating a standard! (queue links to https://xkcd.com/927) We're calling

Re: A betterC base

2018-02-08 Thread John Gabriele via Digitalmars-d
On Thursday, 8 February 2018 at 15:51:38 UTC, Adam D. Ruppe wrote: On Thursday, 8 February 2018 at 15:43:01 UTC, ixid wrote: That's been said over and over and the message has not gotten through. It is almost never said! We always play by their terms and implicitly concede by saying "but we

Re: Dub, Cargo, Go, Gradle, Maven

2018-02-15 Thread John Gabriele via Digitalmars-d
On Thursday, 15 February 2018 at 07:21:24 UTC, Pjotr Prins wrote: On Thursday, 15 February 2018 at 04:11:51 UTC, Graham St Jack wrote: Maybe a compromise position would be for a package management system to define an interface through which it can do things like: * Discover what the external

Re: Dub, Cargo, Go, Gradle, Maven

2018-02-15 Thread John Gabriele via Digitalmars-d
On Thursday, 15 February 2018 at 16:47:35 UTC, Pjotr Prins wrote: On Thursday, 15 February 2018 at 15:52:41 UTC, John Gabriele wrote: It's a bit confusing since the first thing [the Guix webpage](https://www.gnu.org/software/guix/) talks about "GuixSD", rather than the Guix tool in its own

Re: Maybe D is right about GC after all !

2017-12-28 Thread John Gabriele via Digitalmars-d
On Thursday, 28 December 2017 at 15:57:18 UTC, Paulo Pinto wrote: On Thursday, 28 December 2017 at 11:27:29 UTC, Russel Winder wrote: On Wed, 2017-12-27 at 18:41 +, Laeeth Isharc via Digitalmars-d wrote: […] However the GStreamer folk are backing Rust (for memory safety issues noted

Re: Maybe D is right about GC after all !

2017-12-22 Thread John Gabriele via Digitalmars-d
On Friday, 22 December 2017 at 16:17:33 UTC, Dan Partelly wrote: On Friday, 22 December 2017 at 15:23:51 UTC, Russel Winder wrote: I think we are now in a world where Rust is the zero cost abstraction language to replace C and C++, except for those who are determined to stay with C++ and

Re: D as a betterC a game changer ?

2017-12-27 Thread John Gabriele via Digitalmars-d
On Wednesday, 27 December 2017 at 20:53:46 UTC, Dan Partelly wrote: On Wednesday, 27 December 2017 at 19:13:15 UTC, John Gabriele wrote: Although I don't know D very well yet, it sounds like Russel hits the nail precisely on the head here. FWICT, folks have lately used scripting languages

Emacs d-mode indentation, 2 spaces to 4?

2017-10-04 Thread John Gabriele via Digitalmars-d-learn
I'm using Emacs 25.2.2 with d-mode-20161022.717 on Debian Testing, and by default this mode indents by 2 spaces. Is there an easy way to configure it to use 4 spaces instead?

Re: Emacs d-mode indentation, 2 spaces to 4?

2017-10-05 Thread John Gabriele via Digitalmars-d-learn
On Thursday, 5 October 2017 at 05:22:16 UTC, Ali Çehreli wrote: On 10/04/2017 09:57 PM, John Gabriele wrote: I'm using Emacs 25.2.2 with d-mode-20161022.717 on Debian Testing, and by default this mode indents by 2 spaces. Is there an easy way to configure it to use 4 spaces instead? I

Re: Emacs d-mode indentation, 2 spaces to 4?

2017-10-05 Thread John Gabriele via Digitalmars-d-learn
On Thursday, 5 October 2017 at 08:49:30 UTC, Aravinda VK wrote: On Thursday, 5 October 2017 at 04:57:09 UTC, John Gabriele wrote: I'm using Emacs 25.2.2 with d-mode-20161022.717 on Debian Testing, and by default this mode indents by 2 spaces. Is there an easy way to configure it to use 4

Andrei's "The D Programming Language" book. Up to date?

2017-10-04 Thread John Gabriele via Digitalmars-d-learn
Hi all, This is my first message to this forum. And what a pleasure it is to be here. :) I was just looking around at what D books are available. I see that Andrei's "The D Programming Language" was published in 2010. What's changed in the language, library, and community since then that I

Re: Andrei's "The D Programming Language" book. Up to date?

2017-11-29 Thread John Gabriele via Digitalmars-d-learn
On Wednesday, 29 November 2017 at 17:26:11 UTC, Nick Treleaven wrote: On Wednesday, 4 October 2017 at 20:49:26 UTC, John Gabriele wrote: What's changed in the language, library, and community since then that I should be aware of if following along with and learning from that book? Here's a

Re: git workflow for D

2017-12-05 Thread John Gabriele via Digitalmars-d-learn
On Sunday, 3 December 2017 at 20:05:47 UTC, bitwise wrote: {snip} If anyone can offer any kind of advice, or an article that explains these things concisely and effectively, that would be helpful. I found some git-specific info in this wiki page:

Re: [dlang library documentation] Why there are dlang.org/library and dlang.org/phobos?

2018-01-22 Thread John Gabriele via Digitalmars-d-learn
On Monday, 22 January 2018 at 15:32:29 UTC, Adam D. Ruppe wrote: On Monday, 22 January 2018 at 15:18:38 UTC, Johann wrote: Maybe it's due to historical reasons. It's actually "future" reasons... the /phobos is the original one, and /library was supposed to replace it, but now many years

Re: [dlang library documentation] Why there are dlang.org/library and dlang.org/phobos?

2018-01-24 Thread John Gabriele via Digitalmars-d-learn
On Tuesday, 23 January 2018 at 19:05:21 UTC, Seb wrote: On Monday, 22 January 2018 at 19:38:45 UTC, John Gabriele wrote: On Monday, 22 January 2018 at 15:32:29 UTC, Adam D. Ruppe wrote: On Monday, 22 January 2018 at 15:18:38 UTC, Johann wrote: Maybe it's due to historical reasons. It's

Re: The Expressive C++17 Coding Challenge in D

2018-02-14 Thread John Gabriele via Digitalmars-d-announce
On Tuesday, 13 February 2018 at 23:35:36 UTC, Seb wrote: Someone revived the Expressive C++17 Coding Challenge thread today and I thought this is an excellent opportunity to revive my blog and finally write an article showing why I like D so much:

Re: Beta 2.079.0

2018-02-20 Thread John Gabriele via Digitalmars-d-announce
On Tuesday, 20 February 2018 at 20:08:55 UTC, jmh530 wrote: On Tuesday, 20 February 2018 at 19:36:46 UTC, John Gabriele wrote: In: import myModule : foo, bar; how do you know if bar is myModule.bar or if it's a separate module bar? It probably could be described a little better in the

Re: Beta 2.079.0

2018-02-20 Thread John Gabriele via Digitalmars-d-announce
On Tuesday, 20 February 2018 at 08:43:50 UTC, Martin Nowak wrote: On Monday, 19 February 2018 at 15:58:57 UTC, Joakim wrote: 17. Allow multiple selective imports from different modules in a single import statement I have a bad feeling that that one is going to be a source of a raft of bugs