OT: Tiobe Index - December Headline: What is happening to good old language C?

2016-12-05 Thread Nick B via Digitalmars-d
The programming language of all programming languages C is consistently going down since November 2015. The language was in a range of 15% to 20% for more than 15 years and this year it suddenly started to suffer. Its ratings are now less than 10% and there is no clear way back to the top. So

Re: [Semi-OT] I don't want to leave this language!

2016-12-05 Thread Nicholas Wilson via Digitalmars-d-learn
On Monday, 5 December 2016 at 20:49:50 UTC, e-y-e wrote: On Monday, 5 December 2016 at 20:25:00 UTC, Ilya Yaroshenko wrote: [...] You know from the 15th December I will have a month of free time, and I would love to get myself up to speed with Mir to contribute to it. If you don't mind me

Re: Andrei on the new D Foundation Scholarships

2016-12-05 Thread Walter Bright via Digitalmars-d-announce
On 12/5/2016 8:16 PM, Mike Parker wrote: Thanks. I've noticed that when I leave such comments they initially get a number of upvotes, but in some cases they get downvoted over time. So now I've taken to only leaving them on posts where I can't come up with an obvious title for the reddit link. I

[Issue 5995] string append negative integer causes segfault

2016-12-05 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5995 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 5995] string append negative integer causes segfault

2016-12-05 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=5995 --- Comment #19 from github-bugzi...@puremagic.com --- Commits pushed to master at https://github.com/dlang/druntime https://github.com/dlang/druntime/commit/316e6d2607b4b22794ef75a331ad27d970717cda fix issue 5995

Re: Andrei on the new D Foundation Scholarships

2016-12-05 Thread Mike Parker via Digitalmars-d-announce
On Tuesday, 6 December 2016 at 01:08:19 UTC, Walter Bright wrote: On 12/5/2016 5:36 AM, Mike Parker wrote: I took the liberty of posting the above to the reddit topic. As always, postings on reddit will get less than half of the potential traction unless there's a comment explaining why the

Re: Set Intersection of SortedRanges

2016-12-05 Thread Nicholas Wilson via Digitalmars-d-learn
Whoops forgot to add checks for .empty on the ranges, and I don't think reduce!equal work but you get the point.

Re: Set Intersection of SortedRanges

2016-12-05 Thread Nicholas Wilson via Digitalmars-d-learn
On Tuesday, 6 December 2016 at 01:46:38 UTC, Nicholas Wilson wrote: On Monday, 5 December 2016 at 22:10:34 UTC, Nordlöw wrote: On Monday, 5 December 2016 at 21:48:49 UTC, Nordlöw wrote: Ahh, setops has intersection aswell: https://dlang.org/phobos/std_algorithm_setops.html#setIntersection I

Re: Derelict

2016-12-05 Thread D.Rex via Digitalmars-d
On Monday, 5 December 2016 at 22:36:25 UTC, Chris Wright wrote: On Mon, 05 Dec 2016 15:46:44 +, D.Rex wrote: Do DLLs have to be marked executable? I seem to recall something like that. Okay, so I moved my source code and the glfw3 dll to my local machine and lo and behold it worked, so

Re: Set Intersection of SortedRanges

2016-12-05 Thread Nicholas Wilson via Digitalmars-d-learn
On Monday, 5 December 2016 at 22:10:34 UTC, Nordlöw wrote: On Monday, 5 December 2016 at 21:48:49 UTC, Nordlöw wrote: Ahh, setops has intersection aswell: https://dlang.org/phobos/std_algorithm_setops.html#setIntersection I should have a guessed that. Ahh again, but current Phobos is

Re: D Flowgraph GUI Interface

2016-12-05 Thread Nick B via Digitalmars-d
On Monday, 5 December 2016 at 12:35:46 UTC, D.Rex wrote: Howdy, I am embarking on a project to create a Flowgraph (node based) GUI interface, much like Blender's Node Editor or Unreal ENgine 4's Blueprint System, for other future projects, I have been looking around for many months now on

Re: Andrei on the new D Foundation Scholarships

2016-12-05 Thread Walter Bright via Digitalmars-d-announce
On 12/5/2016 5:36 AM, Mike Parker wrote: After a two-week hiatus, the latest post at the blog takes the form of an interview with Andrei regarding the new scholarships he announced a couple weeks back. He talks about how the program came into existence, how it works, and some of what he hopes to

Re: [Semi-OT] I don't want to leave this language!

2016-12-05 Thread sarn via Digitalmars-d-learn
On Monday, 5 December 2016 at 17:18:25 UTC, e-y-e wrote: Currently I have been learning D for about a year and a half. This may seem like a short time, but this is the longest I have stuck with any language. I have only been learning for 4 years and I am currently in university studying first

Re: Derelict

2016-12-05 Thread Chris Wright via Digitalmars-d
On Mon, 05 Dec 2016 15:46:44 +, D.Rex wrote: > My D source > code and the GLFW3.dll library are stored on a Linux file server Do DLLs have to be marked executable? I seem to recall something like that.

Re: Set Intersection of SortedRanges

2016-12-05 Thread Nordlöw via Digitalmars-d-learn
On Monday, 5 December 2016 at 21:48:49 UTC, Nordlöw wrote: Ahh, setops has intersection aswell: https://dlang.org/phobos/std_algorithm_setops.html#setIntersection I should have a guessed that. Ahh again, but current Phobos is currently not optimized for the case when all inputs are

Re: wrong isInputRange design

2016-12-05 Thread pineapple via Digitalmars-d
On Sunday, 4 December 2016 at 11:18:56 UTC, rumbu wrote: Yes, this is the same workaround I found, but that does not solve the fact that the following code does not compile: While it may be too late to redeem Phobos and its handling of arrays as ranges, it is worth noting that in the library

Re: Set Intersection of SortedRanges

2016-12-05 Thread Nordlöw via Digitalmars-d-learn
On Monday, 5 December 2016 at 21:34:39 UTC, Nordlöw wrote: What's the fastest way of calculating a set-intersection of two or more SortedRanges (all containing unique values)? Ahh, setops has intersection aswell: https://dlang.org/phobos/std_algorithm_setops.html#setIntersection I should

Re: Set Union of SortedRanges

2016-12-05 Thread Nordlöw via Digitalmars-d-learn
On Monday, 5 December 2016 at 20:18:24 UTC, Nordlöw wrote: What's the fastest way of calculating a set-union of two or more SortedRanges (all containing unique values)? Doh, I meant intersection, not union: http://forum.dlang.org/post/jthiwaxkyykalwfyk...@forum.dlang.org

Set Intersection of SortedRanges

2016-12-05 Thread Nordlöw via Digitalmars-d-learn
What's the fastest way of calculating a set-intersection of two or more SortedRanges (all containing unique values)? Any typical branchings of the algorithm depending on the lengths of the SortedRanges?

Re: [Semi-OT] I don't want to leave this language!

2016-12-05 Thread e-y-e via Digitalmars-d-learn
On Monday, 5 December 2016 at 20:25:00 UTC, Ilya Yaroshenko wrote: Hi e-y-e, The main problem with D for production is its runtime. GC, DRuntime, Phobos is big constraint for real world software production. Good D code should be nothrow, @nogc, and betterC. BetterC means that it must not

Re: [Semi-OT] I don't want to leave this language!

2016-12-05 Thread Ilya Yaroshenko via Digitalmars-d-learn
Hi e-y-e, The main problem with D for production is its runtime. GC, DRuntime, Phobos is big constraint for real world software production. Good D code should be nothrow, @nogc, and betterC. BetterC means that it must not require DRuntime to link and to start. I started Mir as

Set Union of SortedRanges

2016-12-05 Thread Nordlöw via Digitalmars-d-learn
What's the fastest way of calculating a set-union of two or more SortedRanges (all containing unique values)? Any typical branchings of the algorithm depending on the lengths of the SortedRanges?

Re: [Semi-OT] I don't want to leave this language!

2016-12-05 Thread bachmeier via Digitalmars-d-learn
On Monday, 5 December 2016 at 17:18:25 UTC, e-y-e wrote: Currently I have been learning D for about a year and a half. This may seem like a short time, but this is the longest I have stuck with any language. I have only been learning for 4 years and I am currently in university studying first

Re: @property get/set or public varaible?

2016-12-05 Thread ArturG via Digitalmars-d-learn
On Sunday, 4 December 2016 at 20:44:05 UTC, Jonathan M Davis wrote: On Sunday, December 04, 2016 15:30:22 vladdeSV via Digitalmars-d-learn wrote: Hello! I have a question not directly related to D as it is with coding standards. My issue at hand is if I have one variable for a class, which

Re: Building with dub fails on Ubuntu 16.10.

2016-12-05 Thread moe via Digitalmars-d-learn
On Monday, 5 December 2016 at 07:32:21 UTC, Daniel Kozak wrote: On Saturday, 3 December 2016 at 16:07:47 UTC, moe wrote: On Sunday, 11 September 2016 at 02:17:21 UTC, Vlasov Roman wrote: Hello, guys. I tried to build HelloWorld with dub, but i got strange linker error: [...] I just

Re: How about a bounty for a new windows installer using inno setup ?

2016-12-05 Thread Jim Hewes via Digitalmars-d
On 12/5/2016 3:19 AM, Kjartan F. Kvamme wrote: On Monday, 5 December 2016 at 09:24:59 UTC, Basile B. wrote: How about a bounty for a new windows installer using inno setup ? There are several issues related to the nsis-based windows installer (even on bugzilla). The problem that happened last

Re: CTFE Status

2016-12-05 Thread Stefan Koch via Digitalmars-d
On Monday, 5 December 2016 at 16:47:33 UTC, Andrei Alexandrescu wrote: On 12/05/2016 11:28 AM, Stefan Koch wrote: It looks like the performance wins brought by the new ctfe engine might be higher then I predicted. That's awesome!! -- Andrei After discovering this performance bottleneck I

Re: Should we warn if we detect null derefernces or void value uses ?

2016-12-05 Thread Jonathan M Davis via Digitalmars-d
On Monday, December 05, 2016 08:35:34 Andrei Alexandrescu via Digitalmars-d wrote: > On 12/04/2016 11:41 PM, Stefan Koch wrote: > > Hi Guys, > > What is your opinion, should we warn if we unambiguously detect > > something that is clearly unwanted ? > > > > int fn(int y) > > { > > > > int x =

Re: the best language I have ever met(?)

2016-12-05 Thread Igor Shirkalin via Digitalmars-d-learn
On Monday, 5 December 2016 at 17:27:21 UTC, Igor Shirkalin wrote: On Monday, 5 December 2016 at 16:39:33 UTC, eugene wrote: On Monday, 5 December 2016 at 16:07:41 UTC, Igor Shirkalin wrote: I didnt count, but its about ten thousend a year, i.e. nothing. if you earned nothing using D language

Re: the best language I have ever met(?)

2016-12-05 Thread Igor Shirkalin via Digitalmars-d-learn
On Monday, 5 December 2016 at 16:39:33 UTC, eugene wrote: On Monday, 5 December 2016 at 16:07:41 UTC, Igor Shirkalin wrote: I didnt count, but its about ten thousend a year, i.e. nothing. if you earned nothing using D language why do you recommend it?))) People usually earn money using

[Semi-OT] I don't want to leave this language!

2016-12-05 Thread e-y-e via Digitalmars-d-learn
Currently I have been learning D for about a year and a half. This may seem like a short time, but this is the longest I have stuck with any language. I have only been learning for 4 years and I am currently in university studying first year of computer systems engineering. My main problem

Re: Andrei on the new D Foundation Scholarships

2016-12-05 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 12/05/2016 08:36 AM, Mike Parker wrote: After a two-week hiatus, the latest post at the blog takes the form of an interview with Andrei regarding the new scholarships he announced a couple weeks back. He talks about how the program came into existence, how it works, and some of what he hopes

Re: CTFE Status

2016-12-05 Thread Andrei Alexandrescu via Digitalmars-d
On 12/05/2016 11:28 AM, Stefan Koch wrote: It looks like the performance wins brought by the new ctfe engine might be higher then I predicted. That's awesome!! -- Andrei

Re: How about a bounty for a new windows installer using inno setup ?

2016-12-05 Thread Basile B. via Digitalmars-d
On Monday, 5 December 2016 at 15:24:20 UTC, ketmar wrote: On Monday, 5 December 2016 at 14:42:26 UTC, Basile B. wrote: I have a little guy in my town, he thinks he's a genius. i'm not living there! yes, i know ketmar.if you know me,dont bother.

Re: the best language I have ever met(?)

2016-12-05 Thread eugene via Digitalmars-d-learn
On Monday, 5 December 2016 at 16:07:41 UTC, Igor Shirkalin wrote: I didnt count, but its about ten thousend a year, i.e. nothing. if you earned nothing using D language why do you recommend it?))) People usually earn money using programming langs.

[Issue 16948] broken links in std.stdio due to inccorrect use of WEB macro

2016-12-05 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16948 github-bugzi...@puremagic.com changed: What|Removed |Added Status|NEW |RESOLVED

[Issue 16948] broken links in std.stdio due to inccorrect use of WEB macro

2016-12-05 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16948 --- Comment #3 from github-bugzi...@puremagic.com --- Commits pushed to stable at https://github.com/dlang/phobos https://github.com/dlang/phobos/commit/c8a123f4d0f2cc9b611545f5c3055cfcc31fcb05 fix issue 16948 - broken links in std.stdio due to

Re: CTFE Status

2016-12-05 Thread Stefan Koch via Digitalmars-d
On Monday, 5 December 2016 at 07:48:31 UTC, Stefan Koch wrote: I found an easily fixable performance problem inside the byte-code generator. Causing it to allocate 800K per discovery of a new type. Reducing this will probably make IR generation 10 times faster in the average case. Clearing

Re: the best language I have ever met(?)

2016-12-05 Thread Igor Shirkalin via Digitalmars-d-learn
On Saturday, 3 December 2016 at 15:02:35 UTC, eugene wrote: On Friday, 18 November 2016 at 17:54:52 UTC, Igor Shirkalin wrote: That was preface. Now I have server written in D for C++ pretty ancient client. Most things are three times shorter in size and clear (@clear? suffix). All

[Issue 16950] New: [Downloads]

2016-12-05 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16950 Issue ID: 16950 Summary: [Downloads] Product: D Version: D2 Hardware: All URL: http://dlang.org/ OS: All Status: NEW Severity: enhancement

Re: Derelict

2016-12-05 Thread D.Rex via Digitalmars-d
On Monday, 5 December 2016 at 15:00:23 UTC, D.Rex wrote: On Monday, 5 December 2016 at 14:53:53 UTC, Mike Parker wrote: On Monday, 5 December 2016 at 14:53:53 UTC, Mike Parker wrote: Thanks for the help anyways, I shall look into this. Are you the creator of Derelict? If so do you have

Re: The order of libraries makes error in dub

2016-12-05 Thread unDEFER via Digitalmars-d-learn
On Monday, 5 December 2016 at 15:16:27 UTC, unDEFER wrote: 2) Its put to linker command at the first "libdb53d.lib WS2_32.lib" and AFTER that -m32mscoff. As result "cannot open file". Oh, the reason was mistype. And I have found how-to hide linker warning ("lflags-windows":

Re: How about a bounty for a new windows installer using inno setup ?

2016-12-05 Thread ketmar via Digitalmars-d
On Monday, 5 December 2016 at 14:42:26 UTC, Basile B. wrote: I have a little guy in my town, he thinks he's a genius. i'm not living there!

Re: The order of libraries makes error in dub

2016-12-05 Thread unDEFER via Digitalmars-d-learn
On Monday, 5 December 2016 at 14:59:26 UTC, Mike Parker wrote: "libs-windows-dmd":["libdb53d.lib","ws2_32.lib"] I have used "sourceFiles-windows-dmd", because it is the single that I could find. Thank you, "libs-windows-dmd":["libdb53d","WS2_32"] works much better, but again these errors:

Re: Derelict

2016-12-05 Thread D.Rex via Digitalmars-d
On Monday, 5 December 2016 at 14:53:53 UTC, Mike Parker wrote: On Monday, 5 December 2016 at 14:40:46 UTC, D.Rex wrote: OK, this has nothing to do with your code or with Derelict. When you get a SharedLibLoadException, the message it contains comes from the system. In this case, it's the bit

Re: The order of libraries makes error in dub

2016-12-05 Thread rikki cattermole via Digitalmars-d-learn
On 06/12/2016 3:59 AM, Mike Parker wrote: snip Also, let's be clear here, the errors you saw above are linker errors, not DUB errors. This one in particular is very common on Windows when using the MS linker: warning LNK4098: defaultlib 'LIBCMTD' conflicts with use of other libs; use

Re: The order of libraries makes error in dub

2016-12-05 Thread Mike Parker via Digitalmars-d-learn
On Monday, 5 December 2016 at 14:29:42 UTC, unDEFER wrote: On Monday, 5 December 2016 at 11:51:52 UTC, unDEFER wrote: "libs-posix": ["db"], "sourceFiles-windows-dmd": ["libdb53d.lib", "WS_32.LIB"], "dflags-windows": ["-m32mscoff"], "subPackages": [ I understand that I

Re: Derelict

2016-12-05 Thread Mike Parker via Digitalmars-d
On Monday, 5 December 2016 at 14:40:46 UTC, D.Rex wrote: I have done as you have said here, I have glfw3.dll into the same directory as the executable, and included the dependencies in the dub.json file, however when I run my intialization code, it gives me the following error:

Re: How about a bounty for a new windows installer using inno setup ?

2016-12-05 Thread Basile B. via Digitalmars-d
On Monday, 5 December 2016 at 11:39:37 UTC, Basile B. wrote: On Monday, 5 December 2016 at 11:19:31 UTC, Kjartan F. Kvamme wrote: On Monday, 5 December 2016 at 09:24:59 UTC, Basile B. wrote: How about a bounty for a new windows installer using inno setup ? There are several issues related to

Re: Derelict

2016-12-05 Thread D.Rex via Digitalmars-d
On Monday, 5 December 2016 at 13:54:01 UTC, Mike Parker wrote: On Monday, 5 December 2016 at 11:38:05 UTC, D.Rex wrote: Hi, I am sure this has been asked a thousand times before, but can anyone link me to a tutorial on how to set up derelict and GLFW3, I am trying to work on a project and I

Re: The order of libraries makes error in dub

2016-12-05 Thread unDEFER via Digitalmars-d-learn
On Monday, 5 December 2016 at 11:51:52 UTC, unDEFER wrote: "libs-posix": ["db"], "sourceFiles-windows-dmd": ["libdb53d.lib", "WS_32.LIB"], "dflags-windows": ["-m32mscoff"], "subPackages": [ I understand that I don't must add "sourceFiles-windows-dmd" to lib project, I

Re: CTFE Status

2016-12-05 Thread Stefan Koch via Digitalmars-d
On Monday, 5 December 2016 at 04:26:35 UTC, Stefan Koch wrote: I just improved the handling of void initializations. Now the code is less pessimistic and will allow them if they are assigned to before use. However using void variables at ctfe will not result in any performance wins. Oh it's

Re: CTFE Status

2016-12-05 Thread Stefan Koch via Digitalmars-d
On Monday, 5 December 2016 at 07:55:32 UTC, deadalnix wrote: On Monday, 5 December 2016 at 04:26:35 UTC, Stefan Koch wrote: I just improved the handling of void initializations. Now the code is less pessimistic and will allow them if they are assigned to before use. However using void

Re: Derelict

2016-12-05 Thread Mike Parker via Digitalmars-d
On Monday, 5 December 2016 at 11:38:05 UTC, D.Rex wrote: Hi, I am sure this has been asked a thousand times before, but can anyone link me to a tutorial on how to set up derelict and GLFW3, I am trying to work on a project and I just can't get it set up regardless of how many times I read

Andrei on the new D Foundation Scholarships

2016-12-05 Thread Mike Parker via Digitalmars-d-announce
After a two-week hiatus, the latest post at the blog takes the form of an interview with Andrei regarding the new scholarships he announced a couple weeks back. He talks about how the program came into existence, how it works, and some of what he hopes to see come out of it. The relevant

Re: Should we warn if we detect null derefernces or void value uses ?

2016-12-05 Thread Andrei Alexandrescu via Digitalmars-d
On 12/04/2016 11:41 PM, Stefan Koch wrote: Hi Guys, What is your opinion, should we warn if we unambiguously detect something that is clearly unwanted ? int fn(int y) { int x = void; ++x; return x+y; } No new warnings please. If something (such as the above) is definitely wrong - the

Re: Inline aggregate types

2016-12-05 Thread Jacob Carlborg via Digitalmars-d
On 2016-12-05 13:32, Ethan Watson wrote: I also want to support statically sized bit arrays, Phobos only provides support for dynamically sized. That would be nice, I had a need for that. -- /Jacob Carlborg

D Flowgraph GUI Interface

2016-12-05 Thread D.Rex via Digitalmars-d
Howdy, I am embarking on a project to create a Flowgraph (node based) GUI interface, much like Blender's Node Editor or Unreal ENgine 4's Blueprint System, for other future projects, I have been looking around for many months now on tutorials but I can never quite find anything. I was

Re: Inline aggregate types

2016-12-05 Thread Ethan Watson via Digitalmars-d
On Monday, 5 December 2016 at 11:57:18 UTC, Guillaume Chatelet wrote: Do you plan on contributing this back to phobos? I also came across this exact same problem. It'll want to go through a few polish iterations before I even think of doing that; and it'll need support for things like

[Issue 16948] broken links in std.stdio due to inccorrect use of WEB macro

2016-12-05 Thread via Digitalmars-d-bugs
https://issues.dlang.org/show_bug.cgi?id=16948 --- Comment #2 from LucienPe --- Thanks for the fix. --

Re: Inline aggregate types

2016-12-05 Thread Guillaume Chatelet via Digitalmars-d
On Friday, 2 December 2016 at 11:11:30 UTC, Ethan Watson wrote: On Friday, 2 December 2016 at 10:16:17 UTC, Jacob Carlborg wrote: [...] I was attempting to support all methods. new class isn't the cleanest way of doing things either, so I decided I'd support all the things and let the user

The order of libraries makes error in dub

2016-12-05 Thread unDEFER via Digitalmars-d-learn
Hello, dub makes string like the next to compile my program (WS_32.LIB at the beginning): $ dmd -m32mscoff -lib -of.dub\\build\\library-debug-windows-x86-dmd_2072-83D2723917096513EB360761C22DDD87\\db.lib -debug -g -w -version=Have_bdb2d WS_32.LIB libdb53d.lib source/berkeleydb/* -vcolumns

Re: How about a bounty for a new windows installer using inno setup ?

2016-12-05 Thread Basile B. via Digitalmars-d
On Monday, 5 December 2016 at 11:19:31 UTC, Kjartan F. Kvamme wrote: On Monday, 5 December 2016 at 09:24:59 UTC, Basile B. wrote: How about a bounty for a new windows installer using inno setup ? There are several issues related to the nsis-based windows installer (even on bugzilla). The

Derelict

2016-12-05 Thread D.Rex via Digitalmars-d
Hi, I am sure this has been asked a thousand times before, but can anyone link me to a tutorial on how to set up derelict and GLFW3, I am trying to work on a project and I just can't get it set up regardless of how many times I read the derelict readme's. Also, if anyone knows of any good

Re: How about a bounty for a new windows installer using inno setup ?

2016-12-05 Thread Kjartan F. Kvamme via Digitalmars-d
On Monday, 5 December 2016 at 09:24:59 UTC, Basile B. wrote: How about a bounty for a new windows installer using inno setup ? There are several issues related to the nsis-based windows installer (even on bugzilla). The problem that happened last Fall with a virus false detection may happen

Re: How about a bounty for a new windows installer using inno setup ?

2016-12-05 Thread Basile B. via Digitalmars-d
On Monday, 5 December 2016 at 09:24:59 UTC, Basile B. wrote: How about a bounty for a new windows installer using inno setup ? There are several issues related to the nsis-based windows installer (even on bugzilla). The problem that happened last Fall with a virus false detection may happen

Re: Should we warn if we detect null derefernces or void value uses ?

2016-12-05 Thread Jonathan M Davis via Digitalmars-d
On Monday, December 05, 2016 05:03:36 Stefan Koch via Digitalmars-d wrote: > On Monday, 5 December 2016 at 04:59:01 UTC, ketmar wrote: > > On Monday, 5 December 2016 at 04:41:55 UTC, Stefan Koch wrote: > >> Hi Guys, > >> What is your opinion, should we warn if we unambiguously > >> detect

Re: CTFE Status

2016-12-05 Thread Dominikus Dittes Scherkl via Digitalmars-d
On Monday, 5 December 2016 at 08:07:11 UTC, ketmar wrote: On Monday, 5 December 2016 at 07:55:32 UTC, deadalnix wrote: On Monday, 5 December 2016 at 04:26:35 UTC, Stefan Koch wrote: I just improved the handling of void initializations. Now the code is less pessimistic and will allow them if

How about a bounty for a new windows installer using inno setup ?

2016-12-05 Thread Basile B. via Digitalmars-d
How about a bounty for a new windows installer using inno setup ? There are several issues related to the nsis-based windows installer (even on bugzilla). The problem that happened last Fall with a virus false detection may happen again. "Braddr" proposed to handle digital signatures in case

Re: How to use library compiled with Microsoft Visual Studio 2015 in D?

2016-12-05 Thread unDEFER via Digitalmars-d-learn
OK, I have found. It must be library WS2_32.LIB from Microsoft SDK. But dumpbin doesn't show __imp__htonl@4 symbol there. The magic! Thank you!

Re: Should we warn if we detect null derefernces or void value uses ?

2016-12-05 Thread ketmar via Digitalmars-d
On Monday, 5 December 2016 at 05:03:36 UTC, Stefan Koch wrote: A warning will not halt the compilation. it will: all my projects are built in "-Werror" mode (the only warning i made explicitly switchable in dmd is "statement unreachable" -- it is completely useless for me). i'd prefer to

Re: CTFE Status

2016-12-05 Thread ketmar via Digitalmars-d
On Monday, 5 December 2016 at 07:55:32 UTC, deadalnix wrote: On Monday, 5 December 2016 at 04:26:35 UTC, Stefan Koch wrote: I just improved the handling of void initializations. Now the code is less pessimistic and will allow them if they are assigned to before use. However using void

Re: How to use library compiled with Microsoft Visual Studio 2015 in D?

2016-12-05 Thread unDEFER via Digitalmars-d-learn
On Monday, 5 December 2016 at 07:21:30 UTC, Jacob Carlborg wrote: If you compile your D code with the "-m32mscoff" flag it will produce COFF objects and use the Visual Studio tool chain (linker and runtime). Compiling for 64bit (-m64) will always produce COFF objects. Big thanks! -m32mscoff

Re: CTFE Status

2016-12-05 Thread deadalnix via Digitalmars-d
On Monday, 5 December 2016 at 04:26:35 UTC, Stefan Koch wrote: I just improved the handling of void initializations. Now the code is less pessimistic and will allow them if they are assigned to before use. However using void variables at ctfe will not result in any performance wins. Void