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 init

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 variables

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 ha

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 i

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 the

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 something

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 a

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 a

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 tu

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 prob

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 c

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 toStrin

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 wonder

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

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 co

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 the

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 variables

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 b

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 j

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 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: derelict.util

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: 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: 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 an

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 8

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. https://www.youtube.com/watch?v=4XVQ5GScEoI&in

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: 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 = vo

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 ha

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 F

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 I

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: 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 tut

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 I

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 w