Re: CTFE ^^ (pow)

2018-04-01 Thread Joakim via Digitalmars-d
Been meaning to respond to this for some time now, finally got around to it. :) On Monday, 19 March 2018 at 00:59:45 UTC, Manu wrote: On 18 March 2018 at 17:28, Joakim via Digitalmars-d wrote: Perhaps the community simply has different priorities than you? For example, my Android port has n

Re: CTFE ^^ (pow)

2018-03-27 Thread Guillaume Piolat via Digitalmars-d
On Tuesday, 27 March 2018 at 02:23:50 UTC, Jonathan M Davis wrote: I think that that we all agree that having these functions work with CTFE would be great. The disagreement is mostly on how much of an inconvenience it is or how big a deal that inconvenience is. Ultimately, it's just a questi

Re: CTFE ^^ (pow)

2018-03-26 Thread Jonathan M Davis via Digitalmars-d
On Monday, March 26, 2018 16:26:38 Guillaume Piolat via Digitalmars-d wrote: > On Saturday, 24 March 2018 at 16:37:06 UTC, Manu wrote: > > I'm not sure why I seem to have to defend the idea that it's a > > *great > > thing* that D (in theory; according to the advertising > > brochure) does > > away

Re: CTFE ^^ (pow)

2018-03-26 Thread Walter Bright via Digitalmars-d
On 3/26/2018 9:26 AM, Guillaume Piolat wrote: On Saturday, 24 March 2018 at 16:37:06 UTC, Manu wrote: I'm not sure why I seem to have to defend the idea that it's a *great thing* that D (in theory; according to the advertising brochure) does away with these requirements. Manu is not the only o

Re: CTFE ^^ (pow)

2018-03-26 Thread Guillaume Piolat via Digitalmars-d
On Saturday, 24 March 2018 at 16:37:06 UTC, Manu wrote: I'm not sure why I seem to have to defend the idea that it's a *great thing* that D (in theory; according to the advertising brochure) does away with these requirements. Manu is not the only one who has to write such programs because of

Re: CTFE ^^ (pow)

2018-03-24 Thread Manu via Digitalmars-d
On 24 March 2018 at 18:10, Walter Bright via Digitalmars-d wrote: > On 3/24/2018 9:37 AM, Manu wrote: >> >> I'm not sure why I seem to have to defend the idea that it's a *great >> thing* that D (in theory; according to the advertising brochure) does >> away with these requirements. > > > It is in

Re: CTFE ^^ (pow)

2018-03-24 Thread Walter Bright via Digitalmars-d
On 3/24/2018 9:37 AM, Manu wrote: I'm not sure why I seem to have to defend the idea that it's a *great thing* that D (in theory; according to the advertising brochure) does away with these requirements. It is indeed a great idea. I'm just making the case that it isn't a blocker to not have it

Re: CTFE ^^ (pow)

2018-03-24 Thread Nick Sabalausky (Abscissa) via Digitalmars-d
On 03/24/2018 12:37 PM, Manu wrote: I understand table generation, that is the standard approach. It's Huh? Then I guess I don't understand why you implied that the alternative to CTFE was manually regenerating and copy-pasting tables: >> On 3/23/2018 11:09 AM, Manu wrote: >>> Like, in this

Re: CTFE ^^ (pow)

2018-03-24 Thread Nick Sabalausky (Abscissa) via Digitalmars-d
On 03/24/2018 09:53 AM, H. S. Teoh wrote: On Sat, Mar 24, 2018 at 01:42:56AM -0700, Walter Bright via Digitalmars-d wrote: [...] I can't recall ever seeing anyone else use this technique (other than Nick!), but it works and isn't that bad. It's not all that uncommon. I've worked with projects

Re: CTFE ^^ (pow)

2018-03-24 Thread Jacob Carlborg via Digitalmars-d
On 2018-03-24 00:37, Nick Sabalausky wrote: OAuth is a phisher's paradise. But that aside, it's never made any sense to me for projects to self-impose a policy of "If you've found a bug, and you're non-registered, we don't want to hear about it." I would think any self-respecting project wo

Re: CTFE ^^ (pow)

2018-03-24 Thread Jacob Carlborg via Digitalmars-d
On 2018-03-23 20:25, Jonathan M Davis wrote: Really? I've dealt with relatively few projects that use github as a bug tracker, and it's been my experience that most anything that's really serious has its own bugtracker (usually some form of bugzilla) - though most such projects predate github by

Re: CTFE ^^ (pow)

2018-03-24 Thread Jacob Carlborg via Digitalmars-d
On 2018-03-23 13:34, bauss wrote: What do you mean? https://gcc.gnu.org/bugzilla/buglist.cgi?component=c%2B%2B&product=gcc&resolution=--- That's only limited to 500, here's a list of 10 000: https://gcc.gnu.org/bugzilla/buglist.cgi?component=c%2B%2B&limit=0&order=bug_status%2Cpriority%2Cass

Re: CTFE ^^ (pow)

2018-03-24 Thread Manu via Digitalmars-d
On 24 March 2018 at 01:42, Walter Bright via Digitalmars-d wrote: > On 3/23/2018 11:09 AM, Manu wrote: >> >> Like, in this particular project, being able to generate all tables at >> compile time is the thing that distinguishes the D code from the C++ >> code; it's the *whole point*... If I have t

Re: CTFE ^^ (pow)

2018-03-24 Thread H. S. Teoh via Digitalmars-d
On Sat, Mar 24, 2018 at 01:42:56AM -0700, Walter Bright via Digitalmars-d wrote: [...] > This file: > > https://github.com/dlang/dmd/blob/master/src/dmd/backend/optabgen.c > > computes tables, and writes several tables out to several .c files, > which are then #include'd into the main build. It

Re: CTFE ^^ (pow)

2018-03-24 Thread Walter Bright via Digitalmars-d
On 3/23/2018 11:09 AM, Manu wrote: Like, in this particular project, being able to generate all tables at compile time is the thing that distinguishes the D code from the C++ code; it's the *whole point*... If I have to continue to generate tables offline and paste big tables of data in the sourc

Re: CTFE ^^ (pow)

2018-03-23 Thread Nick Sabalausky (Abscissa) via Digitalmars-d
On 03/23/2018 02:09 PM, Manu wrote: If I have to continue to generate tables offline and paste big tables of data in the source code (and then re-generate them manually when I change something); then situation is identical to C++, therefore, stick with C++.\ WAT? When in the world would anyon

Re: CTFE ^^ (pow)

2018-03-23 Thread Jonathan M Davis via Digitalmars-d
On Saturday, March 24, 2018 00:39:03 Nick Sabalausky via Digitalmars-d wrote: > On Saturday, 24 March 2018 at 00:08:17 UTC, Jonathan M Davis > > wrote: > > On Friday, March 23, 2018 23:37:18 Nick Sabalausky via > > > > Digitalmars-d wrote: > >> I would think any self-respecting project would WANT

Re: CTFE ^^ (pow)

2018-03-23 Thread Nick Sabalausky via Digitalmars-d
On Saturday, 24 March 2018 at 00:08:17 UTC, Jonathan M Davis wrote: On Friday, March 23, 2018 23:37:18 Nick Sabalausky via Digitalmars-d wrote: I would think any self-respecting project would WANT to lower the barrier to being notified of problems, not put roadblocks in the way: That's what out

Re: CTFE ^^ (pow)

2018-03-23 Thread Jonathan M Davis via Digitalmars-d
On Friday, March 23, 2018 23:37:18 Nick Sabalausky via Digitalmars-d wrote: > I would think any self-respecting project would WANT to lower the > barrier to being notified of problems, not put roadblocks in the > way: That's what outsourced call centers are for! Part of the problem with that is th

Re: CTFE ^^ (pow)

2018-03-23 Thread Nick Sabalausky via Digitalmars-d
On Friday, 23 March 2018 at 20:38:38 UTC, Manu wrote: I'm not suggesting switch to github. I've never suggested that. I understand it's inferior. I'm suggesting supporting openauth. OAuth is a phisher's paradise. But that aside, it's never made any sense to me for projects to self-impose a

Re: CTFE ^^ (pow)

2018-03-23 Thread Nick Sabalausky via Digitalmars-d
. This was used in the DMD build, and was gradually replaced with CTFE. It still exists in the backend, which is still in C++.) Right, but then there's no reason to use D. Of course there is. It's called "all the other million things D does better than C++ besides CTFE pow"

Re: CTFE ^^ (pow)

2018-03-23 Thread Manu via Digitalmars-d
On 23 March 2018 at 12:16, Walter Bright via Digitalmars-d wrote: > On 3/23/2018 11:09 AM, Manu wrote: >> >> [...] > > > You make some good points. The CTFE one is kinda inexcusable on our part, > because it was trivial to implement (just more or less add some table > entries and some glue copying

Re: CTFE ^^ (pow)

2018-03-23 Thread Seb via Digitalmars-d
On Friday, 23 March 2018 at 20:48:07 UTC, Jonathan M Davis wrote: I have no idea whether any version of bugzilla supports it or not. - Jonathan M Davis Mozilla's fork of Bugzilla (BMO) does - see https://forum.dlang.org/post/tneyowfjewrlrtnqs...@forum.dlang.org

Re: CTFE ^^ (pow)

2018-03-23 Thread Timon Gehr via Digitalmars-d
On 23.03.2018 20:02, Manu wrote: Here's another one of these apparently trivial cases which is highly likely to emerge for a new user (ie, has, in my experience, and I have to 'explain' the situation, which is anti-merit): https://github.com/dlang/dmd/pull/8031 The language grammar has a nontri

Re: CTFE ^^ (pow)

2018-03-23 Thread Seb via Digitalmars-d
On Friday, 23 March 2018 at 20:38:38 UTC, Manu wrote: On 23 March 2018 at 12:25, Jonathan M Davis via Digitalmars-d wrote: On Friday, March 23, 2018 12:13:58 Manu via Digitalmars-d wrote: On 23 March 2018 at 12:02, Walter Bright via Digitalmars-d wrote: > On 3/23/2018 11:14 AM, Manu wrote: >

Re: CTFE ^^ (pow)

2018-03-23 Thread Jonathan M Davis via Digitalmars-d
On Friday, March 23, 2018 13:38:38 Manu via Digitalmars-d wrote: > On 23 March 2018 at 12:25, Jonathan M Davis via Digitalmars-d > > wrote: > > On Friday, March 23, 2018 12:13:58 Manu via Digitalmars-d wrote: > >> On 23 March 2018 at 12:02, Walter Bright via Digitalmars-d > >> > >> wrote: > >> >

Re: CTFE ^^ (pow)

2018-03-23 Thread Manu via Digitalmars-d
On 23 March 2018 at 12:25, Jonathan M Davis via Digitalmars-d wrote: > On Friday, March 23, 2018 12:13:58 Manu via Digitalmars-d wrote: >> On 23 March 2018 at 12:02, Walter Bright via Digitalmars-d >> >> wrote: >> > On 3/23/2018 11:14 AM, Manu wrote: >> >> This happened to me again on Tuesday thi

Re: CTFE ^^ (pow)

2018-03-23 Thread Jonathan M Davis via Digitalmars-d
On Friday, March 23, 2018 12:13:58 Manu via Digitalmars-d wrote: > On 23 March 2018 at 12:02, Walter Bright via Digitalmars-d > > wrote: > > On 3/23/2018 11:14 AM, Manu wrote: > >> This happened to me again on Tuesday this week... > > > > All bugzilla requires is a name and a password. It does not

Re: CTFE ^^ (pow)

2018-03-23 Thread jmh530 via Digitalmars-d
On Friday, 23 March 2018 at 18:09:01 UTC, Manu wrote: [snip] Like, in this particular project, being able to generate all tables at compile time is the thing that distinguishes the D code from the C++ code; it's the *whole point*... If I have to continue to generate tables offline and paste b

Re: CTFE ^^ (pow)

2018-03-23 Thread Walter Bright via Digitalmars-d
On 3/23/2018 11:09 AM, Manu wrote: [...] You make some good points. The CTFE one is kinda inexcusable on our part, because it was trivial to implement (just more or less add some table entries and some glue copying existing examples), and there were posts after posts here and on bugzilla tal

Re: CTFE ^^ (pow)

2018-03-23 Thread Manu via Digitalmars-d
On 23 March 2018 at 12:02, Walter Bright via Digitalmars-d wrote: > On 3/23/2018 11:14 AM, Manu wrote: >> >> I can echo this experience. I think only two colleagues (out of quite >> a lot) of mine have ever created a bugzilla account. >> Most of them get to the point where they see a website that

Re: CTFE ^^ (pow)

2018-03-23 Thread Walter Bright via Digitalmars-d
On 3/23/2018 11:14 AM, Manu wrote: I can echo this experience. I think only two colleagues (out of quite a lot) of mine have ever created a bugzilla account. Most of them get to the point where they see a website that looks like it's from the 90's and it wants you to create yet-another-internet-a

Re: CTFE ^^ (pow)

2018-03-23 Thread Manu via Digitalmars-d
On 23 March 2018 at 11:24, Walter Bright via Digitalmars-d wrote: > On 3/23/2018 8:15 AM, Timon Gehr wrote: >> >> https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51664 > > > The money shot: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51664#c3 Thing is, C++ has nothing to prove; it's already accepte

Re: CTFE ^^ (pow)

2018-03-23 Thread Walter Bright via Digitalmars-d
On 3/23/2018 8:15 AM, Timon Gehr wrote: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51664 The money shot: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=51664#c3

Re: CTFE ^^ (pow)

2018-03-23 Thread Manu via Digitalmars-d
On 23 March 2018 at 03:16, Walter Bright via Digitalmars-d wrote: > On 3/17/2018 9:25 PM, Manu wrote: >> >> What is so hard about implementing a pow intrinsic that CTFE can use? > > > https://github.com/dlang/dmd/pull/8071 Best PR this year! >> It's one of those blocker bugs that's been there al

Re: CTFE ^^ (pow)

2018-03-23 Thread Manu via Digitalmars-d
On 23 March 2018 at 02:37, Norm via Digitalmars-d wrote: > > Looking at bugzilla I see this is also now fixed but we were on 2.074 at the > time. Sorry I don't have more specific details, it was hard enough just to > get some devs to create bugzilla accounts let alone find existing tickets or > ra

Re: CTFE ^^ (pow)

2018-03-23 Thread Manu via Digitalmars-d
On 23 March 2018 at 01:36, Nick Sabalausky (Abscissa) via Digitalmars-d wrote: > On 03/23/2018 03:35 AM, Jordan Wilson wrote: >> >> >> I suppose it's about finding that balance between growing the D user base, >> and trying to get said user base to give back. >> >> Say I was offered a car with no

Re: CTFE ^^ (pow)

2018-03-23 Thread Timon Gehr via Digitalmars-d
On 23.03.2018 13:06, Jacob Carlborg wrote: On Friday, 23 March 2018 at 09:37:26 UTC, Norm wrote: I think the main reason for this is because they expect a C++/Python like experience where your rarely hit a compiler/interpreter bug. What happens if they found a bug in C++ or Python? -- /Jacob

Re: CTFE ^^ (pow)

2018-03-23 Thread bauss via Digitalmars-d
On Friday, 23 March 2018 at 09:37:26 UTC, Norm wrote: I think the main reason for this is because they expect a C++/Python like experience where your rarely hit a compiler/interpreter bug. Cheers, Norm What do you mean? https://gcc.gnu.org/bugzilla/buglist.cgi?component=c%2B%2B&product=gc

Re: CTFE ^^ (pow)

2018-03-23 Thread Jacob Carlborg via Digitalmars-d
On Friday, 23 March 2018 at 09:37:26 UTC, Norm wrote: I think the main reason for this is because they expect a C++/Python like experience where your rarely hit a compiler/interpreter bug. What happens if they found a bug in C++ or Python? -- /Jacob Carlborg

Re: CTFE ^^ (pow)

2018-03-23 Thread Walter Bright via Digitalmars-d
On 3/17/2018 9:25 PM, Manu wrote: What is so hard about implementing a pow intrinsic that CTFE can use? https://github.com/dlang/dmd/pull/8071 It's one of those blocker bugs that's been there almost 10 years. It's one that seems to engender lots of comments, but no action. (BTW, there's a

Re: CTFE ^^ (pow)

2018-03-23 Thread RazvanN via Digitalmars-d
On Sunday, 18 March 2018 at 04:25:48 UTC, Manu wrote: What is so hard about implementing a pow intrinsic that CTFE can use? It's ridiculous that we can't CTFE any non-linear function... It's one of those blocker bugs that's been there almost 10 years. Well, there is this PR : https://github.c

Re: CTFE ^^ (pow)

2018-03-23 Thread Norm via Digitalmars-d
On Friday, 23 March 2018 at 05:24:48 UTC, Walter Bright wrote: On 3/22/2018 9:15 PM, Norm wrote: On Friday, 23 March 2018 at 03:28:05 UTC, Walter Bright wrote: What are the bugzilla issues on those? This is just a few cut-paste from the collated list. Some were reported but found later to be

Re: CTFE ^^ (pow)

2018-03-23 Thread Nick Sabalausky (Abscissa) via Digitalmars-d
On 03/23/2018 03:35 AM, Jordan Wilson wrote: I suppose it's about finding that balance between growing the D user base, and trying to get said user base to give back. Say I was offered a car with no windscreen...I have 3 responses: 1. Cool! I'll put in a windscreen myself, as this car has a g

Re: CTFE ^^ (pow)

2018-03-23 Thread Jordan Wilson via Digitalmars-d
On Friday, 23 March 2018 at 01:49:30 UTC, Nick Sabalausky (Abscissa) wrote: On 03/22/2018 09:44 PM, Jonathan M Davis wrote: On Thursday, March 22, 2018 21:25:11 Nick Sabalausky via Digitalmars-d wrote: On 03/18/2018 11:43 PM, Norm wrote: We don't want to be treated special. We don't want to g

Re: CTFE ^^ (pow)

2018-03-22 Thread Walter Bright via Digitalmars-d
On 3/22/2018 9:15 PM, Norm wrote: On Friday, 23 March 2018 at 03:28:05 UTC, Walter Bright wrote: What are the bugzilla issues on those? This is just a few cut-paste from the collated list. Some were reported but found later to be duplicates, many were existing bugs, so no new bugzilla was cr

Re: CTFE ^^ (pow)

2018-03-22 Thread Norm via Digitalmars-d
On Friday, 23 March 2018 at 03:28:05 UTC, Walter Bright wrote: On 3/18/2018 7:56 PM, Norm wrote: My workplace has stopped using D after a 6 month trial, which finished in Jan 2018. Several developers did post here during that period when blocked by a bug or incomplete feature, only to be told

Re: CTFE ^^ (pow)

2018-03-22 Thread Walter Bright via Digitalmars-d
On 3/18/2018 7:56 PM, Norm wrote: My workplace has stopped using D after a 6 month trial, which finished in Jan 2018. Several developers did post here during that period when blocked by a bug or incomplete feature, only to be told if they want it fixed they can always submit a PR. What are th

Re: CTFE ^^ (pow)

2018-03-22 Thread Norm via Digitalmars-d
On Friday, 23 March 2018 at 01:43:49 UTC, Nick Sabalausky (Abscissa) wrote: On 03/18/2018 11:28 PM, Manu wrote: I know these feels so well. People take their one experience, and that's the truth on the matter. The sad part is, it's actually a massive missed opportunity! If these colleagues po

Re: CTFE ^^ (pow)

2018-03-22 Thread bachmeier via Digitalmars-d
On Friday, 23 March 2018 at 02:42:12 UTC, Manu wrote: Small companies are often at a resource-shortage as it is... they probably wouldn't be looking for potential productivity increase opportunities (like using D instead of C) if that wasn't the case. IMO we need to be honest with them so th

Re: CTFE ^^ (pow)

2018-03-22 Thread Manu via Digitalmars-d
On 22 March 2018 at 18:25, Nick Sabalausky (Abscissa) via Digitalmars-d wrote: > On 03/18/2018 11:43 PM, Norm wrote: >> >> >> We don't want to be treated special. We don't want to give back. This is >> the *entire* point. >> > > An attitude like that and there's any wonder it didn't work out? Shee

Re: CTFE ^^ (pow)

2018-03-22 Thread Nick Sabalausky (Abscissa) via Digitalmars-d
On 03/22/2018 09:43 PM, Nick Sabalausky (Abscissa) wrote: On 03/18/2018 11:28 PM, Manu wrote: I know these feels so well. People take their one experience, and that's the truth on the matter. The sad part is, it's actually a massive missed opportunity! If these colleagues posted here, and inste

Re: CTFE ^^ (pow)

2018-03-22 Thread Nick Sabalausky (Abscissa) via Digitalmars-d
On 03/22/2018 09:44 PM, Jonathan M Davis wrote: On Thursday, March 22, 2018 21:25:11 Nick Sabalausky via Digitalmars-d wrote: On 03/18/2018 11:43 PM, Norm wrote: We don't want to be treated special. We don't want to give back. This is the *entire* point. An attitude like that and there's any

Re: CTFE ^^ (pow)

2018-03-22 Thread Nick Sabalausky (Abscissa) via Digitalmars-d
On 03/18/2018 11:28 PM, Manu wrote: I know these feels so well. People take their one experience, and that's the truth on the matter. The sad part is, it's actually a massive missed opportunity! If these colleagues posted here, and instead were greeted by recognition of their issue, and provided

Re: CTFE ^^ (pow)

2018-03-22 Thread Jonathan M Davis via Digitalmars-d
On Thursday, March 22, 2018 21:25:11 Nick Sabalausky via Digitalmars-d wrote: > On 03/18/2018 11:43 PM, Norm wrote: > > We don't want to be treated special. We don't want to give back. This is > > the *entire* point. > > An attitude like that and there's any wonder it didn't work out? Sheesh. > >

Re: CTFE ^^ (pow)

2018-03-22 Thread Nick Sabalausky (Abscissa) via Digitalmars-d
On 03/18/2018 11:43 PM, Norm wrote: We don't want to be treated special. We don't want to give back. This is the *entire* point. An attitude like that and there's any wonder it didn't work out? Sheesh. This is the thing about OSS: The business willing to give back (and there are many such

Re: CTFE ^^ (pow)

2018-03-19 Thread Manu via Digitalmars-d
On 19 March 2018 at 13:00, Jacob Carlborg via Digitalmars-d wrote: > On 2018-03-19 01:00, Manu wrote: > >> It's not aggression, it's a decade of compounded frustration. > > > Perhaps you can give this a try: > https://forum.dlang.org/thread/ojxxjixcxnztmssky...@forum.dlang.org Haha. Yeah, mine wa

Re: CTFE ^^ (pow)

2018-03-19 Thread Jacob Carlborg via Digitalmars-d
On 2018-03-19 01:00, Manu wrote: It's not aggression, it's a decade of compounded frustration. Perhaps you can give this a try: https://forum.dlang.org/thread/ojxxjixcxnztmssky...@forum.dlang.org -- /Jacob Carlborg

Re: CTFE ^^ (pow)

2018-03-19 Thread Paolo Invernizzi via Digitalmars-d
On Monday, 19 March 2018 at 05:27:20 UTC, Norm wrote: On Monday, 19 March 2018 at 04:15:26 UTC, rikki cattermole wrote: On 19/03/2018 5:05 PM, Norm wrote: On Monday, 19 March 2018 at 03:53:07 UTC, rikki cattermole wrote: On 19/03/2018 4:43 PM, Norm wrote: [...] You just said the magic word,

Re: CTFE ^^ (pow)

2018-03-18 Thread Manu via Digitalmars-d
On 18 March 2018 at 21:34, bachmeier via Digitalmars-d wrote: > On Monday, 19 March 2018 at 01:15:28 UTC, Manu wrote: > >> Or hire staff who are paid to work on 'boring' issues. I would make >> regular donations if I could be satisfied that my decade old issues would be >> addressed. I wonder how

Re: CTFE ^^ (pow)

2018-03-18 Thread Norm via Digitalmars-d
On Monday, 19 March 2018 at 04:15:26 UTC, rikki cattermole wrote: On 19/03/2018 5:05 PM, Norm wrote: On Monday, 19 March 2018 at 03:53:07 UTC, rikki cattermole wrote: On 19/03/2018 4:43 PM, Norm wrote: On Monday, 19 March 2018 at 03:14:51 UTC, rikki cattermole wrote: Did they at any point te

Re: CTFE ^^ (pow)

2018-03-18 Thread bachmeier via Digitalmars-d
On Monday, 19 March 2018 at 01:15:28 UTC, Manu wrote: Or hire staff who are paid to work on 'boring' issues. I would make regular donations if I could be satisfied that my decade old issues would be addressed. I wonder how many others would too? That's actually possible now for corporate spo

Re: CTFE ^^ (pow)

2018-03-18 Thread rikki cattermole via Digitalmars-d
On 19/03/2018 5:23 PM, Jonathan M Davis wrote: On Monday, March 19, 2018 17:15:26 rikki cattermole via Digitalmars-d wrote: On 19/03/2018 5:05 PM, Norm wrote: On Monday, 19 March 2018 at 03:53:07 UTC, rikki cattermole wrote: You just said the magic word, medical. D was never an appropriate fi

Re: CTFE ^^ (pow)

2018-03-18 Thread nkm1 via Digitalmars-d
On Monday, 19 March 2018 at 02:56:32 UTC, Norm wrote: +1024 bytes I think D is a terrific language worthy of all the praise it gets and it is way way more stable than it was 3yrs ago. But the attitude of submit a PR if you want it fixed works very much against D. Like it or not these forums a

Re: CTFE ^^ (pow)

2018-03-18 Thread Jonathan M Davis via Digitalmars-d
On Monday, March 19, 2018 17:15:26 rikki cattermole via Digitalmars-d wrote: > On 19/03/2018 5:05 PM, Norm wrote: > > On Monday, 19 March 2018 at 03:53:07 UTC, rikki cattermole wrote: > >> You just said the magic word, medical. > >> > >> D was never an appropriate fit here. > >> > >> dmd's backend

Re: CTFE ^^ (pow)

2018-03-18 Thread rikki cattermole via Digitalmars-d
On 19/03/2018 5:05 PM, Norm wrote: On Monday, 19 March 2018 at 03:53:07 UTC, rikki cattermole wrote: On 19/03/2018 4:43 PM, Norm wrote: On Monday, 19 March 2018 at 03:14:51 UTC, rikki cattermole wrote: Did they at any point tell us that it was a blocker for your company who was trialing D?

Re: CTFE ^^ (pow)

2018-03-18 Thread Danni Coy via Digitalmars-d
The volunteer line is fine for big picture stuff that is going to require a lot of work and planing to get right. Using that for smaller feature requests is going to give the impression that D is lacking in the technical expertise to get anything done, It's often a sign that an open source project

Re: CTFE ^^ (pow)

2018-03-18 Thread Norm via Digitalmars-d
On Monday, 19 March 2018 at 03:53:07 UTC, rikki cattermole wrote: On 19/03/2018 4:43 PM, Norm wrote: On Monday, 19 March 2018 at 03:14:51 UTC, rikki cattermole wrote: Did they at any point tell us that it was a blocker for your company who was trialing D? Because I do not remember once in t

Re: CTFE ^^ (pow)

2018-03-18 Thread rikki cattermole via Digitalmars-d
On 19/03/2018 4:43 PM, Norm wrote: On Monday, 19 March 2018 at 03:14:51 UTC, rikki cattermole wrote: Did they at any point tell us that it was a blocker for your company who was trialing D? Because I do not remember once in that time period of any one saying this. Walter has gone out of h

Re: CTFE ^^ (pow)

2018-03-18 Thread Norm via Digitalmars-d
On Monday, 19 March 2018 at 03:14:51 UTC, rikki cattermole wrote: Did they at any point tell us that it was a blocker for your company who was trialing D? Because I do not remember once in that time period of any one saying this. Walter has gone out of his way in the past to help companies

Re: CTFE ^^ (pow)

2018-03-18 Thread Manu via Digitalmars-d
On 18 March 2018 at 19:56, Norm via Digitalmars-d wrote: > On Monday, 19 March 2018 at 00:59:45 UTC, Manu wrote: >> >> On 18 March 2018 at 17:28, Joakim via Digitalmars-d >> wrote: >>> >>> >>> Perhaps the community simply has different priorities than you? For >>> example, my Android port has nev

Re: CTFE ^^ (pow)

2018-03-18 Thread rikki cattermole via Digitalmars-d
On 19/03/2018 3:56 PM, Norm wrote: On Monday, 19 March 2018 at 00:59:45 UTC, Manu wrote: On 18 March 2018 at 17:28, Joakim via Digitalmars-d wrote: Perhaps the community simply has different priorities than you? For example, my Android port has never gotten much use either, which is fine as

Re: CTFE ^^ (pow)

2018-03-18 Thread Norm via Digitalmars-d
On Monday, 19 March 2018 at 00:59:45 UTC, Manu wrote: On 18 March 2018 at 17:28, Joakim via Digitalmars-d wrote: Perhaps the community simply has different priorities than you? For example, my Android port has never gotten much use either, which is fine as I primarily did that work for mysel

Re: CTFE ^^ (pow)

2018-03-18 Thread Jonathan M Davis via Digitalmars-d
On Sunday, March 18, 2018 18:15:28 Manu via Digitalmars-d wrote: > On 18 March 2018 at 17:55, Jonathan M Davis via Digitalmars-d > > I definitely agree with this. If the folks fixing stuff don't have the > > same priorities as you, then there's a high risk that what you want to > > be fixed won't g

Re: CTFE ^^ (pow)

2018-03-18 Thread Manu via Digitalmars-d
On 18 March 2018 at 18:50, rikki cattermole via Digitalmars-d wrote: > On 19/03/2018 2:38 PM, Manu wrote: >> >> On 18 March 2018 at 18:29, rikki cattermole via Digitalmars-d >> >> wrote: >>> >>> On 19/03/2018 2:21 PM, Manu wrote: On 18 March 2018 at 18:11, rikki cattermole via Digi

Re: CTFE ^^ (pow)

2018-03-18 Thread rikki cattermole via Digitalmars-d
On 19/03/2018 2:38 PM, Manu wrote: On 18 March 2018 at 18:29, rikki cattermole via Digitalmars-d wrote: On 19/03/2018 2:21 PM, Manu wrote: On 18 March 2018 at 18:11, rikki cattermole via Digitalmars-d wrote: For those not in the know, Manu is special. He is in essence a use case for D him

Re: CTFE ^^ (pow)

2018-03-18 Thread Manu via Digitalmars-d
On 18 March 2018 at 18:29, rikki cattermole via Digitalmars-d wrote: > On 19/03/2018 2:21 PM, Manu wrote: >> >> On 18 March 2018 at 18:11, rikki cattermole via Digitalmars-d >> wrote: >>> >>> For those not in the know, Manu is special. >>> >>> He is in essence a use case for D himself. >>> >>> We

Re: CTFE ^^ (pow)

2018-03-18 Thread rikki cattermole via Digitalmars-d
On 19/03/2018 2:21 PM, Manu wrote: On 18 March 2018 at 18:11, rikki cattermole via Digitalmars-d wrote: For those not in the know, Manu is special. He is in essence a use case for D himself. We really should be trying to make him happy in terms of blockers. It's just good business sense. Sha

Re: CTFE ^^ (pow)

2018-03-18 Thread Manu via Digitalmars-d
On 18 March 2018 at 18:15, Manu wrote: > On 18 March 2018 at 17:55, Jonathan M Davis via Digitalmars-d > wrote: >> On Monday, March 19, 2018 00:28:15 Joakim via Digitalmars-d wrote: >>> On Monday, 19 March 2018 at 00:08:58 UTC, Manu wrote: >>> > On 18 March 2018 at 17:00, Manu wrote: >>> >> [...

Re: CTFE ^^ (pow)

2018-03-18 Thread Manu via Digitalmars-d
On 18 March 2018 at 18:11, rikki cattermole via Digitalmars-d wrote: > For those not in the know, Manu is special. > > He is in essence a use case for D himself. > > We really should be trying to make him happy in terms of blockers. > It's just good business sense. > > Shame we can't throw money a

Re: CTFE ^^ (pow)

2018-03-18 Thread Manu via Digitalmars-d
On 18 March 2018 at 17:55, Jonathan M Davis via Digitalmars-d wrote: > On Monday, March 19, 2018 00:28:15 Joakim via Digitalmars-d wrote: >> On Monday, 19 March 2018 at 00:08:58 UTC, Manu wrote: >> > On 18 March 2018 at 17:00, Manu wrote: >> >> [...] >> > >> > I want to just justify my apparent o

Re: CTFE ^^ (pow)

2018-03-18 Thread rikki cattermole via Digitalmars-d
For those not in the know, Manu is special. He is in essence a use case for D himself. We really should be trying to make him happy in terms of blockers. It's just good business sense. Shame we can't throw money at him, he would have great ROI value.

Re: CTFE ^^ (pow)

2018-03-18 Thread Manu via Digitalmars-d
On 18 March 2018 at 17:28, Joakim via Digitalmars-d wrote: > > Perhaps the community simply has different priorities than you? For example, > my Android port has never gotten much use either, which is fine as I > primarily did that work for myself. > > Nevertheless, you have to think of D as like

Re: CTFE ^^ (pow)

2018-03-18 Thread Jonathan M Davis via Digitalmars-d
On Monday, March 19, 2018 00:28:15 Joakim via Digitalmars-d wrote: > On Monday, 19 March 2018 at 00:08:58 UTC, Manu wrote: > > On 18 March 2018 at 17:00, Manu wrote: > >> [...] > > > > I want to just justify my apparent over-reaction... I think I'm > > not > > the only one that feels this way fair

Re: CTFE ^^ (pow)

2018-03-18 Thread Joakim via Digitalmars-d
On Monday, 19 March 2018 at 00:08:58 UTC, Manu wrote: On 18 March 2018 at 17:00, Manu wrote: [...] I want to just justify my apparent over-reaction... I think I'm not the only one that feels this way fairly often. Something that seems trivial only invokes over-reaction of this nature when

Re: CTFE ^^ (pow)

2018-03-18 Thread Manu via Digitalmars-d
On 18 March 2018 at 17:00, Manu wrote: > On 18 March 2018 at 02:19, Johan Engelen via Digitalmars-d > wrote: >> On Sunday, 18 March 2018 at 04:25:48 UTC, Manu wrote: >>> >>> What is so hard about implementing a pow intrinsic that CTFE can use? >>> It's ridiculous that we can't CTFE any non-linear

Re: CTFE ^^ (pow)

2018-03-18 Thread Manu via Digitalmars-d
On 18 March 2018 at 02:19, Johan Engelen via Digitalmars-d wrote: > On Sunday, 18 March 2018 at 04:25:48 UTC, Manu wrote: >> >> What is so hard about implementing a pow intrinsic that CTFE can use? >> It's ridiculous that we can't CTFE any non-linear function... >> It's one of those blocker bugs t

Re: CTFE ^^ (pow)

2018-03-18 Thread Manu via Digitalmars-d
On 18 March 2018 at 06:57, Rubn via Digitalmars-d wrote: > > There was a PR a while ago IIRC, it's probably one of those sitting at the > back of the queue from 4 years ago or something. Unacceptable if true.

Re: CTFE ^^ (pow)

2018-03-18 Thread Manu via Digitalmars-d
On 18 March 2018 at 00:47, Nicholas Wilson via Digitalmars-d wrote: > On Sunday, 18 March 2018 at 04:25:48 UTC, Manu wrote: >> >> What is so hard about implementing a pow intrinsic that CTFE can use? >> It's ridiculous that we can't CTFE any non-linear function... >> It's one of those blocker bugs

Re: CTFE ^^ (pow)

2018-03-18 Thread Rubn via Digitalmars-d
On Sunday, 18 March 2018 at 04:37:32 UTC, ketmar wrote: Manu wrote: What is so hard about implementing a pow intrinsic that CTFE can use? It's ridiculous that we can't CTFE any non-linear function... It's one of those blocker bugs that's been there almost 10 years. nobody bothered. it is al

Re: CTFE ^^ (pow)

2018-03-18 Thread Guillaume Piolat via Digitalmars-d
On Sunday, 18 March 2018 at 07:47:24 UTC, Nicholas Wilson wrote: On Sunday, 18 March 2018 at 04:25:48 UTC, Manu wrote: What is so hard about implementing a pow intrinsic that CTFE can use? It's ridiculous that we can't CTFE any non-linear function... It's one of those blocker bugs that's been t

Re: CTFE ^^ (pow)

2018-03-18 Thread Johan Engelen via Digitalmars-d
On Sunday, 18 March 2018 at 04:25:48 UTC, Manu wrote: What is so hard about implementing a pow intrinsic that CTFE can use? It's ridiculous that we can't CTFE any non-linear function... It's one of those blocker bugs that's been there almost 10 years. It's been available in LDC since 1.6.0. h

Re: CTFE ^^ (pow)

2018-03-18 Thread ketmar via Digitalmars-d
Nicholas Wilson wrote: On Sunday, 18 March 2018 at 04:25:48 UTC, Manu wrote: What is so hard about implementing a pow intrinsic that CTFE can use? It's ridiculous that we can't CTFE any non-linear function... It's one of those blocker bugs that's been there almost 10 years. Not all that much.

Re: CTFE ^^ (pow)

2018-03-18 Thread Nicholas Wilson via Digitalmars-d
On Sunday, 18 March 2018 at 04:25:48 UTC, Manu wrote: What is so hard about implementing a pow intrinsic that CTFE can use? It's ridiculous that we can't CTFE any non-linear function... It's one of those blocker bugs that's been there almost 10 years. Not all that much. Can you give me an exa

Re: CTFE ^^ (pow)

2018-03-17 Thread ketmar via Digitalmars-d
Manu wrote: What is so hard about implementing a pow intrinsic that CTFE can use? It's ridiculous that we can't CTFE any non-linear function... It's one of those blocker bugs that's been there almost 10 years. nobody bothered. it is all done by intercepting calls in CTFE engine (using FQN man

CTFE ^^ (pow)

2018-03-17 Thread Manu via Digitalmars-d
What is so hard about implementing a pow intrinsic that CTFE can use? It's ridiculous that we can't CTFE any non-linear function... It's one of those blocker bugs that's been there almost 10 years.

Re: CTFE pow()

2015-01-13 Thread Iain Buclaw via Digitalmars-d
On 12 January 2015 at 23:28, Manu via Digitalmars-d wrote: > Awesome. Really looking forward to this! :) > > On 13 January 2015 at 03:12, Iain Buclaw via Digitalmars-d > wrote: >> On 2 January 2015 at 14:19, Iain Buclaw wrote: >>> On 1 January 2015 at 18:40, H. S. Teoh via Digitalmars-d >>> wro

Re: CTFE pow()

2015-01-12 Thread Martin Nowak via Digitalmars-d
https://issues.dlang.org/show_bug.cgi?id=3749

Re: CTFE pow()

2015-01-12 Thread Martin Nowak via Digitalmars-d
On Thursday, 1 January 2015 at 16:56:24 UTC, Manu via Digitalmars-d wrote: Does anyone know how to fix this? Can we please do so? It's been a problem for like 5 years it seems. It's a bit insane that we can't resolve any non-linear functions at compile time. Oh, we got yl2x recently [1]. So,

Re: CTFE pow()

2015-01-12 Thread Shammah Chancellor via Digitalmars-d
On 2015-01-01 17:59:09 +, Andrei Alexandrescu said: Manu via Digitalmars-d wrote: Does anyone know how to fix this? Can we please do so? It's been a problem for like 5 years it seems. It's a bit insane that we can't resolve any non-linear functions at compile time. I've been hoping for t

  1   2   >