Re: Will D continu to live after walter death?

2017-10-14 Thread bitwise via Digitalmars-d
On Friday, 13 October 2017 at 10:07:39 UTC, Walter Bright wrote: On 10/12/2017 8:04 AM, 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? Just download my engrams into the D-9000 computer.

Re: Template version of ANSI color code lib useful?

2017-10-14 Thread Shriramana Sharma via Digitalmars-d
On Saturday, 14 October 2017 at 17:17:41 UTC, Petar Kirov [ZombineDev] wrote: Why not simply add extern (C) wrappers for your D code? I see no point of using C, unless you want to be portable to arcane architectures. With this approach you'll have both the portability of C and the advantages of

Re: Template version of ANSI color code lib useful?

2017-10-14 Thread Shriramana Sharma via Digitalmars-d
On Saturday, 14 October 2017 at 14:51:12 UTC, Adam D. Ruppe wrote: My terminal.d works with most that stuff. Yes I did look into existing solutions. Mainly my desire was not to work in D alone but something available at command line and as a library for shell-scripts and other languages too.

Re: Proposal: Object/?? Destruction

2017-10-14 Thread Steven Schveighoffer via Digitalmars-d
Sorry for waiting so long to respond, I had to think about this a lot... On 10/12/17 3:05 PM, Timon Gehr wrote: On 10.10.2017 17:05, Steven Schveighoffer wrote: On 10/9/17 11:22 AM, Timon Gehr wrote: On 09.10.2017 01:20, Steven Schveighoffer wrote: My questioning comes with this: void bar(i

Re: Proposal: Object/?? Destruction

2017-10-14 Thread sarn via Digitalmars-d
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 ambiguous (just by parsing) whether [1, 2] is a tuple literal or a dynamic array literal. You'd need to use a prefix or somet

Re: D on quora ...

2017-10-14 Thread Adam Wilson via Digitalmars-d
On 10/7/17 14:08, Laeeth Isharc wrote: On 10/6/2017 10:19 PM, Adam Wilson via Digitalmars-d wrote: > What if we stop focusing on the C/C++ people so much? The > like their tools and have no perceivable interest in moving > away from them (Stockholm Syndrome much?). The arguments the > use are pri

Re: Proposal: Object/?? Destruction

2017-10-14 Thread Q. Schroll via Digitalmars-d
I've thought about tuples and stuff for a while. For tuples, I'll use [brackets]. Reasons follow. Homogeneous tuples are repetitions of some single type. We have them today in form of static arrays. We could allow "inhomogeneous arrays" and call them tuples. T[n] is then an alias for [T, T, .

Re: D on quora ...

2017-10-14 Thread Adam Wilson via Digitalmars-d
On 10/6/17 23:19, Brad Roberts wrote: On 10/6/2017 10:19 PM, Adam Wilson via Digitalmars-d wrote: What if we stop focusing on the C/C++ people so much? The like their tools and have no perceivable interest in moving away from them (Stockholm Syndrome much?). The arguments the use are primarily m

Re: Implicit Constructors

2017-10-14 Thread Q. Schroll via Digitalmars-d
On Friday, 13 October 2017 at 14:50:44 UTC, Adam D. Ruppe wrote: [snip] But actually, I really wish D just had implicit ctors on the types themselves. I think C++'s mistake was that implicit was the default, and you have to write `explicit`. If we did the opposite, where implicit was opt in, I

Re: Implicit Constructors

2017-10-14 Thread Q. Schroll via Digitalmars-d
On Friday, 13 October 2017 at 13:01:48 UTC, Steven Schveighoffer wrote: On 10/12/17 7:57 PM, Q. Schroll wrote: We have some sort of implicit construction already. Weirdly, it's reserved for classes. Just look at this:     class C { this(int x) { } }     void foo(C c ...) { }     void main()

Re: DIP 1009 Status ?

2017-10-14 Thread Andrei Alexandrescu via Digitalmars-d
On 10/11/17 9:09 PM, Mike Parker wrote: On Thursday, 12 October 2017 at 00:38:37 UTC, Moritz Maxeiner wrote: As it has been a while since I've seen an update on DIP 1009 I'd like to ask what the current status of it is: Has it been closed for feedback and the second stage (submission to languag

Re: Template version of ANSI color code lib useful?

2017-10-14 Thread Petar via Digitalmars-d
On Saturday, 14 October 2017 at 14:35:53 UTC, Shriramana Sharma wrote: Hello. I prepared a utility/library to output ANSI escape codes for terminal text attributes with capabilities as advertised at https://sites.google.com/site/jamadagni/files/temp/textattr-usage.html. (AFAIK this set of capabi

Re: Template version of ANSI color code lib useful?

2017-10-14 Thread Adam D. Ruppe via Digitalmars-d
On Saturday, 14 October 2017 at 14:35:53 UTC, Shriramana Sharma wrote: Hello. I prepared a utility/library to output ANSI escape codes for terminal text attributes with capabilities as advertised at https://sites.google.com/site/jamadagni/files/temp/textattr-usage.html. (AFAIK this set of capabi

Re: DIP88 Named Parameters, Status?

2017-10-14 Thread Andrei Alexandrescu via Digitalmars-d
On 10/01/2017 06:51 AM, Petar Kirov [ZombineDev] wrote: On Sunday, 1 October 2017 at 01:54:24 UTC, Jonathan Marler wrote: On Saturday, 30 September 2017 at 22:37:31 UTC, Jonathan M Davis wrote: On Saturday, September 30, 2017 16:57:09 solidstate1991 via Digitalmars-d wrote: On Saturday, 30 Sep

Template version of ANSI color code lib useful?

2017-10-14 Thread Shriramana Sharma via Digitalmars-d
Hello. I prepared a utility/library to output ANSI escape codes for terminal text attributes with capabilities as advertised at https://sites.google.com/site/jamadagni/files/temp/textattr-usage.html. (AFAIK this set of capabilities does not exist already in any existing package.) This was first

Re: Advertise D's great compatibilty with JavaScript

2017-10-14 Thread Ecstatic Coder via Digitalmars-d
On Saturday, 14 October 2017 at 10:48:40 UTC, Joakim wrote: On Saturday, 14 October 2017 at 08:52:54 UTC, Ecstatic Coder wrote: On Saturday, 14 October 2017 at 07:45:06 UTC, Walter Bright wrote: On 6/18/2017 3:38 AM, Ecstatic Coder wrote: Something I really appreciate a lot with D is how close

Re: Advertise D's great compatibilty with JavaScript

2017-10-14 Thread Joakim via Digitalmars-d
On Saturday, 14 October 2017 at 08:52:54 UTC, Ecstatic Coder wrote: On Saturday, 14 October 2017 at 07:45:06 UTC, Walter Bright wrote: On 6/18/2017 3:38 AM, Ecstatic Coder wrote: Something I really appreciate a lot with D is how close it is to JavaScript. There's also a D implementation of Ja

Re: Advertise D's great compatibilty with JavaScript

2017-10-14 Thread Walter Bright via Digitalmars-d
On 10/14/2017 1:52 AM, Ecstatic Coder wrote: On Saturday, 14 October 2017 at 07:45:06 UTC, Walter Bright wrote: On 6/18/2017 3:38 AM, Ecstatic Coder wrote: Something I really appreciate a lot with D is how close it is to JavaScript. There's also a D implementation of Javascript: https://gith

Re: Advertise D's great compatibilty with JavaScript

2017-10-14 Thread Ecstatic Coder via Digitalmars-d
On Saturday, 14 October 2017 at 07:45:06 UTC, Walter Bright wrote: On 6/18/2017 3:38 AM, Ecstatic Coder wrote: Something I really appreciate a lot with D is how close it is to JavaScript. There's also a D implementation of Javascript: https://github.com/DigitalMars/DMDScript What about a DS

Re: Advertise D's great compatibilty with JavaScript

2017-10-14 Thread Marco Leise via Digitalmars-d
Am Fri, 13 Oct 2017 17:57:12 + schrieb John Gabriele : > Why do you choose Lua? Whatever replaces Javascript (and compiles > to wasm) will be used for large apps, like how Javascript is > currently used. My understanding is that Lua is not particularly > well suited for building large apps.

Re: D on quora ...

2017-10-14 Thread Ecstatic Coder via Digitalmars-d
On Friday, 6 October 2017 at 20:17:33 UTC, Jonathan M Davis wrote: On Friday, October 06, 2017 17:14:51 Rion via Digitalmars-d 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 s

Re: D's open source approach

2017-10-14 Thread Ecstatic Coder via Digitalmars-d
On Thursday, 12 October 2017 at 11:32:55 UTC, jmh530 wrote: On Thursday, 12 October 2017 at 07:54:19 UTC, Joakim wrote: By the reasoning in the essay, I don't expect this to be solved for free: the solution is for the devs behind the IDEs, Visual Studio, DlangIDE, etc., to charge money for a

Re: Advertise D's great compatibilty with JavaScript

2017-10-14 Thread Walter Bright via Digitalmars-d
On 10/14/2017 12:54 AM, Dmitry Olshansky wrote: On Saturday, 14 October 2017 at 07:45:06 UTC, Walter Bright wrote: On 6/18/2017 3:38 AM, Ecstatic Coder wrote: Something I really appreciate a lot with D is how close it is to JavaScript. There's also a D implementation of Javascript: https://g

Re: Advertise D's great compatibilty with JavaScript

2017-10-14 Thread Dmitry Olshansky via Digitalmars-d
On Saturday, 14 October 2017 at 07:45:06 UTC, Walter Bright wrote: On 6/18/2017 3:38 AM, Ecstatic Coder wrote: Something I really appreciate a lot with D is how close it is to JavaScript. There's also a D implementation of Javascript: https://github.com/DigitalMars/DMDScript The surprising

Re: Advertise D's great compatibilty with JavaScript

2017-10-14 Thread Ecstatic Coder via Digitalmars-d
On Monday, 19 June 2017 at 01:57:00 UTC, 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 necessary evil for web applications and some people

Re: Advertise D's great compatibilty with JavaScript

2017-10-14 Thread Walter Bright via Digitalmars-d
On 6/18/2017 3:38 AM, Ecstatic Coder wrote: Something I really appreciate a lot with D is how close it is to JavaScript. There's also a D implementation of Javascript: https://github.com/DigitalMars/DMDScript