Deprecation

2019-01-18 Thread Ali via Digitalmars-d-learn
Hello. I am having an issue with the code below. the out put after compiling is this : Deprecation: foreach: loop index implicitly converted from size_t to uint the code is : auto available = new int[cast(uint) max - min]; foreach (uint i, ref a; available)

Re: depreciated function delete

2019-01-18 Thread Ali via Digitalmars-d-learn
On Friday, 18 January 2019 at 21:37:38 UTC, Steven Schveighoffer wrote: On 1/18/19 4:32 PM, Ali wrote: On Friday, 18 January 2019 at 21:13:34 UTC, Steven Schveighoffer wrote: On 1/18/19 3:48 PM, alik wrote: Hi there. as you know delete function is depreciated. so I tried to use the __delete

Re: depreciated function delete

2019-01-18 Thread Ali via Digitalmars-d-learn
On Friday, 18 January 2019 at 21:13:34 UTC, Steven Schveighoffer wrote: On 1/18/19 3:48 PM, alik wrote: Hi there. as you know delete function is depreciated. so I tried to use the __delete function for the code below: if (this.parse_buffer.length > this.parse_size)     {

Re: Dicebot on leaving D: It is anarchy driven development in all its glory.

2018-08-27 Thread Ali via Digitalmars-d
On Monday, 27 August 2018 at 19:51:52 UTC, 12345swordy wrote: On Monday, 27 August 2018 at 18:20:04 UTC, Chris wrote: Then the D Foundation should work on it. Easier said then done. You can't go around demanding people to build factories without addressing the issues that comes with building

Re: Dicebot on leaving D: It is anarchy driven development in all its glory.

2018-08-26 Thread Ali via Digitalmars-d
On Sunday, 26 August 2018 at 19:28:30 UTC, Radu wrote: On Sunday, 26 August 2018 at 16:09:35 UTC, lurker wrote: [...] Yeah right... I'm sure this is what everyone experienced. This thread has become the trollers trolling playground. Radu, when i started using this forum, one of the first

Re: Dicebot on leaving D: It is anarchy driven development in all its glory.

2018-08-25 Thread Ali via Digitalmars-d
On Wednesday, 22 August 2018 at 11:59:37 UTC, Paolo Invernizzi wrote: Just found by chance, if someone is interested [1] [2]. /Paolo [1] https://gitlab.com/mihails.strasuns/blog/blob/master/articles/on_leaving_d.md [2]

Re: D is dead

2018-08-23 Thread Ali via Digitalmars-d
On Friday, 24 August 2018 at 01:57:03 UTC, Shachar Shemesh wrote: At this point I can either use the work-around I already have and (try to, obviously unsuccessfully) forget about it, file a bug report that will be (justifiably) ignored because no-one else can reproduce it, or spend an unknown

Re: D is dead

2018-08-23 Thread Ali via Digitalmars-d
On Thursday, 23 August 2018 at 16:22:54 UTC, Shachar Shemesh wrote: On 23/08/18 17:01, Steven Schveighoffer wrote: My main job is to develop for Weka, not develop D itself. Weka, at some point, made the strategic decision to use a non mainstream language I dont think Weka, have a choice,

Re: D is dead

2018-08-23 Thread Ali via Digitalmars-d
On Thursday, 23 August 2018 at 06:34:01 UTC, nkm1 wrote: The only real problem with D is that it's a language designed with GC in mind, yet there are numerous attempts to use it without GC. Also, supporting GC-less programming gets in the way of improving D's GC (which is pretty damn bad by

Re: Dicebot on leaving D: It is anarchy driven development in all its glory.

2018-08-22 Thread Ali via Digitalmars-d
On Wednesday, 22 August 2018 at 17:42:56 UTC, Joakim wrote: Pretty positive overall, and the negatives he mentions are fairly obvious to anyone paying attention. Yea, I agree, the negatives are not really negative Walter not matter how smart he is, he is one man who can work on the so many

Re: Engine of forum

2018-08-21 Thread Ali via Digitalmars-d
On Tuesday, 21 August 2018 at 05:30:07 UTC, Walter Bright wrote: Ask 10 people, and you'll get 10 different answers on what a better forum would be. Actually I think we can get 8 out of those 10 to agree, rust, ocaml, fsharp, nim, scala, clojure .. all use https://www.discourse.org/ I think

Re: Engine of forum

2018-08-20 Thread Ali via Digitalmars-d
On Monday, 20 August 2018 at 09:52:01 UTC, Peter Alexander wrote: What are the specific problems solved or opportunities realised by moving to a real forum? What are the specific problems solved by using better software? Well, most software projects, have different channels of

Re: High-level vision for 2018 H2?

2018-08-13 Thread Ali via Digitalmars-d
On Monday, 13 August 2018 at 14:06:24 UTC, walker wrote: I am curious about the plan of 2018/H2 version also, the H1 is very promising and may be hard to summarize its output. --walker + 1 Decillion D needs more vision talk and elaboration Long term goals increase motivation around the

Re: Is there any good reason why C++ namespaces are "closed" in D?

2018-08-03 Thread Ali via Digitalmars-d
On Friday, 27 July 2018 at 23:15:44 UTC, Laeeth Isharc wrote: Because it's getting in the way of a decent prize - to be able just to #include CPP headers and link with C++. Just wanted to +100 on this one Having this feature, and if marketed well, can be huge for D This is 10 times a

Re: New edition of "The D Programming Language"?

2018-08-03 Thread Ali via Digitalmars-d
On Thursday, 2 August 2018 at 22:37:05 UTC, dlangPupil2 wrote: Hi, Will there be a new edition of Andrei A's "The D Programming Language" (2010)? If so when will it be published? Thanks! If you want a more recent book, there is Learning D by Michael Parker (who is a common contributor

Re: LDC 1.11.0 beta2

2018-07-17 Thread Ali via Digitalmars-d-announce
On Sunday, 15 July 2018 at 19:46:24 UTC, kinke wrote: Glad to announce the second beta for LDC 1.11. * Prebuilt packages now using LLVM 6.0.1 and including additional cross-compilation targets (MIPS, MSP430, RISC-V and WebAssembly). * Rudimentary support for compiling & linking directly to

Re: Anyone can contact Dmitry Olshansky?

2018-07-16 Thread Ali via Digitalmars-d
Do we have any updates on Dmitry was anyone able to check on him I hope he is doing better

donations

2018-07-11 Thread Ali via Digitalmars-d
there is not two options to donate online 1. Donate through OpenCollective 2. Donate through PayPal are they the same thing, does the money, end up going to the same group, same activities or are they different

Re: Blogpost about the T.init problem

2018-07-10 Thread Ali via Digitalmars-d-announce
On Tuesday, 10 July 2018 at 13:41:56 UTC, FeepingCreature wrote: I've written up a short blogpost about the T.init issue. It is not very enthusiastic. https://medium.com/@feepingcreature/d-structs-dont-work-for-domain-data-c09332349f43 Somehow, this is the type of problem, i thought point 1

Re: Sutter's ISO C++ Trip Report - The best compliment is when someone else steals your ideas....

2018-07-02 Thread Ali via Digitalmars-d
Well, D is not exactly known for contract oriented programming or DbC (Design by Contract) we have to thank Bertrand Meyer and his language Eiffel, for that

Re: Sign the installers

2018-06-27 Thread Ali via Digitalmars-d
On Wednesday, 27 June 2018 at 23:54:55 UTC, Manu wrote: Hey people, So I had a few people in the office refuse to install DMD because when they launched the installer, Windows displayed the prompt that it was untrusted (ie, unsigned) and not offer the install button without manual override.

Re: Phobos begat madness

2018-06-22 Thread Ali via Digitalmars-d
On Friday, 22 June 2018 at 22:39:40 UTC, Steven Schveighoffer wrote: On 6/22/18 6:36 PM, Adam D. Ruppe wrote: On Friday, 22 June 2018 at 22:28:17 UTC, Walter Bright wrote: That would help, do you want to implement it? I can't for at last two weeks, I'm about to fly tomorrow... and I'm

Re: How an Engineering Company Chose to Migrate to D

2018-06-20 Thread Ali via Digitalmars-d-announce
On Wednesday, 20 June 2018 at 13:21:30 UTC, Mike Parker wrote: If you saw Bastiaan Veelo's DConf 2017 presentation, you'll know that his employer was evaluating D as a candidate for migrating their code base away from Extended Pascal. Recently, the decision was made and D was the coice. In

Re: Remember the Vasa! by Bjarne Stroustrup

2018-05-28 Thread Ali via Digitalmars-d
On Tuesday, 29 May 2018 at 03:56:05 UTC, Dmitry Olshansky wrote: It seems C++ is following the road of PL/I, which is growing language way beyond the point anyone can understand or implement all of it. A key line from this paper We now have about 150 cooks; that’s not a good way to get a

Re: A strategic vision for D

2018-05-07 Thread Ali via Digitalmars-d
On Monday, 7 May 2018 at 21:55:28 UTC, Dave Jones wrote I'm sure Walter and Andrei would love to have the newsgroup micromanaging their decision making process. i dont think anyone is trying to micromanage anyone i think D's strategic positioning, is a very interesting question and it is

Re: A strategic vision for D

2018-05-02 Thread Ali via Digitalmars-d
On Tuesday, 1 May 2018 at 22:20:53 UTC, John Gabriele wrote: On Tuesday, 1 May 2018 at 17:20:54 UTC, Ali wrote: I think point 1 in the vision is very telling 1. Lock down the language definition Sorry, I'm not understanding. To me that says the core team values multiple implementations that

Re: A strategic vision for D

2018-05-01 Thread Ali via Digitalmars-d
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 see D evolving. It could be during the keynotes or

Re: Enum and Function Parameters Attributes -- No DIP Required

2018-04-12 Thread Ali via Digitalmars-d-announce
On Thursday, 12 April 2018 at 22:41:16 UTC, Daniel Kozak wrote: DIP is an abbreviation for D Improvement Proposals, so in theory we should have DIP for every bugfix (if I follow your logic), because it is an improvment :D. I see your point, but that was not my logic My key point, was if this

Re: Enum and Function Parameters Attributes -- No DIP Required

2018-04-12 Thread Ali via Digitalmars-d-announce
On Thursday, 12 April 2018 at 08:28:17 UTC, Mike Parker wrote: * Changes to the language itself, such as syntax/semantics * Changes to the functional behavior of code generated by the compiler This proposal is a removal of a limitation on an existing feature -- it neither modifies existing

Re: Migrating an existing more modern GC to D's gc.d

2018-04-09 Thread Ali via Digitalmars-d
On Monday, 9 April 2018 at 23:21:23 UTC, Nordlöw wrote: Through allocators solely or will the GC adapt in some way? Here is the relevant line from the vision document "@nogc: Use of D without a garbage collector, most likely by using reference counting and related methods Unique/Weak

Re: Migrating an existing more modern GC to D's gc.d

2018-04-09 Thread Ali via Digitalmars-d
On Monday, 9 April 2018 at 18:27:26 UTC, Per Nordlöw wrote: How difficult would it be to migrate an existing modern GC-implementation into D's? Which kinds of GC's would be of interest? Which attempts have been made already? I think the priority is not having pluggable GC's, or a better

Re: that is bug?

2018-04-07 Thread Ali via Digitalmars-d
On Saturday, 7 April 2018 at 18:52:56 UTC, Ali Çehreli wrote: On 04/07/2018 10:53 AM, Ali wrote: > On Saturday, 7 April 2018 at 15:26:56 UTC, Ali Çehreli wrote: >> On 04/07/2018 02:07 AM, sdvcn wrote: >>> string stt = "none"; >>> true?writeln("AA"):writeln("BB"); ///Out:AA >>>

Re: that is bug?

2018-04-07 Thread Ali via Digitalmars-d
On Saturday, 7 April 2018 at 15:26:56 UTC, Ali Çehreli wrote: On 04/07/2018 02:07 AM, sdvcn wrote: string stt = "none"; true?writeln("AA"):writeln("BB");   ///Out:AA     true?stt="AA":stt="BB";    -///Out:BB writeln(stt); It is a bug because the behavior does not

Re: c2 classes

2018-04-06 Thread Ali via Digitalmars-d-learn
On Friday, 6 April 2018 at 14:31:49 UTC, Alex wrote: On Friday, 6 April 2018 at 13:41:50 UTC, aerto wrote: its possible to make this work ?? import std.stdio; class UUsers { public: int age; } class users { public: int[int] uid; } void main() { users newuser =

Re: c2 classes

2018-04-06 Thread Ali via Digitalmars-d-learn
On Friday, 6 April 2018 at 13:41:50 UTC, aerto wrote: its possible to make this work ?? import std.stdio; class UUsers { public: int age; } class users { public: int[int] uid; } void main() { users newuser = new users(); newuser.uid[0].age = 23;

Re: Declare and Define Before Use? [rant]

2018-04-04 Thread Ali via Digitalmars-d-learn
On Wednesday, 4 April 2018 at 19:51:27 UTC, kdevel wrote: On Wednesday, 4 April 2018 at 19:19:30 UTC, Ali wrote: BTW: You can't write void main () { x.writeln; int x; } import std.stdio; This is because x is not module scope you can do this void main () {

Re: Declare and Define Before Use? [rant]

2018-04-04 Thread Ali via Digitalmars-d-learn
On Wednesday, 4 April 2018 at 18:57:27 UTC, kdevel wrote: Why are people writing import std.stdio; void main () { } struct S { } but not void main () { } struct S { } import std.stdio; ? Personally i found it weird and inconsistent that

Re: Learning D - modules packages and the package.d

2018-04-03 Thread Ali via Digitalmars-d-learn
On Wednesday, 4 April 2018 at 04:54:50 UTC, Ali wrote: at first i though package.d is special name, as in i must call the file package.d or this trick or idiom to work the trick was to have one module that public import all the modules you import as group in other modules so instead of

Learning D - modules packages and the package.d

2018-04-03 Thread Ali via Digitalmars-d-learn
I am going through the Learning D book by Michael Parker So every now and then I will make post about the book either critics of the book, book content or questions First critic chapter 2 - the special package module this small section, suggest an idiom to create a package which can have any

Re: Optional parameters?

2018-04-01 Thread Ali via Digitalmars-d-learn
On Sunday, 1 April 2018 at 15:54:16 UTC, Steven Schveighoffer wrote: I currently have a situation where I want to have a function that accepts a parameter optionally. why not simply use function overloading?

Re: D vs nim

2018-03-29 Thread Ali via Digitalmars-d
On Thursday, 29 March 2018 at 03:57:05 UTC, Arun Chandrasekaran wrote: On Tuesday, 27 March 2018 at 23:23:10 UTC, Timothee Cour wrote: This is deterministic destruction and not RAII. Resource is never *acquired* here. Lack of default constructors for struct in D makes it impossible to

Re: D vs nim

2018-03-27 Thread Ali via Digitalmars-d
On Tuesday, 27 March 2018 at 01:19:44 UTC, timotheecour wrote: On Wednesday, 22 April 2015 at 06:03:07 UTC, Timothee Cour wrote: On Mon, Apr 13, 2015 at 10:28 AM, Timothee Cour wrote: I would like to refocus this thread on feature set and how it compares to D, not

Re: The first example in the Learning D book, wont compile

2018-03-25 Thread Ali via Digitalmars-d-learn
On Sunday, 25 March 2018 at 20:52:29 UTC, Ali wrote: On Sunday, 25 March 2018 at 20:45:58 UTC, Ali wrote: I now see my typo, should be retro, not range We need better IDEs, this would have been easily highlighted by a good ide

Re: The first example in the Learning D book, wont compile

2018-03-25 Thread Ali via Digitalmars-d-learn
On Sunday, 25 March 2018 at 20:45:58 UTC, Ali wrote: Hi The first example in the Learning D book import core.thread; import std.stdio; void main() { import std.range: iota, range; write("Greeting in, "); foreach(num; iota(1, 4).range) { writef("%s...", num);

The first example in the Learning D book, wont compile

2018-03-25 Thread Ali via Digitalmars-d-learn
Hi The first example in the Learning D book import core.thread; import std.stdio; void main() { import std.range: iota, range; write("Greeting in, "); foreach(num; iota(1, 4).range) { writef("%s...", num); stdout.flush(); Thread.sleep(1.seconds); }

Re: dmd download sig file, how do I use it

2018-03-25 Thread Ali via Digitalmars-d-learn
On Sunday, 25 March 2018 at 04:01:28 UTC, Seb wrote: gpg --verify --keyring ~/dlang/d-keyring.gpg --no-default-keyring dmd.2.079.0.linux.tar.xz.sig dmd.2.079.0.linux.tar.xz Thanks, I guess this kinda works I am now getting gpg: Signature made Fri 02 Mar 2018 01:47:57 PM EST gpg:

dmd download sig file, how do I use it

2018-03-24 Thread Ali via Digitalmars-d-learn
Hi All, The DMD download is accompanied with a sig file How exactly do I use this sig file I am assuming I can use it in place of checksum to verify the download And to be honest, I have almost zero knowledge for gpg and encryption I googled a little but, didnt exactly find what I was hoping

Re: D, Parasail, Pascal, and Rust vs The Steelman

2018-03-22 Thread Ali via Digitalmars-d
On Thursday, 22 March 2018 at 11:16:37 UTC, Atila Neves wrote: On Wednesday, 21 March 2018 at 12:52:19 UTC, Paulo Pinto wrote: An article comparing the above languages as per the DoD language requirements [0]. http://jedbarber.id.au/steelman.html [0] -

Re: Testing D database calls code for regression

2018-03-19 Thread Ali via Digitalmars-d-learn
On Friday, 16 March 2018 at 20:17:49 UTC, aberba wrote: How will you test D code which makes calls to database to detect bugs and regression. Unlike where you can inject data like assert (2+1 == 3), database interfacing code will be crazy... Or there's some mocking available for such cases.

Re: Vision document for H1 2018

2018-03-19 Thread Ali via Digitalmars-d-announce
On Friday, 9 March 2018 at 21:43:53 UTC, Andrei Alexandrescu wrote: Hello, the vision document of the Founation for the first six months of 2018 is here: https://wiki.dlang.org/Vision/2018H1 In addition to the expected items, we have a new top-level priority - locking down the language

OCaml RAII proposal

2018-03-08 Thread Ali via Digitalmars-d
Just sharing this resource here https://hal.inria.fr/hal-01724997 might be of interest to some this is just a proposal clearly

Re: UDK : Comment sont levés les "Mappable keys"

2018-03-04 Thread Ali via Digitalmars-d
On Monday, 5 March 2018 at 02:12:07 UTC, Adam Levine wrote: Bonjour à tous Alors voilà, quelqu'un saurait-il comment sont levé les évènements des touches appuyées pour UDK? Nous voudrions pouvoir utiliser un nouveau périphérique autre que la souris, le clavier ... : En l’occurrence la

Re: Interesting article from JVM world - Conservative GC: Is It Really That Bad?

2018-03-04 Thread Ali via Digitalmars-d
On Monday, 5 March 2018 at 02:53:49 UTC, 12345swordy wrote: On Monday, 5 March 2018 at 02:42:48 UTC, Nikolay wrote: These guys have independent JVM implementation and used Conservative GC for many years. As I can see it it is very similar to d-runtime GC. But their conclusion is: "sooner or

Go 2017 Survey Results

2018-02-26 Thread Ali via Digitalmars-d
This link was posted today on hacker news (ycombinator) https://blog.golang.org/survey2017-results https://news.ycombinator.com/item?id=16468358 My biggest takes from this are 1) people are looking for python alternatives, probably more so than c alternatives 2) generic programming is

Re: How do you get comfortable with Dlang.org's Forum?

2018-02-23 Thread Ali via Digitalmars-d
On Friday, 23 February 2018 at 13:47:16 UTC, biocyberman wrote: Want to learn something from you guys. I would like to know how you guys get comfortable with using the forum? Dlang forum in my opinion, is one of the most tolerant and friendly programming language forums So the experience

Re: Learning D Programming

2018-02-22 Thread Ali via Digitalmars-d
On Thursday, 22 February 2018 at 10:31:05 UTC, Lianamelissa wrote: Hi this is liana working on[url=https://mindmajix.com/big-data-on-aws-training] big data on aws[/url],my question is D-programming is useful for the big data developers. this account, seem to be going around programming

Re: Multiple Alis

2018-02-15 Thread Ali via Digitalmars-d
On Tuesday, 13 February 2018 at 00:47:42 UTC, Ali Çehreli wrote: Nothing serious but in case you are confused, there are at least three separate and awesome Alis frequenting these newsgroups. :) From: Ali Çehreli Email: acehr...@yahoo.com Almost always ends posts simply with "Ali" From: Ali

Re: Congrats to D / Vibe-D -- techempower Round 15

2018-02-15 Thread Ali via Digitalmars-d
On Thursday, 15 February 2018 at 20:43:41 UTC, Daniel Kozak wrote: Unfortunately they have use wrong results. They have selected run from 31.1.2018. But If they use the other one from february, it would be better. But still is nice Can you post the numbers from Feb, for us here? :)

Re: Multiple Alis

2018-02-12 Thread Ali Ali via Digitalmars-d
On Tuesday, 13 February 2018 at 00:47:42 UTC, Ali Çehreli wrote: Nothing serious but in case you are confused, there are at least three separate and awesome Alis frequenting these newsgroups. :) From: Ali Çehreli Email: acehr...@yahoo.com Almost always ends posts simply with "Ali" From: Ali

Re: Old but interesting link as to the low adoption reason for D

2018-02-12 Thread Ali via Digitalmars-d
On Monday, 12 February 2018 at 22:10:49 UTC, Bo wrote: On Monday, 12 February 2018 at 21:49:00 UTC, Craig Dillabaugh wrote: How to fix? It only gets fixed when the people above put forward a clear goal for the language. When that is lacking and people move at random like headless chickens with

Re: Vanquish Forever These Bugs That Blasted Your Kingdom

2018-02-12 Thread Ali via Digitalmars-d-announce
On Wednesday, 7 February 2018 at 20:30:54 UTC, Dmitry Olshansky wrote: On Wednesday, 7 February 2018 at 13:29:04 UTC, Mike Parker wrote: While an enjoable read, I fear we are aiming too low. Other languages like Rust or C# (or Java) have bounds check. Maybe I was missing the point, but isnt

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

2018-02-11 Thread Ali via Digitalmars-d
On Monday, 12 February 2018 at 04:59:10 UTC, psychoticRabbit wrote: On Sunday, 11 February 2018 at 23:00:40 UTC, Walter Bright wrote: Even little ones like char16_t, char32_t, and being able to separate digits with single quotes, and larger ones like static if and ranges. D's support for

Re: A betterC base

2018-02-08 Thread Ali via Digitalmars-d
On Thursday, 8 February 2018 at 23:27:25 UTC, Adam D. Ruppe wrote: On Thursday, 8 February 2018 at 15:55:09 UTC, JN wrote: Citation needed on how garbage collection has been a smashing success based on its merits rather than the merits of the languages that use garbage collection. Who cares?

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

2018-02-07 Thread Ali via Digitalmars-d
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 my modest opinion about this D currently is a small player, that have an attractive proposition for some * it is like C++ (that is close to the power of

Re: zortech - symantec - digital mars

2018-02-07 Thread Ali via Digitalmars-d
On Tuesday, 6 February 2018 at 03:07:02 UTC, rikki cattermole wrote: On 05/02/2018 5:07 PM, Ali wrote: On Saturday, 3 February 2018 at 15:47:59 UTC, Ali wrote: Some people had the impression that D started as a closed source project( https://news.ycombinator.com/item?id=16270937 ) I believe

Re: zortech - symantec - digital mars

2018-02-05 Thread Ali via Digitalmars-d
On Saturday, 3 February 2018 at 15:47:59 UTC, Ali wrote: Out of curiosity What is the history between dmd and symantec I was able to find few things online I know that there once was a company called zorland, which later becamse zortech Zortech, created c/c++ compilers Symantec tookover

zortech - symantec - digital mars

2018-02-03 Thread Ali via Digitalmars-d
Out of curiosity What is the history between dmd and symantec I was able to find few things online I know that there once was a company called zorland, which later becamse zortech Zortech, created c/c++ compilers Symantec tookover zortech, to get into the compiler business Walter Albright,

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

2018-01-31 Thread Ali via Digitalmars-d
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 kinda small discussion on ycombinator https://news.ycombinator.com/item?id=16270841

Re: [theory] What is a type?

2018-01-15 Thread Ali via Digitalmars-d
On Sunday, 10 October 2010 at 12:28:32 UTC, Justin Johansson wrote: Now having hopefully described that a type is something that might well have multiple orthogonal aspects to its identity, how would one go about implementing a dynamic language with such a complex type system in D? I realize

Re: Old Quora post: D vs Go vs Rust by Andrei Alexandrescu

2018-01-03 Thread Ali via Digitalmars-d
On Tuesday, 2 January 2018 at 19:50:55 UTC, Ola Fosheim Grøstad wrote: On Tuesday, 2 January 2018 at 16:34:25 UTC, Ali wrote: "Overall it could be said that D has the downsides of GC but doesn't enjoy its benefits." Not a true statement. Go does not have long pauses, but it has slightly

Old Quora post: D vs Go vs Rust by Andrei Alexandrescu

2018-01-02 Thread Ali via Digitalmars-d
While randomly browsing online, I found this link below https://www.quora.com/Which-language-has-the-brightest-future-in-replacement-of-C-between-D-Go-and-Rust-And-Why/answer/Andrei-Alexandrescu This is a post on Quora, with some interesting statements by Andrei himself "Overall it could be

Re: Maybe D is right about GC after all !

2017-12-31 Thread Ali via Digitalmars-d
On Tuesday, 19 December 2017 at 09:54:05 UTC, Walter Bright wrote: "C, Python, Go, and the Generalized Greenspun Law" http://esr.ibiblio.org/?p=7804 So .. and this is more of a question, to the maintainers and creators of D, what does this mean for D, what is the road map for D - More

Re: A note on troll engagement

2017-11-27 Thread Ali via Digitalmars-d
On Monday, 27 November 2017 at 17:44:54 UTC, Andrei Alexandrescu wrote: All: we have had an increase in troll posts lately. Please avoid engaging them and resist the urge to correct assertions no matter how wrong, indignating, etc. The best response to troll posts is spending the time that

OT: (only slightly off topic) Ocaml investing in high-assurance applications

2017-11-13 Thread Ali via Digitalmars-d
On Monday, 13 November 2017 at 16:12:42 UTC, Joakim wrote: Probably a good sign that they mention D with C++ and Rust and have looked at D features: https://github.com/zig-lang/zig/wiki/Why-Zig-When-There-is-Already-CPP%2C-D%2C-and-Rust%3F

Re: My two cents

2017-10-18 Thread Ali via Digitalmars-d
On Wednesday, 18 October 2017 at 08:56:21 UTC, Satoshi wrote: For me, it seems like Walter is solving edge case problems like return ref parameters and return functions but is unable to add some basic stuff. Thanks for your time. - Satoshi well, i've been following this forum for a while

Re: What is the Philosophy of D?

2017-10-18 Thread Ali via Digitalmars-d
On Wednesday, 18 October 2017 at 12:40:07 UTC, Andrea Fontana wrote: On Monday, 16 October 2017 at 21:04:15 UTC, Moritz Maxeiner wrote: "Get it done, but also right" Just D it C#, without the runtime inspired by the post by satoshi's two cents post

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

Re: D on quora ...

2017-10-06 Thread Ali via Digitalmars-d
On Friday, 6 October 2017 at 20:17:33 UTC, Jonathan M Davis wrote: D's GC isn't going anywhere. Well, if I got the message correctly, it seems the key Dlang maintainers, are more sold on adding full support to Deterministic (manual) Memory management And a lot less sold on improving the

Re: D on quora ...

2017-10-06 Thread Ali via Digitalmars-d
On Friday, 6 October 2017 at 17:27:03 UTC, H. S. Teoh wrote: On Fri, Oct 06, 2017 at 05:14:51PM +, 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

Re: D books for $10

2017-09-12 Thread Ali via Digitalmars-d-announce
On Tuesday, 12 September 2017 at 06:29:04 UTC, Kai Nacke wrote: Hi all, D Web Development by myself (https://www.packtpub.com/web-development/d-web-development) Regards, Kai kind of unrelated question, does vibe.d install and deploys to windows?

Re: Release D 2.076.0

2017-09-01 Thread Ali via Digitalmars-d-announce
On Friday, 1 September 2017 at 17:33:26 UTC, Ali wrote: On Friday, 1 September 2017 at 14:03:26 UTC, Martin Nowak wrote: http://dlang.org/changelog/2.076.0.html - -Martin static foreach is so nice, it is implemented twice :) to be clear - Implement DIP 1010 - Static foreach is mentioned

Re: Release D 2.076.0

2017-09-01 Thread Ali via Digitalmars-d-announce
On Friday, 1 September 2017 at 14:03:26 UTC, Martin Nowak wrote: Glad to announce D 2.076.0. This release comes with static foreach, many -betterC enhancements, various phobos additions, an -mcpu=avx2 switch, and lots of bugfixes. Thanks to everyone involved in this .

Re: Jetbrains announce support for rust plugin, show them we want one too!

2017-08-11 Thread Ali via Digitalmars-d
On Friday, 11 August 2017 at 12:11:13 UTC, Vadim Lopatin wrote: E.g. DlangIDE is written in D, uses cross-platform GUI library DlangUI which is written in D, and is cross-platform. May work even as console app. First, you are to be saluted (luimarco style*) for your effor on DlangIDE and

Re: Jetbrains announce support for rust plugin, show them we want one too!

2017-08-04 Thread Ali via Digitalmars-d
On Friday, 4 August 2017 at 19:27:13 UTC, SCev wrote: yes, but would be cool to have official support from jetbrains, they know their ide/plugin API better than anyone else, so it'd speed up / improve dev of the plugin by a lot! Don't stay silent, post comment on their page :D Well,

Re: Jetbrains announce support for rust plugin, show them we want one too!

2017-08-04 Thread Ali via Digitalmars-d
On Friday, 4 August 2017 at 18:15:47 UTC, SCev wrote: Just today, jetbrains announced their official support for the rust plugin I'm sure they'll do something for D if we ask them, don't stay silent!! show them you want something Leave a comment in their blog for a D support! too! We can

Re: Weka.IO in the news... but not mentioning Dlang... why?

2017-08-03 Thread Ali via Digitalmars-d
On Thursday, 3 August 2017 at 19:58:57 UTC, notna wrote: What a missed marketing opportunity for Dlang... nevertheless, good news as sooner or later people will get it... and congrats to Weka.IO on "going public"...

How do you use D?

2017-07-28 Thread Ali via Digitalmars-d
While the Orgs using D page is very nice ... I hoping to hear more personal stories ... So How do you use D? In work, (key projects or smaller side projects) in your side project, (github, links please) just to learn something new? (I would easily argue that learning D will make you a better

Re: D easily overlooked?

2017-07-26 Thread Ali via Digitalmars-d
On Wednesday, 26 July 2017 at 19:56:01 UTC, Ali wrote: .. honestly it should, now one language should be your only language, DIP 9000, we need a real forum software, the above is a typo it should read "honestly it should not no one language should be your only language"

Re: D easily overlooked?

2017-07-26 Thread Ali via Digitalmars-d
On Wednesday, 26 July 2017 at 19:27:06 UTC, Ola Fosheim Grøstad wrote: On Wednesday, 26 July 2017 at 18:58:31 UTC, kinke wrote: People need to eventually understand that all the energy wasted for complaining about D/the community/whatever would be so much more valuable if put into

Re: is the ubuntu sourceforge repository safe?

2017-07-26 Thread Ali via Digitalmars-d
On Monday, 24 July 2017 at 11:02:55 UTC, Russel Winder wrote: On Sun, 2017-07-23 at 18:23 +, Michael via Digitalmars-d wrote: I stopped using it. It kept causing error messages in my package manager and I couldn't update it properly so I've just stuck to downloading the updates on

Re: D easily overlooked?

2017-07-24 Thread Ali via Digitalmars-d
On Monday, 24 July 2017 at 12:47:43 UTC, Ola Fosheim Grøstad wrote: On Monday, 24 July 2017 at 11:28:51 UTC, Russel Winder wrote: I had assumed D was designed to be a GC language from the outset. The D memory model is still in flux and always allowed C-like memory management. Whereas both Go

Re: D easily overlooked?

2017-07-22 Thread Ali via Digitalmars-d
On Saturday, 22 July 2017 at 14:39:17 UTC, Moritz Maxeiner wrote: On Saturday, 22 July 2017 at 13:27:03 UTC, aedt wrote: Unless some miracle happens and makes the GC better by preventing stop-the-world I have yet to see a (working, correct) non-STW GC that doesn't make other trade offs not

is the ubuntu sourceforge repository safe?

2017-07-21 Thread Ali via Digitalmars-d
I know that sourceforge doesnt have the best security track record Is it safe thought to use the dmd ubuntu repository hosted there [code] sudo wget http://master.dl.sourceforge.net/project/d-apt/files/d-apt.list -O /etc/apt/sources.list.d/d-apt.list wget -qO - https://dlang.org/d-keyring.gpg

Re: Rename 'D' to 'D++'

2017-03-31 Thread Ali via Digitalmars-d
On Saturday, 11 March 2017 at 15:27:50 UTC, Kagamin wrote: D•• :D thanks for sharing https://img.memesuper.com/9d0f96eb3d5a68cff0a3dd357957895b_muahaha-muahaha-meme_625-833.jpeg

Re: sort, .array and folding on immutable data (finding most common character in column of matrix)

2016-12-19 Thread Ali via Digitalmars-d-learn
On Monday, 19 December 2016 at 14:09:47 UTC, pineapple wrote: This is a shortcoming of Phobos - here is a package of sorting algorithms including some that do not require their inputs to be mutable, random access, and/or finite:

Re: sort, .array and folding on immutable data (finding most common character in column of matrix)

2016-12-19 Thread Ali via Digitalmars-d-learn
On Monday, 19 December 2016 at 12:45:48 UTC, Nicholas Wilson wrote: Ah, oh well. It was nice in theory. Indeed. Thank you for trying Nicholas :) auto word = data.map!(reduce!max).array.map!"a[1]".array; you want auto word = data.map!"a[1]".map!(reduce!max).array; Problem max has to

Re: sort, .array and folding on immutable data (finding most common character in column of matrix)

2016-12-19 Thread Ali via Digitalmars-d-learn
On Monday, 19 December 2016 at 10:03:34 UTC, Nicholas Wilson wrote: On Monday, 19 December 2016 at 09:24:38 UTC, Ali wrote: On Monday, 19 December 2016 at 00:11:49 UTC, Nicholas Wilson wrote: [...] Ok so laziness stops as soon as sort is required on a range then? No. Because a lazy range

Re: Pointer to private structure

2016-12-19 Thread Ali via Digitalmars-d-learn
On Monday, 19 December 2016 at 06:42:27 UTC, Nikhil Jacob wrote: On Monday, 19 December 2016 at 06:21:10 UTC, ketmar wrote: i bet that just trying this with D compiler will take less time than writing forum post. I did try but it seems to give compilation failure... Let me try once more and

Re: sort, .array and folding on immutable data (finding most common character in column of matrix)

2016-12-19 Thread Ali via Digitalmars-d-learn
On Monday, 19 December 2016 at 00:11:49 UTC, Nicholas Wilson wrote: On Sunday, 18 December 2016 at 22:26:50 UTC, Ali wrote: 1. The first line with the splitting, I need to use .array three times. The last one I understand is because on "line 2" I alias T as the type of the data, and if I

sort, .array and folding on immutable data (finding most common character in column of matrix)

2016-12-18 Thread Ali via Digitalmars-d-learn
Hey, so I have this data file that has a list of a string of characters separated by new lines. The task is to find the most common letter in each column. Ie if file is: abc axy cxc Then the letters are a (column 1), x and c. I've written the code to do this at compile time. But I have a

  1   2   >