Interfacing with C++

2018-02-03 Thread infinityplusb via Digitalmars-d-learn
Hi all I'm looking to try and write an interface to C++, but given I'm a casual dabbler in D, it's slightly beyond my current ability in terms of both C++ and D! As a leg up, how would one translate something like this from C++ to D? `typedef int (CV_CDECL* CvCmpFunc)(const void* a, const

[Issue 8687] Variadic templates do not work properly with default arguments

2018-02-03 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8687 --- Comment #7 from github-bugzi...@puremagic.com --- Commit pushed to master at https://github.com/dlang/dmd https://github.com/dlang/dmd/commit/36af6b103207cd9805e9faefe4130447a98a8372 Fix Issue 8687 - Variadic templates do not work properly with

Re: Strange things allowed in iasm

2018-02-03 Thread Basile B. via Digitalmars-d-learn
On Sunday, 4 February 2018 at 05:45:02 UTC, Basile B. wrote: 1/ void foo() { asm pure nothrow { naked; mov RAX, [0x10][0x20] R8; ret; } } generates ;--- SUB 00449468h --- 00449468h mov eax, 0030h 0044946Dh ret

Strange things allowed in iasm

2018-02-03 Thread Basile B. via Digitalmars-d-learn
1/ void foo() { asm pure nothrow { naked; mov RAX, [0x10][0x20] R8; ret; } } generates ;--- SUB 00449468h --- 00449468h mov eax, 0030h 0044946Dh ret ;- 2/ void foo() { asm pure

[Issue 18363] New: we should autogenerate duplicate “.h” header files in dmd to keep them in sync

2018-02-03 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18363 Issue ID: 18363 Summary: we should autogenerate duplicate “.h” header files in dmd to keep them in sync Product: D Version: D2 Hardware: x86 OS: All

Re: x86_64 iasm cannot directly load global variable with PIC code

2018-02-03 Thread Basile B. via Digitalmars-d-learn
On Sunday, 4 February 2018 at 05:03:31 UTC, Basile B. wrote: ``` __gshared a = "sdfg"; void main() { asm { mov RCX, [a]; } } ``` Error: cannot directly load global variable 'a' with PIC code How can i do that indirectly then ? Also consider that there's no RIP:

x86_64 iasm cannot directly load global variable with PIC code

2018-02-03 Thread Basile B. via Digitalmars-d-learn
``` __gshared a = "sdfg"; void main() { asm { mov RCX, [a]; } } ``` Error: cannot directly load global variable 'a' with PIC code How can i do that indirectly then ?

[Issue 8687] Variadic templates do not work properly with default arguments

2018-02-03 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8687 Timothee Cour changed: What|Removed |Added CC|

Re: NES emulator written in D

2018-02-03 Thread Jonathan Marler via Digitalmars-d-announce
On Saturday, 3 February 2018 at 13:52:17 UTC, blahness wrote: Hi everyone, Not sure how interested people here will be with this but I've ported https://github.com/fogleman/nes from Go to D [1]. I should point out that I'm not the author of the original Go version. The emulator code itself

Re: NES emulator written in D

2018-02-03 Thread docandrew via Digitalmars-d-announce
Really cool work!

Re: An idea for commercial support for D

2018-02-03 Thread psychoticRabbit via Digitalmars-d
On Saturday, 3 February 2018 at 13:14:04 UTC, rjframe wrote: Except it doesn't. The GPL can be used to keep a competitor from stepping up and using your work to create an alternative product, allowing you to have a mixed open/closed model without worrying about competition. Many companies

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

2018-02-03 Thread Adam D. Ruppe via Digitalmars-d
On Sunday, 4 February 2018 at 01:57:26 UTC, Rubn wrote: I would prefer to have one compiler that is being worked on than having split effort for 3 different compilers when larger communities only have 1 compiler. There is very little split effort. The way this actually works is there's one D

Re: DLangUI Drag and Drop support?

2018-02-03 Thread rikki cattermole via Digitalmars-d-learn
On 03/02/2018 6:06 PM, Andres Clari wrote: Hi, is there support for drag and drop in dlangui?? I haven't found anything on the docs, issues or forums. I'm building a project that requires support for dropping URLs from the browser into a ListWidget. Is this possible with dlangui at all? No.

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

2018-02-03 Thread Rubn via Digitalmars-d
On Saturday, 3 February 2018 at 23:07:30 UTC, Norm wrote: On Saturday, 3 February 2018 at 15:22:37 UTC, Rubn wrote: On Saturday, 3 February 2018 at 08:18:57 UTC, H. S. Teoh wrote: On Fri, Feb 02, 2018 at 08:16:25PM -0800, Walter Bright via Digitalmars-d wrote: On 2/2/2018 7:06 AM, Benny

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

2018-02-03 Thread psychoticRabbit via Digitalmars-d
On Saturday, 3 February 2018 at 15:33:01 UTC, Russel Winder wrote: Who is your management mentor? It is making your job harder if you are trying to teach yourselves purely from experience. Been there done that, made much better progress after reading: In my experience, there is nothing worse

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

2018-02-03 Thread psychoticRabbit via Digitalmars-d
On Saturday, 3 February 2018 at 22:59:06 UTC, Dgame wrote: This is a nice, refreshing post. You state problems and why you switched to Go. You give a ton of informations (here and in your prior posts) why you did what you did and what problems you've seen. This could be used to improve D. But

Re: Setting up DMD on windows

2018-02-03 Thread Seb via Digitalmars-d-learn
On Sunday, 4 February 2018 at 01:23:50 UTC, Rubn wrote: On Saturday, 3 February 2018 at 23:42:28 UTC, welkam wrote: [...] I think you have to build with an old version of MSVC, 2010 maybe? It's been a while since I built it I don't remember the exactly which version ended up working. 2013

Re: Setting up DMD on windows

2018-02-03 Thread Rubn via Digitalmars-d-learn
On Saturday, 3 February 2018 at 23:42:28 UTC, welkam wrote: Tried to use DMD compiler that I built from source by following these instructions https://wiki.dlang.org/Building_under_Windows They are outdated but I managed to compile it but I get this error when I tried to compile some code.

[Issue 18362] New: Build dmd with LTO and PGO

2018-02-03 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18362 Issue ID: 18362 Summary: Build dmd with LTO and PGO Product: D Version: D2 Hardware: All OS: All Status: NEW Severity: enhancement Priority: P1

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

2018-02-03 Thread welkam via Digitalmars-d
On Saturday, 3 February 2018 at 23:37:43 UTC, Dgame wrote: On Saturday, 3 February 2018 at 23:25:09 UTC, welkam wrote: On Saturday, 3 February 2018 at 22:59:06 UTC, Dgame wrote: This could be used to improve D So when will you start working on issues he described? And when will you? I

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

2018-02-03 Thread bachmeier via Digitalmars-d
On Saturday, 3 February 2018 at 23:39:00 UTC, Dgame wrote: On Saturday, 3 February 2018 at 23:29:58 UTC, Christof Schardt wrote: On Saturday, 3 February 2018 at 22:59:06 UTC, Dgame wrote: I congratulate you on your decision. I also changed to another language and I've never regretted it. Which

Setting up DMD on windows

2018-02-03 Thread welkam via Digitalmars-d-learn
Tried to use DMD compiler that I built from source by following these instructions https://wiki.dlang.org/Building_under_Windows They are outdated but I managed to compile it but I get this error when I tried to compile some code. dmdm -run Main.d

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

2018-02-03 Thread Dgame via Digitalmars-d
On Saturday, 3 February 2018 at 23:25:09 UTC, welkam wrote: On Saturday, 3 February 2018 at 22:59:06 UTC, Dgame wrote: This could be used to improve D So when will you start working on issues he described? And when will you? I already tried in the past as you can see.

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

2018-02-03 Thread Dgame via Digitalmars-d
On Saturday, 3 February 2018 at 23:29:58 UTC, Christof Schardt wrote: On Saturday, 3 February 2018 at 22:59:06 UTC, Dgame wrote: I congratulate you on your decision. I also changed to another language and I've never regretted it. Which is...? (just out of curiousity, btw I'm currently watching

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

2018-02-03 Thread Christof Schardt via Digitalmars-d
On Saturday, 3 February 2018 at 22:59:06 UTC, Dgame wrote: I congratulate you on your decision. I also changed to another language and I've never regretted it. Which is...? (just out of curiousity, btw I'm currently watching nim, after long years monitoring D and buying every book)

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

2018-02-03 Thread welkam via Digitalmars-d
On Saturday, 3 February 2018 at 22:59:06 UTC, Dgame wrote: This could be used to improve D So when will you start working on issues he described?

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

2018-02-03 Thread Norm via Digitalmars-d
On Saturday, 3 February 2018 at 15:22:37 UTC, Rubn wrote: On Saturday, 3 February 2018 at 08:18:57 UTC, H. S. Teoh wrote: On Fri, Feb 02, 2018 at 08:16:25PM -0800, Walter Bright via Digitalmars-d wrote: On 2/2/2018 7:06 AM, Benny wrote: > Other languages have slogans, they have selling points.

Array element Replace

2018-02-03 Thread Vino via Digitalmars-d-learn
Hi All, Request your help, on hot to replace an element(a[2]) in an array with the element(a[3]) Eg, auto a = Array!string("T1","T2","T3"); writeln(D1.replace(a[2], a[3])); From, Vino.B

Re: Adjacent item in a array

2018-02-03 Thread Vino via Digitalmars-d-learn
On Saturday, 3 February 2018 at 19:28:01 UTC, Seb wrote: On Saturday, 3 February 2018 at 19:13:05 UTC, Vino wrote: [...] 2.079 [1, 2] will ship with slide: --- auto arr = ["T1", "T2", "T3", "T4", "T5"]; arr.slide(2).each!writeln; --- [...] Hi Seb; Thank you very much. From, Vino.B

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

2018-02-03 Thread Dgame via Digitalmars-d
This is a nice, refreshing post. You state problems and why you switched to Go. You give a ton of informations (here and in your prior posts) why you did what you did and what problems you've seen. This could be used to improve D. But the regular reply you will get if you criticize D even a

[Issue 13121] std.algorithm.joiner should return a bidirectional range if possible

2018-02-03 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13121 Seb changed: What|Removed |Added Keywords||pull --- Comment #1 from Seb

[Issue 13844] core.stdc.config isn't listed in the docs

2018-02-03 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13844 Seb changed: What|Removed |Added Keywords||pull CC|

Re: D support for ChromeOS

2018-02-03 Thread bachmeier via Digitalmars-d-announce
On Saturday, 3 February 2018 at 18:11:15 UTC, Daniel Kozak wrote: Today I have added basic support for D language (ldc and dub) to chromebrew: https://github.com/skycocker/chromebrew/pull/1717 So if you have ChromeBook with Chrome OS (developer mode is needed for chromebrew), you can try it,

[Issue 18306] No compliation errors shown when running modified examples

2018-02-03 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18306 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 18306] No compliation errors shown when running modified examples

2018-02-03 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18306 --- Comment #2 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/dlang.org https://github.com/dlang/dlang.org/commit/8d9655b4f7387342b28f85bd40ca64e5f3953d64 Fix Issue 18306 - No compliation errors shown

Re: Inline code in the docs - the correct way

2018-02-03 Thread H. S. Teoh via Digitalmars-d
On Sat, Feb 03, 2018 at 06:25:26PM +, Adam D. Ruppe via Digitalmars-d wrote: > On Saturday, 3 February 2018 at 17:20:35 UTC, H. S. Teoh wrote: > > I got sick of just whining about, and decided to do something about > > it instead: > > Whelp, g'luck. I've tried to null out the macro before,

Re: BitArray shift left/right confusion.

2018-02-03 Thread Bastiaan Veelo via Digitalmars-d-learn
On Friday, 2 February 2018 at 00:33:03 UTC, Jakub Łabaj wrote: On the other hand, shifting operators are equally confusing for me, as they are for you - they really work in the other way around! I thought this is a very weird bug, but I found this pull request:

[Issue 17493] nothrow constructor may throw

2018-02-03 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17493 Walter Bright changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 18306] No compliation errors shown when running modified examples

2018-02-03 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18306 Seb changed: What|Removed |Added Keywords||pull CC|

Re: NES emulator written in D

2018-02-03 Thread Nick Sabalausky (Abscissa) via Digitalmars-d-announce
Very cool!

[Issue 18298] curl high level form wrapper

2018-02-03 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18298 --- Comment #3 from Andre --- I have a quite uncommon issue with the package "request". I work for a company which has rules how open source software can be used. Each software component needs to go through an open source process.

[Issue 18345] std.datetime documentation isn't properly split

2018-02-03 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18345 Seb changed: What|Removed |Added CC||greensunn...@gmail.com ---

Re: Adjacent item in a array

2018-02-03 Thread Seb via Digitalmars-d-learn
On Saturday, 3 February 2018 at 19:13:05 UTC, Vino wrote: Hi All, Request you help on printing an array in below, Eg: Array ("T1", "T2", "T3", "T4", "T5") Output required as below T1,T2 T2,T3 T3,T4 T4,T5 From, Vino.B 2.079 [1, 2] will ship with slide: --- auto arr = ["T1", "T2", "T3",

Re: Adjacent item in a array

2018-02-03 Thread Vino via Digitalmars-d-learn
On Saturday, 3 February 2018 at 19:19:00 UTC, Adam D. Ruppe wrote: On Saturday, 3 February 2018 at 19:13:05 UTC, Vino wrote: Request you help on printing an array in below, Try looping through the array printing the current item followed by the item after the current item. Foreach with

Re: Adjacent item in a array

2018-02-03 Thread Adam D. Ruppe via Digitalmars-d-learn
On Saturday, 3 February 2018 at 19:13:05 UTC, Vino wrote: Request you help on printing an array in below, Try looping through the array printing the current item followed by the item after the current item. Foreach with index may be helpful. Consider what happens on the last element.

Re: [RFC] IDE starter kit

2018-02-03 Thread Eliatto via Digitalmars-d
What about IDE sponsorship? I think that we should vote for the best D IDE of the year and some money should be given as a prize to the IDE maintainer.

Adjacent item in a array

2018-02-03 Thread Vino via Digitalmars-d-learn
Hi All, Request you help on printing an array in below, Eg: Array ("T1", "T2", "T3", "T4", "T5") Output required as below T1,T2 T2,T3 T3,T4 T4,T5 From, Vino.B

Re: [RFC] IDE starter kit

2018-02-03 Thread aberba via Digitalmars-d
On Saturday, 3 February 2018 at 10:44:58 UTC, Andrzej Kilijański wrote: On Thursday, 1 February 2018 at 12:21:24 UTC, rjframe wrote: [...] I think that many people looking for a new language first check the possibilities of creating a GUI. At least it was with me. If I did not found

Re: Inline code in the docs - the correct way

2018-02-03 Thread Adam D. Ruppe via Digitalmars-d
On Saturday, 3 February 2018 at 17:20:35 UTC, H. S. Teoh wrote: I got sick of just whining about, and decided to do something about it instead: Whelp, g'luck. I've tried to null out the macro before, maybe this approach will work better. The stupid thing should just be killed entirely

D support for ChromeOS

2018-02-03 Thread Daniel Kozak via Digitalmars-d-announce
Today I have added basic support for D language (ldc and dub) to chromebrew: https://github.com/skycocker/chromebrew/pull/1717 So if you have ChromeBook with Chrome OS (developer mode is needed for chromebrew), you can try it, if everything works ok for you.

DLangUI Drag and Drop support?

2018-02-03 Thread Andres Clari via Digitalmars-d-learn
Hi, is there support for drag and drop in dlangui?? I haven't found anything on the docs, issues or forums. I'm building a project that requires support for dropping URLs from the browser into a ListWidget. Is this possible with dlangui at all?

Can't cast from void*

2018-02-03 Thread Kagamin via Digitalmars-d-learn
--- interface A{} void* a=cast(void*)5; A b=cast(A)a; //ok A c=cast(A)cast(void*)5; //error --- Last line gives Error: cannot cast `void*` to `A`. Is it intended?

Re: zortech - symantec - digital mars

2018-02-03 Thread Iain Buclaw via Digitalmars-d
On 3 February 2018 at 16:47, Ali via Digitalmars-d 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,

Re: The #dbugfix Campaign

2018-02-03 Thread rjframe via Digitalmars-d-announce
On Sat, 03 Feb 2018 15:32:41 +, Mike Parker wrote: > We all have (or have had) our "favorite" issues in Bugzilla at one time > or another. Some that seem to hang around like unwanted guests who never > leave. The #dbugfix campaign is an opportunity for you to finally kick > them out. > > The

Re: Inline code in the docs - the correct way

2018-02-03 Thread H. S. Teoh via Digitalmars-d
On Sat, Feb 03, 2018 at 06:18:55AM -0800, H. S. Teoh via Digitalmars-d wrote: > On Sat, Feb 03, 2018 at 04:37:44AM +, Adam D. Ruppe via Digitalmars-d > wrote: > [...] > > (note that the stupid leading _ is something I strip out too. Ddoc's > > most moronic "feature". Can we PLEASE kill

[Issue 18361] Ddoc: support ability to opt out of automatic keyword highlighting in text

2018-02-03 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18361 --- Comment #1 from hst...@quickfur.ath.cx --- Currently, the automatically highlighted text is put into the DDOC_PSYMBOL, DDOC_KEYWORD, and DDOC_PARAM macros. If the automatic highlights were to be replaced with DDOC_AUTO_PSYMBOL,

Re: sys_write in betterC doesn't write anything

2018-02-03 Thread Patrick Schluter via Digitalmars-d-learn
On Saturday, 3 February 2018 at 15:38:19 UTC, Basile B. wrote: On Saturday, 3 February 2018 at 15:30:10 UTC, Basile B. wrote: [...] okay solved: module runnable; __gshared static msg = "betterC\n"; __gshared static len = 8; extern(C) int main(int argc, char** args) { asm {

[Issue 18361] New: Ddoc: support ability to opt out of automatic keyword highlighting in text

2018-02-03 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18361 Issue ID: 18361 Summary: Ddoc: support ability to opt out of automatic keyword highlighting in text Product: D Version: D2 Hardware: All OS: All

[Issue 17687] Ddoc: Automatically highlight class names

2018-02-03 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=17687 hst...@quickfur.ath.cx changed: What|Removed |Added CC||hst...@quickfur.ath.cx --

Re: The #dbugfix Campaign

2018-02-03 Thread Mike Parker via Digitalmars-d-announce
On Saturday, 3 February 2018 at 15:49:41 UTC, ag0aep6g wrote: On 02/03/2018 04:32 PM, Mike Parker wrote: The blog: https://dlang.org/blog/2018/02/03/the-dbugfix-campaign/ I understand that spamming is normal on Twitter, but do we really want people to spam General like that? Can't you bring

Re: zortech - symantec - digital mars

2018-02-03 Thread Kagamin via Digitalmars-d
Judging by copyright dates Symantec stopped development in 1998, and D was started in 2000.

[Issue 18229] Misleading documentation of std.process.environment.get

2018-02-03 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18229 Seb changed: What|Removed |Added Keywords||pull CC|

[Issue 18290] std.conv.parse throws ConvOverflowException for negative values in hex

2018-02-03 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18290 Seb changed: What|Removed |Added Keywords||bootcamp CC|

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: The #dbugfix Campaign

2018-02-03 Thread ag0aep6g via Digitalmars-d-announce
On 02/03/2018 04:32 PM, Mike Parker wrote: The blog: https://dlang.org/blog/2018/02/03/the-dbugfix-campaign/ I understand that spamming is normal on Twitter, but do we really want people to spam General like that? Can't you bring voting back on Bugzilla and take that into account?

Re: sys_write in betterC doesn't write anything

2018-02-03 Thread Basile B. via Digitalmars-d-learn
On Saturday, 3 February 2018 at 15:38:02 UTC, Adam D. Ruppe wrote: On Saturday, 3 February 2018 at 15:30:10 UTC, Basile B. wrote: __gshared static msg = "betterC"; That's a D string mov ECX, msg ;//message to write And that's the address of a D string, instead of the address

Re: sys_write in betterC doesn't write anything

2018-02-03 Thread Basile B. via Digitalmars-d-learn
On Saturday, 3 February 2018 at 15:30:10 UTC, Basile B. wrote: compiles with -betterC -m32 module runnable; __gshared static msg = "betterC"; __gshared static len = 7; extern(C) int main(int argc, char** args) { asm { naked; mov EDX, len ;//message length mov

Re: sys_write in betterC doesn't write anything

2018-02-03 Thread Adam D. Ruppe via Digitalmars-d-learn
On Saturday, 3 February 2018 at 15:30:10 UTC, Basile B. wrote: __gshared static msg = "betterC"; That's a D string mov ECX, msg ;//message to write And that's the address of a D string, instead of the address of the characters. You need to put the pointer in there. So either

The #dbugfix Campaign

2018-02-03 Thread Mike Parker via Digitalmars-d-announce
We all have (or have had) our "favorite" issues in Bugzilla at one time or another. Some that seem to hang around like unwanted guests who never leave. The #dbugfix campaign is an opportunity for you to finally kick them out. The blog: https://dlang.org/blog/2018/02/03/the-dbugfix-campaign/

sys_write in betterC doesn't write anything

2018-02-03 Thread Basile B. via Digitalmars-d-learn
compiles with -betterC -m32 module runnable; __gshared static msg = "betterC"; __gshared static len = 7; extern(C) int main(int argc, char** args) { asm { naked; mov EDX, len ;//message length mov ECX, msg ;//message to write mov EBX, 1 ;//file

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

2018-02-03 Thread Russel Winder via Digitalmars-d
On Fri, 2018-02-02 at 13:14 -0800, Walter Bright via Digitalmars-d wrote: > On 2/2/2018 11:08 AM, Russel Winder wrote: > > Hummm… could it be that Andrei did not define the task > > appropriately, > > train the person appropriately, and mentor the person > > appropriately. > > Management has to be

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

2018-02-03 Thread Rubn via Digitalmars-d
On Saturday, 3 February 2018 at 08:18:57 UTC, H. S. Teoh wrote: On Fri, Feb 02, 2018 at 08:16:25PM -0800, Walter Bright via Digitalmars-d wrote: On 2/2/2018 7:06 AM, Benny wrote: > Other languages have slogans, they have selling points. > > When i hear Go, you hear uniformal, fast, simple

[Issue 18298] curl high level form wrapper

2018-02-03 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18298 --- Comment #2 from Seb --- PR to the docs: https://github.com/dlang/phobos/pull/6116 --

[Issue 18210] [Home] forum.dlang.org (web front end?) is down

2018-02-03 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18210 Seb changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 18298] curl high level form wrapper

2018-02-03 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18298 Seb changed: What|Removed |Added CC||greensunn...@gmail.com ---

[Issue 18330] [topN - multiple declarations] Two autos in documentation

2018-02-03 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18330 Seb changed: What|Removed |Added Status|NEW |RESOLVED CC|

[Issue 8405] Create overload for joiner which is random access for random access ranges

2018-02-03 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8405 Seb changed: What|Removed |Added Status|NEW |RESOLVED CC|

Re: Inline code in the docs - the correct way

2018-02-03 Thread Adam D. Ruppe via Digitalmars-d
On Saturday, 3 February 2018 at 11:41:27 UTC, Seb wrote: I think that would only work if we drop the ddoc of phobos entirely or add a similar feature to ddoc. I could live with either :P But the underscore thing is just plain bad. Literally NOBODY has ever liked it - every time this comes

Thread safe reference counting

2018-02-03 Thread Kagamin via Digitalmars-d
That RCSharedAllocator PR made me think, so this is my take on how to keep reference counted allocator in shared storage: https://run.dlang.io/is/r1z1dd

Re: Inline code in the docs - the correct way

2018-02-03 Thread Adam D. Ruppe via Digitalmars-d
On Saturday, 3 February 2018 at 11:44:44 UTC, Seb wrote: Have you thought of simply postprocessing REF_ALTTEXT for your documentation engine for now? It actually supports the macro, so I could just keep the upstream source here, just the difference between them is kinda striking. The

Re: Inline code in the docs - the correct way

2018-02-03 Thread H. S. Teoh via Digitalmars-d
On Sat, Feb 03, 2018 at 04:37:44AM +, Adam D. Ruppe via Digitalmars-d wrote: [...] > I'm updating my fork now and check out this merge conflict: > > <<< HEAD > * source = The [isInputRange|input range] to encode. > === > * source = The $(REF_ALTTEXT input range,

NES emulator written in D

2018-02-03 Thread blahness via Digitalmars-d-announce
Hi everyone, Not sure how interested people here will be with this but I've ported https://github.com/fogleman/nes from Go to D [1]. I should point out that I'm not the author of the original Go version. The emulator code itself is 100% D with no dependencies. I've also created a little app

Re: An idea for commercial support for D

2018-02-03 Thread rjframe via Digitalmars-d
On Sat, 03 Feb 2018 12:08:21 +, psychoticRabbit wrote: > On Saturday, 3 February 2018 at 10:49:06 UTC, Joakim wrote: >> And what we find is that when you allow such mixing with >> permissively-licensed projects (that the GPL makes much more >> difficult), . > > I've never been a fan of

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

2018-02-03 Thread bachmeier via Digitalmars-d
On Saturday, 3 February 2018 at 04:16:25 UTC, Walter Bright wrote: On 2/2/2018 7:06 AM, Benny wrote: Other languages have slogans, they have selling points. When i hear Go, you hear uniformal, fast, simple syntax language. When i hear Rust, you hear safe, manual memory management. When i

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

2018-02-03 Thread psychoticRabbit via Digitalmars-d
On Saturday, 3 February 2018 at 04:16:25 UTC, Walter Bright wrote: On 2/2/2018 7:06 AM, Benny wrote: Other languages have slogans, they have selling points. When i hear Go, you hear uniformal, fast, simple syntax language. When i hear Rust, you hear safe, manual memory management. When i

Re: An idea for commercial support for D

2018-02-03 Thread psychoticRabbit via Digitalmars-d
On Saturday, 3 February 2018 at 10:49:06 UTC, Joakim wrote: And what we find is that when you allow such mixing with permissively-licensed projects (that the GPL makes much more difficult), . I've never been a fan of the GPL.. until I read this thread. It may well be, that more and more

[Issue 13121] std.algorithm.joiner should return a bidirectional range if possible

2018-02-03 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=13121 Seb changed: What|Removed |Added Keywords||bootcamp CC|

Re: Inline code in the docs - the correct way

2018-02-03 Thread Seb via Digitalmars-d
On Saturday, 3 February 2018 at 04:37:44 UTC, Adam D. Ruppe wrote: On Friday, 2 February 2018 at 20:15:11 UTC, H. S. Teoh wrote: This is the kind of thing you should be promoting to Andrei to convince him that dpldocs is better. ;-) I'm updating my fork now and check out this merge conflict:

Re: Inline code in the docs - the correct way

2018-02-03 Thread Seb via Digitalmars-d
On Saturday, 3 February 2018 at 04:37:44 UTC, Adam D. Ruppe wrote: On Friday, 2 February 2018 at 20:15:11 UTC, H. S. Teoh wrote: This is the kind of thing you should be promoting to Andrei to convince him that dpldocs is better. ;-) I'm updating my fork now and check out this merge conflict:

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

2018-02-03 Thread Joakim via Digitalmars-d
On Saturday, 3 February 2018 at 10:55:41 UTC, Ola Fosheim Grøstad wrote: On Saturday, 3 February 2018 at 06:15:31 UTC, Joakim wrote: Software evolves. It isn't designed. The only question is how strictly you _control_ the evolution, and how open you are to external sources of mutations.

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

2018-02-03 Thread Ola Fosheim Grøstad via Digitalmars-d
On Saturday, 3 February 2018 at 06:15:31 UTC, Joakim wrote: Software evolves. It isn't designed. The only question is how strictly you _control_ the evolution, and how open you are to external sources of mutations. Unix was designed... and was based on a more ambitious design (Multics).

Re: An idea for commercial support for D

2018-02-03 Thread Joakim via Digitalmars-d
On Friday, 2 February 2018 at 13:48:12 UTC, psychotic Rabbit wrote: On Friday, 2 February 2018 at 10:21:35 UTC, Joakim wrote: I can't be bothered to strain through your tortured analogies that make no sense and explain to you all the ways you're wrong. I'm respecting you enough to point out

Re: [RFC] IDE starter kit

2018-02-03 Thread Andrzej Kilijański via Digitalmars-d
On Thursday, 1 February 2018 at 12:21:24 UTC, rjframe wrote: Do you have any thoughts, ideas, foresee any problems, have a better way to do this? I especially don't want to do something that is actively harmful - if the self-contained package makes things confusing to someone trying to work

Re: adrdox vs markdown vs ddoc

2018-02-03 Thread Kagamin via Digitalmars-d
On Friday, 2 February 2018 at 15:04:42 UTC, Adam D. Ruppe wrote: What bugs me with that sample is that the headers are repeated a lot... but it isn't bad. Yeah, the moment I scrolled the table header out of sight I can't make sense of the cells anymore. But re* sounds like maybe

[Issue 10209] string import doesn't work with dmd -J/ /path/to//file.d

2018-02-03 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=10209 Timothee Cour changed: What|Removed |Added Status|RESOLVED|REOPENED

[Issue 8765] assert should print the source code for the condition when no message argument present

2018-02-03 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=8765 Timothee Cour changed: What|Removed |Added CC|

[Issue 11633] static assert(false) ignored

2018-02-03 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=11633 Timothee Cour changed: What|Removed |Added CC|

[Issue 18360] New: `static assert(false)` ignored / gagged

2018-02-03 Thread d-bugmail--- via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=18360 Issue ID: 18360 Summary: `static assert(false)` ignored / gagged Product: D Version: D2 Hardware: x86 OS: Mac OS X Status: NEW Severity: major

Re: Wiki spam

2018-02-03 Thread Vladimir Panteleev via Digitalmars-d-learn
On Saturday, 3 February 2018 at 06:34:57 UTC, Tony wrote: Don't know if there is a better place to report this, but the wiki attracted a spammer: Deleted, thanks. We're generally doing pretty well with spam (compared to other wikis) thanks to https://github.com/CyberShadow/dcaptcha , but

Re: [RFC] IDE starter kit

2018-02-03 Thread ashit axar via Digitalmars-d
On Friday, 2 February 2018 at 19:41:13 UTC, rumbu wrote: In this context, I'm talking about a lazy and convenient Windows user first experience with D. He doesn't know anything about dub, packages or about the excellent work of Vadim. It will be nice for him to type "import std.ui" instead to

  1   2   >