Re: D for the Win

2014-08-21 Thread eles via Digitalmars-d-announce
On Wednesday, 20 August 2014 at 21:43:26 UTC, Walter Bright wrote: On 8/20/2014 2:33 PM, anonymous wrote: Dlang Dlang Über Alles as a German, O_O I'm not surprised that the German programming community has taken to D. After all, German cars all have those D stickers on them :-) French

Re: D 2.066 is out. Enjoy!

2014-08-21 Thread eles via Digitalmars-d-announce
On Thursday, 21 August 2014 at 01:30:52 UTC, ketmar via Digitalmars-d-announce wrote: On Wed, 20 Aug 2014 10:18:09 -0700 Andrei Alexandrescu via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: What is it that we could help with? -- Andrei he's drama queen, he doesn't need

Re: D for the Win

2014-08-21 Thread eles via Digitalmars-d-announce
On Wednesday, 20 August 2014 at 22:02:31 UTC, anonymous wrote: On Wednesday, 20 August 2014 at 21:43:26 UTC, Walter Bright wrote: On 8/20/2014 2:33 PM, anonymous wrote: Dlang Dlang Über Alles as a German, O_O I'm not surprised that the German programming community has taken to D. After

Re: D 2.066 is out. Enjoy!

2014-08-21 Thread Jacob Carlborg via Digitalmars-d-announce
On 20/08/14 18:57, Brad Anderson wrote: Anything specific you have problems with? Syntax changes aren't all that common these days Support for C++ namespaces where just released and support for C++ templates will most likely end up in master soon. -- /Jacob Carlborg

Re: D for the Win

2014-08-21 Thread Nick Sabalausky via Digitalmars-d-announce
On 8/20/2014 5:39 PM, Peter Alexander wrote: Ha, that opDollar thing in the HTML generator is the nastiest D hack I've seen :-P Yea, this *statement* really made me go o_O link[$.rel = foobar, $.type = text/css]; That's a lot of syntax abuse there! Still, if it works for him, great, who

Re: D for the Win

2014-08-21 Thread Nick Sabalausky via Digitalmars-d-announce
On 8/20/2014 6:57 PM, Paulo Pinto wrote: Am 21.08.2014 00:02, schrieb anonymous: No, no, Dlang Dlang Über Alles is a take on Deutschland Deutschland über alles (Germany Germany over everything), the first verse of the national anthem as sung in Nazi times. I was actually worried if the author

Re: D for the Win

2014-08-21 Thread ketmar via Digitalmars-d-announce
On Thu, 21 Aug 2014 04:31:31 -0400 Nick Sabalausky via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: Yea, this *statement* really made me go o_O link[$.rel = foobar, $.type = text/css]; That's a lot of syntax abuse there! but it's fun! we all used to think that $

Re: D for the Win

2014-08-21 Thread Ola Fosheim Gr via Digitalmars-d-announce
On Thursday, 21 August 2014 at 08:31:49 UTC, Nick Sabalausky wrote: link[$.rel = foobar, $.type = text/css]; That's a lot of syntax abuse there! Still, if it works for him, great, who am I to complain? At the end of the day, it's just a tool. Now the comma-operator has to stay because

Re: D for the Win

2014-08-21 Thread ketmar via Digitalmars-d-announce
On Thu, 21 Aug 2014 08:37:30 + Ola Fosheim Gr via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: Now the comma-operator has to stay because removing it is a severe breaking change. but we can abuse opIndex and/or opSlice too! ;-) signature.asc Description: PGP

Re: D for the Win

2014-08-21 Thread Jacob Carlborg via Digitalmars-d-announce
On 21/08/14 10:37, Ola Fosheim Gr wrote: Now the comma-operator has to stay because removing it is a severe breaking change. Isn't that multiple arguments to opIndex? -- /Jacob Carlborg

Re: D for the Win

2014-08-21 Thread Rory McGuire via Digitalmars-d-announce
What is really awesome about this is that his code actually worked, the mixing of operator overloads, opDispatch and rarely used features(e.g. comma op). D has come a long way in the last decade. On Thu, Aug 21, 2014 at 10:40 AM, ketmar via Digitalmars-d-announce

Re: D for the Win

2014-08-21 Thread Rory McGuire via Digitalmars-d-announce
On Thu, Aug 21, 2014 at 10:47 AM, Jacob Carlborg via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: On 21/08/14 10:37, Ola Fosheim Gr wrote:Isn't that multiple arguments to opIndex? -- /Jacob Carlborg mm, yes I believe you are right.

Re: Dutyl - a Vim plugin for running D tools

2014-08-21 Thread BlackEdder via Digitalmars-d-announce
On Thursday, 14 August 2014 at 22:20:52 UTC, Idan Arye wrote: I'm open for suggestions for other tools and features to add to Dutyl(write them here, or preferably open GitHub issues with them) Any idea if this plugin works in conjunction with YouCompleteMe?

Re: D for the Win

2014-08-21 Thread Ola Fosheim Gr via Digitalmars-d-announce
On Thursday, 21 August 2014 at 08:47:50 UTC, Jacob Carlborg wrote: Isn't that multiple arguments to opIndex? Probably, I was just trying to be funny :P There should be a tutorial D for perl programmers of the 90s...

Re: Dutyl - a Vim plugin for running D tools

2014-08-21 Thread Rory McGuire via Digitalmars-d-announce
When I try to use this it just says that complete is not able to work at and suggests that DCD might not be running. Ubuntu 14.04. dcd-server and client are in path, even tried adding explicitly. How does one debug this plugin? On Thu, Aug 21, 2014 at 10:50 AM, BlackEdder via

Re: D 2.066 is out. Enjoy!

2014-08-21 Thread Daniel Murphy via Digitalmars-d-announce
Jacob Carlborg wrote in message news:lt43pj$ral$1...@digitalmars.com... Support for C++ namespaces where just released and support for C++ templates will most likely end up in master soon. Support for C++ templates was in the last release, and the new pull request is only for special

Re: Dutyl - a Vim plugin for running D tools

2014-08-21 Thread Weaseldog via Digitalmars-d-announce
On Thursday, 21 August 2014 at 08:50:50 UTC, BlackEdder wrote: On Thursday, 14 August 2014 at 22:20:52 UTC, Idan Arye wrote: I'm open for suggestions for other tools and features to add to Dutyl(write them here, or preferably open GitHub issues with them) Any idea if this plugin works in

Re: D for the Win

2014-08-21 Thread anonymous via Digitalmars-d-announce
On Thursday, 21 August 2014 at 01:51:11 UTC, ketmar via Digitalmars-d-announce wrote: i always wonder how good people at finding various offences I'm not offended. and fascims everywhere. It's pretty much the Nazi anthem. It doesn't get much more fascist than that. Of course, someone can

Re: D for the Win

2014-08-21 Thread anonymous via Digitalmars-d-announce
On Wednesday, 20 August 2014 at 22:57:21 UTC, Paulo Pinto wrote: As a Portuguese living in Germany, I would say not everyone knows that outside Germany. Certainly. As I said, from an Israeli it's probably benign. I guess if aynthing, it's meant to be jokingly provoking towards Germans. I don't

Re: D for the Win

2014-08-21 Thread ketmar via Digitalmars-d-announce
On Thu, 21 Aug 2014 11:48:32 + anonymous via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: It's pretty much the Nazi anthem. oh, really? let's see. current German anthem: Einigkeit und Recht und Freiheit für das deutsche Vaterland! Danach lasst uns alle streben

Re: D for the Win

2014-08-21 Thread Dicebot via Digitalmars-d-announce
On Thursday, 21 August 2014 at 12:05:40 UTC, ketmar via Digitalmars-d-announce wrote: ... Please, this is not important enough to argue here.

Re: D for the Win

2014-08-21 Thread ketmar via Digitalmars-d-announce
On Thu, 21 Aug 2014 12:08:05 + Dicebot via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: Please, this is not important enough to argue here. ah, excuse me. it's so easy to drag me into such talks... mea culpa. signature.asc Description: PGP signature

Re: D for the Win

2014-08-21 Thread Gary Willoughby via Digitalmars-d-announce
http://en.wikipedia.org/wiki/Godwin's_law

Re: D 2.066 is out. Enjoy!

2014-08-21 Thread Kagamin via Digitalmars-d-announce
On Wednesday, 20 August 2014 at 16:25:04 UTC, disapointed user wrote: too bad that i wasted my time for such a long time. i post a link to that thread with your answer to everywhere i can, so that others won't waste their time too. anyway good luck in the future for you linux guys. Well,

Re: D 2.066 is out. Enjoy!

2014-08-21 Thread Jacob Carlborg via Digitalmars-d-announce
On 21/08/14 12:10, Daniel Murphy wrote: Support for C++ templates was in the last release, and the new pull request is only for special mangling of some stl declarations. You see, I get confused of all the syntax changes ;) -- /Jacob Carlborg

The No Explicit Save UI paradigm

2014-08-21 Thread Bruno Medeiros via Digitalmars-d-announce
On 07/08/2014 15:45, David Gileadi wrote: On 8/7/14, 4:18 AM, Bruno Medeiros wrote: This is an interesting behavior I've come across, even before watching this talk: Recently I tried IntelliJ IDEA, and it also goes away with any explicit UI notion of saving a file. It just saves files

Re: Dutyl - a Vim plugin for running D tools

2014-08-21 Thread Idan Arye via Digitalmars-d-announce
On Thursday, 21 August 2014 at 08:57:55 UTC, Rory McGuire via Digitalmars-d-announce wrote: When I try to use this it just says that complete is not able to work at and suggests that DCD might not be running. Ubuntu 14.04. dcd-server and client are in path, even tried adding explicitly. How

Re: Dutyl - a Vim plugin for running D tools

2014-08-21 Thread Rory McGuire via Digitalmars-d-announce
Yip I tried running it manually in another terminal. Is there an error log or something somewhere? On 21 Aug 2014 19:00, Idan Arye via Digitalmars-d-announce digitalmars-d-announce@puremagic.com wrote: On Thursday, 21 August 2014 at 08:57:55 UTC, Rory McGuire via Digitalmars-d-announce wrote:

Re: Dutyl - a Vim plugin for running D tools

2014-08-21 Thread Idan Arye via Digitalmars-d-announce
On Thursday, 21 August 2014 at 10:20:24 UTC, Weaseldog wrote: On Thursday, 21 August 2014 at 08:50:50 UTC, BlackEdder wrote: On Thursday, 14 August 2014 at 22:20:52 UTC, Idan Arye wrote: I'm open for suggestions for other tools and features to add to Dutyl(write them here, or preferably open

Re: D 2.066 is out. Enjoy!

2014-08-21 Thread Jonathan M Davis via Digitalmars-d-announce
On Thursday, 21 August 2014 at 15:20:49 UTC, Daniel Murphy wrote: Jacob Carlborg wrote in message news:lt50m0$20f0$1...@digitalmars.com... Support for C++ templates was in the last release, and the new pull request is only for special mangling of some stl declarations. You see, I get

Re: D 2.066 is out. Enjoy!

2014-08-21 Thread Jonathan M Davis via Digitalmars-d-announce
On Tuesday, 19 August 2014 at 08:14:41 UTC, novice2 wrote: http://dlang.org/changelog.html Version D 2.066 August 18, 2014 ... Phobos enhancements 1.Bugzilla 3780: getopt improvements by Igor Lesik Sorry, i can't find this improvements nor in getopt.d nor in

Re: D 2.066 is out. Enjoy!

2014-08-21 Thread Walter Bright via Digitalmars-d-announce
On 8/21/2014 11:54 AM, Jonathan M Davis wrote: LOL. Yeah, well, it would be ni going to support C+ce if we could get an actual list of the C++ features that D currently supports somewhere (and how to use them if it's not obvious). You've been doing so much great work on that that I have no clue

Re: D 2.066 is out. Enjoy!

2014-08-21 Thread Jonathan M Davis via Digitalmars-d-announce
On Thursday, 21 August 2014 at 20:33:56 UTC, Walter Bright wrote: On 8/21/2014 11:54 AM, Jonathan M Davis wrote: LOL. Yeah, well, it would be ni going to support C+ce if we could get an actual list of the C++ features that D currently supports somewhere (and how to use them if it's not

Re: D 2.066 is out. Enjoy!

2014-08-21 Thread bachmeier via Digitalmars-d-announce
On Thursday, 21 August 2014 at 20:43:53 UTC, Jonathan M Davis wrote: On Thursday, 21 August 2014 at 20:33:56 UTC, Walter Bright wrote: On 8/21/2014 11:54 AM, Jonathan M Davis wrote: LOL. Yeah, well, it would be ni going to support C+ce if we could get an actual list of the C++ features that D

D 2.066 new behavior

2014-08-21 Thread Paul D Anderson via Digitalmars-d-announce
In all previous versions through 2.066 beta 5, the following code compiled and ran correctly: import std.stdio; T add(T)(in T x, in T y) { T z; z = x + y; return z; } void main() { const double a = 1.0; const double b = 2.0; double c; c

Re: D 2.066 new behavior

2014-08-21 Thread safety0ff via Digitalmars-d-announce
On Friday, 22 August 2014 at 01:54:55 UTC, Paul D Anderson wrote: Is this expected behavior that has never been enforced before, or is it something new? And is anyone else having the same problem? Paul Looks like a regression, I've filed it here:

Re: D for the Win

2014-08-21 Thread Walter Bright via Digitalmars-d-announce
On 8/20/2014 3:02 PM, anonymous wrote: [...] I agree with Dicebot. Let's not go there.

Automated source translation of C++ to D

2014-08-21 Thread Joakim via Digitalmars-d
C++ support keeps coming up these days, with Andrei continually stressing it as something to work on. How hard would it to be to write a C++-D translator, to allow people to translate C++ libraries to D? I've been using tools like DStep and looking at libdparse, which seem to work very

Re: Simplified signatures in generated documentation

2014-08-21 Thread Jacob Carlborg via Digitalmars-d
On 20/08/14 18:34, H. S. Teoh via Digitalmars-d wrote: Sorry, I didn't make myself clear. What I meant was that ddoc will generate the above structure, so that user ddoc templates can customize the appearance of each element in the declaration. You don't actually write any of these macros

Re: Automated source translation of C++ to D

2014-08-21 Thread ketmar via Digitalmars-d
On Thu, 21 Aug 2014 06:35:53 + Joakim via Digitalmars-d digitalmars-d@puremagic.com wrote: i believe that all code that using STL/Boost will not be translated (and this is the majority of C++ code, i think). and only very-very primitive templates can be translated automatically. so maybe i'm

Re: Automated source translation of C++ to D

2014-08-21 Thread Jacob Carlborg via Digitalmars-d
On 21/08/14 08:35, Joakim wrote: C++ support keeps coming up these days, with Andrei continually stressing it as something to work on. How hard would it to be to write a C++-D translator, to allow people to translate C++ libraries to D? I've been using tools like DStep and looking at

Re: [OT] Re: Redesign of dlang.org

2014-08-21 Thread via Digitalmars-d
On Thursday, 21 August 2014 at 04:59:20 UTC, Hubert wrote: https://www.dropbox.com/s/oicmwoboku136jq/dlang_test_redesign.png My emphasis has been on creating a friendly first impression; a lightweight page to introduce newcomers to D and get them started quickly. +1 Cool look! The

Re: Setting array length to 0 discards reserved allocation?

2014-08-21 Thread Andrew Godfrey via Digitalmars-d
On Thursday, 21 August 2014 at 03:53:42 UTC, ketmar via Digitalmars-d wrote: On Thu, 21 Aug 2014 03:24:35 + Andrew Godfrey via Digitalmars-d digitalmars-d@puremagic.com wrote: maybe just call that slice views? ;-) really, uncommon term will (at least it should ;-) make user to read

Re: BitC, Rust, dog food and more

2014-08-21 Thread eles via Digitalmars-d
On Sunday, 25 March 2012 at 17:31:45 UTC, bearophile wrote: I think that one of the most important things to underscore is that we would have never found these things so early unless we had written the Rust compiler in Rust itself. It forces us to use the language constantly, and we quickly

Re: Setting array length to 0 discards reserved allocation?

2014-08-21 Thread ketmar via Digitalmars-d
On Thu, 21 Aug 2014 07:23:34 + Andrew Godfrey via Digitalmars-d digitalmars-d@puremagic.com wrote: slice view sounds odd i agree, i just took the first words that came into my head. ;-) Maybe I should have another look at that - maybe introducing slice first and the slice operator later,

Re: BitC, Rust, dog food and more

2014-08-21 Thread simendsjo via Digitalmars-d
On 08/21/2014 09:39 AM, eles wrote: On Sunday, 25 March 2012 at 17:31:45 UTC, bearophile wrote: I think that one of the most important things to underscore is that we would have never found these things so early unless we had written the Rust compiler in Rust itself. It forces us to use the

Re: BitC, Rust, dog food and more

2014-08-21 Thread eles via Digitalmars-d
On Thursday, 21 August 2014 at 07:53:40 UTC, simendsjo wrote: On 08/21/2014 09:39 AM, eles wrote: On Sunday, 25 March 2012 at 17:31:45 UTC, bearophile wrote: Time to ask this again? AFAIK, ddmd is well underway and is pretty much in an alpha-state now. More precisely, I was asking this:

Re: Automated source translation of C++ to D

2014-08-21 Thread Andrei Alexandrescu via Digitalmars-d
On 8/20/14, 11:35 PM, Joakim wrote: C++ support keeps coming up these days, with Andrei continually stressing it as something to work on. How hard would it to be to write a C++-D translator, to allow people to translate C++ libraries to D? I've been using tools like DStep and looking at

Re: [OT] Re: Redesign of dlang.org

2014-08-21 Thread Jacob Carlborg via Digitalmars-d
On 21/08/14 06:59, Hubert wrote: https://www.dropbox.com/s/oicmwoboku136jq/dlang_test_redesign.png I kind of like the structure of the page, but not the colors. -- /Jacob Carlborg

Re: BitC, Rust, dog food and more

2014-08-21 Thread Chris via Digitalmars-d
On Sunday, 25 March 2012 at 19:21:12 UTC, Walter Bright wrote: I don't see a reason for programmers to spend 10 years suffering in the wilderness to learn to avoid making certain kinds of mistakes. I couldn't agree more.

Re: auto ref deduction and common type deduction inconsistency

2014-08-21 Thread Peter Alexander via Digitalmars-d
On Thursday, 21 August 2014 at 05:24:13 UTC, Artur Skawina via Digitalmars-d wrote: While D's `ref` is a hack, it's /already/ part of the function type/signature. The return type of a function is /already/ (ie in the D dialects supported by recent frontend releases) determined from *all*

Re: BitC, Rust, dog food and more

2014-08-21 Thread Daniel Murphy via Digitalmars-d
eles wrote in message news:hojvezprzeaqqceml...@forum.dlang.org... AFAIK, ddmd is well underway and is pretty much in an alpha-state now. More precisely, I was asking this: http://forum.dlang.org/post/jko1cn$1s5v$1...@digitalmars.com The old DDMD project is no longer relevant.

Re: Automated source translation of C++ to D

2014-08-21 Thread Daniel Murphy via Digitalmars-d
Joakim wrote in message news:ysntkmioyndreuiiy...@forum.dlang.org... C++ support keeps coming up these days, with Andrei continually stressing it as something to work on. How hard would it to be to write a C++-D translator, to allow people to translate C++ libraries to D? You might want

Re: Brighton [was Using D]

2014-08-21 Thread Iain Buclaw via Digitalmars-d
On 12 Jul 2014 16:03, Iain Buclaw ibuc...@gdcproject.org wrote: On 12 July 2014 15:53, Russel Winder via Digitalmars-d digitalmars-d@puremagic.com wrote: On Sat, 2014-07-12 at 15:37 +0100, Iain Buclaw via Digitalmars-d wrote: […] I live literally 400 yards away from the burnt down west

Re: BitC, Rust, dog food and more

2014-08-21 Thread AsmMan via Digitalmars-d
On Thursday, 21 August 2014 at 10:02:44 UTC, Daniel Murphy wrote: eles wrote in message news:hojvezprzeaqqceml...@forum.dlang.org... AFAIK, ddmd is well underway and is pretty much in an alpha-state now. More precisely, I was asking this:

Re: BitC, Rust, dog food and more

2014-08-21 Thread Paulo Pinto via Digitalmars-d
On Thursday, 21 August 2014 at 11:29:57 UTC, AsmMan wrote: On Thursday, 21 August 2014 at 10:02:44 UTC, Daniel Murphy wrote: eles wrote in message news:hojvezprzeaqqceml...@forum.dlang.org... AFAIK, ddmd is well underway and is pretty much in an alpha-state now. More precisely, I was

Re: [OT] Re: Redesign of dlang.org

2014-08-21 Thread Dicebot via Digitalmars-d
On Thursday, 21 August 2014 at 04:59:20 UTC, Hubert wrote: First I wanna say that I've become a huge fan of D, and I hope one day I can replace all my creative projects with a D codebase. With that said, I do agree that D could use a redesign. I've not been monitoring this thread very closely,

Re: const after initialization / pointers, references and values

2014-08-21 Thread Wyatt via Digitalmars-d
On Wednesday, 20 August 2014 at 21:26:55 UTC, Philippe Sigaud via Digitalmars-d wrote: If you want reference semantics but do not want to have pointers in your code, yes classes are your best choice. Alternatively, isn't this a good place to use ref parameters? Or is there some semantic I'm

Re: [OT] Re: Redesign of dlang.org

2014-08-21 Thread ketmar via Digitalmars-d
On Thu, 21 Aug 2014 12:09:37 + Dicebot via Digitalmars-d digitalmars-d@puremagic.com wrote: It probably looks good as a landing page for a newcomers but I will annoyed with extra forced navigation very quick through daily usage of the web site. It sacrifices productivity in favor of

Re: User data of epoll event is reported abnormally by epoll_wait.

2014-08-21 Thread Etienne via Digitalmars-d
On 2014-08-20 6:01 AM, blake kim wrote: extern(C) align(1) struct epoll_event { align(1): uint events; epoll_data_t data; } Wow, that fixes my issue! I couldn't use more than 1 event in my array because of misalignment, thanks!

Re: BitC, Rust, dog food and more

2014-08-21 Thread Daniel Murphy via Digitalmars-d
AsmMan wrote in message news:vhlbrdptvpygtyyhp...@forum.dlang.org... On quick read I can't find the reason. Why is no longer relevant? Because it is dead, and we're automatically converting the C++ frontend to D. It will soon replace the C++ frontend in dmd.

Re: const after initialization / pointers, references and values

2014-08-21 Thread Philippe Sigaud via Digitalmars-d
On Wed, Aug 20, 2014 at 11:49 PM, Jakob Ovrum via Digitalmars-d digitalmars-d@puremagic.com wrote: Certainly the easiest, but I don't think it's always the best. If light-weightedness is desired, make the struct contain the reference, effectively making the struct a reference type Well, yes.

Communication with other languages via wrappers

2014-08-21 Thread seany via Digitalmars-d
I am starting this thread to quench my thirst for knowledge. I notice, that the existing wrappers to other languages are: C: D can natively interface to C C++ : Some interfacing possible Lua : There is LuaD and DLua Objective C : This :

Re: [OT] Re: Redesign of dlang.org

2014-08-21 Thread Meta via Digitalmars-d
On Thursday, 21 August 2014 at 04:59:20 UTC, Hubert wrote: https://www.dropbox.com/s/oicmwoboku136jq/dlang_test_redesign.png That does look quite nice. It may be a bit *too* minimalist, and the colours aren't right, but the design is solid.

Re: [OT] Re: Redesign of dlang.org

2014-08-21 Thread H. S. Teoh via Digitalmars-d
On Thu, Aug 21, 2014 at 04:59:18AM +, Hubert via Digitalmars-d wrote: [...] https://www.dropbox.com/s/oicmwoboku136jq/dlang_test_redesign.png My emphasis has been on creating a friendly first impression; a lightweight page to introduce newcomers to D and get them started quickly. I think

Re: [OT] Re: Redesign of dlang.org

2014-08-21 Thread Kagamin via Digitalmars-d
On Thursday, 21 August 2014 at 12:09:38 UTC, Dicebot wrote: It probably looks good as a landing page for a newcomers but I will annoyed with extra forced navigation very quick through daily usage of the web site. It sacrifices productivity in favor of good looks. Hmm... I don't remember,

Re: [OT] Re: Redesign of dlang.org

2014-08-21 Thread Dicebot via Digitalmars-d
On Thursday, 21 August 2014 at 15:14:05 UTC, Kagamin wrote: On Thursday, 21 August 2014 at 12:09:38 UTC, Dicebot wrote: It probably looks good as a landing page for a newcomers but I will annoyed with extra forced navigation very quick through daily usage of the web site. It sacrifices

Re: Communication with other languages via wrappers

2014-08-21 Thread Justin Whear via Digitalmars-d
On Thu, 21 Aug 2014 13:20:02 +, seany wrote: I am starting this thread to quench my thirst for knowledge. I notice, that the existing wrappers to other languages are: C: D can natively interface to C C++ : Some interfacing possible Lua :

Shouldn't have IsAlpha() from std.uni has a different name to avoid confusing from std.ascii?

2014-08-21 Thread MacAsm via Digitalmars-d
I'm trying to write in D rather than C++ an application where I do need to write a small parsing library. These two modules part of D standard library (no idea if it's D term to call a library/module part of the language itself) has the same name. Depeding if imported is either std.uni or

Re: Shouldn't have IsAlpha() from std.uni has a different name to avoid confusing from std.ascii?

2014-08-21 Thread ketmar via Digitalmars-d
On Thu, 21 Aug 2014 15:27:46 + MacAsm via Digitalmars-d digitalmars-d@puremagic.com wrote: Any thoughts? I don't know if I'm missing something but two functions (and not methods) with same name is very bad. they doing much the same, but for different character sets. two different names

Re: Shouldn't have IsAlpha() from std.uni has a different name to avoid confusing from std.ascii?

2014-08-21 Thread Jonathan M Davis via Digitalmars-d
On Thu, 21 Aug 2014 18:36:30 +0300 ketmar via Digitalmars-d digitalmars-d@puremagic.com wrote: On Thu, 21 Aug 2014 15:27:46 + MacAsm via Digitalmars-d digitalmars-d@puremagic.com wrote: Any thoughts? I don't know if I'm missing something but two functions (and not methods) with same

Linker `undefined reference` errors when using scoped imports

2014-08-21 Thread Uranuz via Digitalmars-d
For now I can't an example of code. But sometimes I get Linker errors on Ubuntu Linux when using *scoped imports*. May be this issue happens on another platforms too. Does anybody experience the same problem when compiling programmes? I'll try to invent some example of code that illustrates

Re: [OT] Re: Redesign of dlang.org

2014-08-21 Thread via Digitalmars-d
On Thursday, 21 August 2014 at 04:59:20 UTC, Hubert wrote: https://www.dropbox.com/s/oicmwoboku136jq/dlang_test_redesign.png This is a brilliant idea, except for the logo. We have one, and with it an identity, and we should not loose it. On Thursday, 21 August 2014 at 12:09:38 UTC, Dicebot

Re: [OT] Re: Redesign of dlang.org

2014-08-21 Thread Dicebot via Digitalmars-d
On Thursday, 21 August 2014 at 17:12:38 UTC, Théo Bueno wrote: On Thursday, 21 August 2014 at 12:09:38 UTC, Dicebot wrote: It probably looks good as a landing page for a newcomers but I will annoyed with extra forced navigation very quick through daily usage of the web site. It sacrifices

Re: [OT] Re: Redesign of dlang.org

2014-08-21 Thread via Digitalmars-d
On Thursday, 21 August 2014 at 17:15:30 UTC, Dicebot wrote: I prefer to have my cake and eat it at the same time. There is no reason why it can't have better navigation while making important information highlighted and visually eye-catching. Of course :) Also please avoid personal insults

Re: [OT] Re: Redesign of dlang.org

2014-08-21 Thread Dicebot via Digitalmars-d
On Thursday, 21 August 2014 at 17:24:28 UTC, Théo Bueno wrote: Also please avoid personal insults :P I wasn't insulting, my intention was to mention the fact that this argument is not entirely a matter of productivity, but a fear of change. I was referring to Don't forget that programmers

Re: [OT] Re: Redesign of dlang.org

2014-08-21 Thread via Digitalmars-d
On Thursday, 21 August 2014 at 17:12:38 UTC, Théo Bueno wrote: There is too much links in our actual homepage, newcomers are simply lost, we absolutely need to light it, to make it more friendly. Also, please see this message : http://forum.dlang.org/thread/euxbskjjoetrwrqtk...@forum.dlang.org

Re: [OT] Re: Redesign of dlang.org

2014-08-21 Thread via Digitalmars-d
On Thursday, 21 August 2014 at 17:31:45 UTC, Dicebot wrote: On Thursday, 21 August 2014 at 17:24:28 UTC, Théo Bueno wrote: Also please avoid personal insults :P I wasn't insulting, my intention was to mention the fact that this argument is not entirely a matter of productivity, but a fear of

scope classes mentioned in tutorials, but deprecated

2014-08-21 Thread Timothee Cour via Digitalmars-d
http://dlang.org/cpptod.html#raii mentions scope class and scope variables, which seem deprecated (http://dlang.org/deprecate.html)

Re: Automated source translation of C++ to D

2014-08-21 Thread Joakim via Digitalmars-d
On Thursday, 21 August 2014 at 10:00:43 UTC, Daniel Murphy wrote: Joakim wrote in message news:ysntkmioyndreuiiy...@forum.dlang.org... C++ support keeps coming up these days, with Andrei continually stressing it as something to work on. How hard would it to be to write a C++-D translator,

Re: [OT] Re: Redesign of dlang.org

2014-08-21 Thread w0rp via Digitalmars-d
On Thursday, 21 August 2014 at 04:59:20 UTC, Hubert wrote: First I wanna say that I've become a huge fan of D, and I hope one day I can replace all my creative projects with a D codebase. With that said, I do agree that D could use a redesign. I've not been monitoring this thread very closely,

Re: scope classes mentioned in tutorials, but deprecated

2014-08-21 Thread Brad Anderson via Digitalmars-d
On Thursday, 21 August 2014 at 17:55:19 UTC, Timothee Cour via Digitalmars-d wrote: http://dlang.org/cpptod.html#raii mentions scope class and scope variables, which seem deprecated (http://dlang.org/deprecate.html) https://github.com/D-Programming-Language/dlang.org/pull/637

Re: Automated source translation of C++ to D

2014-08-21 Thread po via Digitalmars-d
Might be pretty hard, C++ has some features D doesn't, not sure how you would emulate them. C++ has these, I don't think D does: move only types r-value references SFINAE ADL Multiple inheritance

Re: Automated source translation of C++ to D

2014-08-21 Thread Brad Anderson via Digitalmars-d
On Thursday, 21 August 2014 at 17:57:13 UTC, Joakim wrote: Yes, I'm aware of ddmd. You've mentioned many times that it only works because dmd is written using a very unC++-like style, to the point where github's source analyzer claims that dmd is written in 66.7% C, 28.4% D (presumably the

Re: Linker `undefined reference` errors when using scoped imports

2014-08-21 Thread Dicebot via Digitalmars-d
On Thursday, 21 August 2014 at 17:09:33 UTC, Uranuz wrote: For now I can't an example of code. But sometimes I get Linker errors on Ubuntu Linux when using *scoped imports*. May be this issue happens on another platforms too. Does anybody experience the same problem when compiling programmes?

Re: Linker `undefined reference` errors when using scoped imports

2014-08-21 Thread deadalnix via Digitalmars-d
On Thursday, 21 August 2014 at 18:27:30 UTC, Dicebot wrote: On Thursday, 21 August 2014 at 17:09:33 UTC, Uranuz wrote: For now I can't an example of code. But sometimes I get Linker errors on Ubuntu Linux when using *scoped imports*. May be this issue happens on another platforms too. Does

Re: [OT] Re: Redesign of dlang.org

2014-08-21 Thread deadalnix via Digitalmars-d
On Sunday, 27 July 2014 at 06:10:09 UTC, Andrei Alexandrescu wrote: On 7/26/14, 8:47 PM, H. S. Teoh via Digitalmars-d wrote: On Sat, Jul 26, 2014 at 07:39:50PM -0700, Andrei Alexandrescu via Digitalmars-d wrote: On 7/26/14, 6:30 PM, w0rp wrote: The std.algortihm documentation doesn't look

Re: [OT] Re: Redesign of dlang.org

2014-08-21 Thread via Digitalmars-d
On Thursday, 21 August 2014 at 15:16:52 UTC, Dicebot wrote: I check various parts of documentation (not DDOC-generates Phobos part but manually written articles) on a regular basis. It is often faster to find via navigating then search query because term usage is spread all across. But you

Re: Automated source translation of C++ to D

2014-08-21 Thread Walter Bright via Digitalmars-d
On 8/21/2014 10:57 AM, Joakim wrote: Given tools like libclang, how hard do you think it'd be to translate most of actual C++ to D? I'd say the possibility of that is about zero. Heck, we can't even do it 100% for C. The trouble is, D is not a perfect superset of C++, not even close: 1.

Re: Automated source translation of C++ to D

2014-08-21 Thread Joakim via Digitalmars-d
On Thursday, 21 August 2014 at 21:06:09 UTC, Walter Bright wrote: On 8/21/2014 10:57 AM, Joakim wrote: Given tools like libclang, how hard do you think it'd be to translate most of actual C++ to D? I'd say the possibility of that is about zero. Heck, we can't even do it 100% for C. The

RFC: std.json sucessor

2014-08-21 Thread Sönke Ludwig via Digitalmars-d
Following up on the recent std.jgrandson thread [1], I've picked up the work (a lot earlier than anticipated) and finished a first version of a loose blend of said std.jgrandson, vibe.data.json and some changes that I had planned for vibe.data.json for a while. I'm quite pleased by the results

Re: RFC: std.json sucessor

2014-08-21 Thread Brian Schott via Digitalmars-d
On Thursday, 21 August 2014 at 22:35:18 UTC, Sönke Ludwig wrote: Destroy away! ;) source/stdx/data/json/lexer.d(263:8)[warn]: 'JSONToken' has method 'opEquals', but not 'toHash'. source/stdx/data/json/lexer.d(499:65)[warn]: Use parenthesis to clarify this expression.

Re: RFC: std.json sucessor

2014-08-21 Thread Justin Whear via Digitalmars-d
Someone needs to make a showbrianmycode bot: mention a D github repo and it runs static analysis for you.

Re: RFC: std.json sucessor

2014-08-21 Thread Idan Arye via Digitalmars-d
On Thursday, 21 August 2014 at 23:27:28 UTC, Justin Whear wrote: Someone needs to make a showbrianmycode bot: mention a D github repo and it runs static analysis for you. Why bother with mentioning a GitHub repo? Just make the bot periodically scan the DUB registry.

Re: [OT] Re: Redesign of dlang.org

2014-08-21 Thread Weaseldog via Digitalmars-d
On Thursday, 21 August 2014 at 04:59:20 UTC, Hubert wrote: https://www.dropbox.com/s/oicmwoboku136jq/dlang_test_redesign.png My emphasis has been on creating a friendly first impression; a lightweight page to introduce newcomers to D and get them started quickly. I think this is a sane design

Re: RFC: std.json sucessor

2014-08-21 Thread Brian Schott via Digitalmars-d
On Thursday, 21 August 2014 at 23:33:35 UTC, Idan Arye wrote: Why bother with mentioning a GitHub repo? Just make the bot periodically scan the DUB registry. It's kind of picky. http://i.imgur.com/SHNAWnH.png

Re: RFC: std.json sucessor

2014-08-21 Thread Ary Borenszweig via Digitalmars-d
On 8/21/14, 7:35 PM, Sönke Ludwig wrote: Following up on the recent std.jgrandson thread [1], I've picked up the work (a lot earlier than anticipated) and finished a first version of a loose blend of said std.jgrandson, vibe.data.json and some changes that I had planned for vibe.data.json for a

Re: RFC: std.json sucessor

2014-08-21 Thread Colden Cullen via Digitalmars-d
I notice in the docs there are several references to a `parseJSON` and `parseJson`, but I can't seem to find where either of these are defined. Is this just a typo? Hope this helps: https://github.com/s-ludwig/std_data_json/search?q=parseJsontype=Code

Re: $100 bounty for help with Windows Service code

2014-08-21 Thread Tyler Jensen via Digitalmars-d
On Monday, 18 August 2014 at 21:23:38 UTC, Vladimir Panteleev wrote: On Monday, 18 August 2014 at 21:12:15 UTC, Tyler Jensen wrote: On Monday, 18 August 2014 at 18:24:15 UTC, Etienne wrote: http://www.dsource.org/projects/bindings/wiki/WindowsApi Browse the source of the latter link and

Re: [OT] Re: Redesign of dlang.org

2014-08-21 Thread ketmar via Digitalmars-d
On Thu, 21 Aug 2014 17:12:37 + via Digitalmars-d digitalmars-d@puremagic.com wrote: Don't forget that programmers are hipsters, and we need to take care of our image. i'm glad that i'm not a programmer then. signature.asc Description: PGP signature

  1   2   >