digitalmars-d@puremagic.com

2017-08-10 Thread Arjan via Digitalmars-d
On Thursday, 10 August 2017 at 00:32:40 UTC, Mengu wrote: my second question is: i have no idea what's going on in this file: https://github.com/whoshuu/cpr/blob/master/include/cpr/body.h i'd appreciate some pointers. A new 'type' named Body which IS-A std::string is defined. To construct a B

Re: Import modules too verbose in some cases

2017-08-10 Thread Rene Zwanenburg via Digitalmars-d
On Wednesday, 9 August 2017 at 23:57:19 UTC, Johnson Jones wrote: Sometimes one doesn't want to import either the whole module nor specify a single function to import. It seems that basically D has all the info to import the function implicitly because it usually gives a nice error message tell

Re: GC operates in LIFO sequence?

2017-08-10 Thread Guillaume Piolat via Digitalmars-d
On Wednesday, 9 August 2017 at 17:38:15 UTC, Swoorup Joshi wrote: Is garbage collection even useful besides managing memory? GC has the unique advantage of being a global owner, hence avoiding to encode ownership into types for memory (when you can use it).

Re: Import modules too verbose in some cases

2017-08-10 Thread Adam D. Ruppe via Digitalmars-d
On Wednesday, 9 August 2017 at 23:57:19 UTC, Johnson Jones wrote: Sometimes one doesn't want to import either the whole module nor specify a single function to import. There was a proposal called "dependency carrying declarations" about that, but a library trick was found to beat it: https:/

Re: ModuleInfo Error

2017-08-10 Thread Adam D. Ruppe via Digitalmars-d
On Wednesday, 9 August 2017 at 22:43:03 UTC, Johnson Jones wrote: Well, I use Visual D and not sure if it can use rdmd(I'm sure it can be hacked) I don't know. because people cannot cut ties with the past and learn from their mistakes. Do we even need to separate the linker and compiler?

digitalmars-d@puremagic.com

2017-08-10 Thread Mengu via Digitalmars-d
On Thursday, 10 August 2017 at 07:58:55 UTC, Arjan wrote: On Thursday, 10 August 2017 at 00:32:40 UTC, Mengu wrote: my second question is: i have no idea what's going on in this file: https://github.com/whoshuu/cpr/blob/master/include/cpr/body.h i'd appreciate some pointers. A new 'type' nam

Re: Documentation licence

2017-08-10 Thread ANtlord via Digitalmars-d
On Saturday, 15 July 2017 at 01:49:24 UTC, Seb wrote: On Friday, 30 June 2017 at 10:10:14 UTC, ANtlord wrote: Hello! I use service devdocs.io for some technologies. And I think that I able to add D to this service. Hi, Did you manage to make progress on this issue? As mentioned this is in my

Re: Who here uses vibe-s3 from code.dlang.org?

2017-08-10 Thread Andres Clari via Digitalmars-d
On Monday, 7 August 2017 at 22:46:57 UTC, aberba wrote: vibe-s3 (https://code.dlang.org/packages/vibe-s3) is an Amazon s3 object storage API for D. Has anyone here used or tested it? What was your experiences? It has the tagline "this library is highly alpha and mostly untested. use at your o

Re: ModuleInfo Error

2017-08-10 Thread Johan via Digitalmars-d
On Thursday, 10 August 2017 at 14:32:04 UTC, Adam D. Ruppe wrote: On Wednesday, 9 August 2017 at 22:43:03 UTC, Johnson Jones wrote: because people cannot cut ties with the past and learn from their mistakes. Do we even need to separate the linker and compiler? Like I said though, a lot of

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

2017-08-10 Thread 12345swordy via Digitalmars-d
On Thursday, 10 August 2017 at 05:55:59 UTC, Dmitry wrote: On Wednesday, 9 August 2017 at 20:29:07 UTC, 12345swordy wrote: You edit the json file of course. That how DUB generates solution files for visual D and other IDE's. This breaks changes that was done in the VS project. What changes a

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

2017-08-10 Thread Dmitry via Digitalmars-d
On Thursday, 10 August 2017 at 19:44:35 UTC, 12345swordy wrote: On Thursday, 10 August 2017 at 05:55:59 UTC, Dmitry wrote: On Wednesday, 9 August 2017 at 20:29:07 UTC, 12345swordy wrote: You edit the json file of course. That how DUB generates solution files for visual D and other IDE's. This