Re: Compile time metaprogramming

2011-12-04 Thread Simen Kjærås
On Sat, 03 Dec 2011 10:26:09 +0100, David Nadlinger s...@klickverbot.at wrote: On 12/3/11 1:43 AM, simendsjo wrote: On 02.12.2011 23:28, Jonathan M Davis wrote: There's also been at least a couple of cases where people have worked on unit libraries and discussed them in the main newsgroup,

Re: Compile time metaprogramming

2011-12-03 Thread David Nadlinger
On 12/3/11 1:43 AM, simendsjo wrote: On 02.12.2011 23:28, Jonathan M Davis wrote: There's also been at least a couple of cases where people have worked on unit libraries and discussed them in the main newsgroup, but so far, nothing has gotten to the point where it's been reviewed for

Re: Compile time metaprogramming

2011-12-03 Thread Dejan Lekic
David, to be frank, your code is already useful! Something is better than *nothing*! I hope you or someone else will continue with these two modules, and include them in Phobos.

Re: Compile time metaprogramming

2011-12-03 Thread simendsjo
On 03.12.2011 10:26, David Nadlinger wrote: I posted my project to the NG, and there seemed to actually be two or three people interested in it, but I didn't submit it to formal review yet, because it sometimes breaks in interesting ways due to compiler bugs (issue 3467 [3] and the likes), and

Re: Compile time metaprogramming

2011-12-03 Thread David Nadlinger
On 12/3/11 1:49 PM, simendsjo wrote: Seems one of your bugs recently got a pull request: https://github.com/D-Programming-Language/dmd/pull/449 I'm aware of that, though Walter apparently still thinks it's okay for foo!3u and foo!3 to be different things given »template foo(uint u)«… David

Compile time metaprogramming

2011-12-02 Thread simendsjo
I had a little talk with one of my teachers regarding the culprits of wrong unit assumptions in code (http://mars.jpl.nasa.gov/msp98/news/mco990930.html). We had a little different views on how much pain it would be for developers to code using an SI library, so I hacked together a small

Re: Compile time metaprogramming

2011-12-02 Thread Jonathan M Davis
On Friday, December 02, 2011 22:00:44 simendsjo wrote: I had a little talk with one of my teachers regarding the culprits of wrong unit assumptions in code (http://mars.jpl.nasa.gov/msp98/news/mco990930.html). We had a little different views on how much pain it would be for developers to

Re: Compile time metaprogramming

2011-12-02 Thread simendsjo
On 02.12.2011 23:28, Jonathan M Davis wrote: There's also been at least a couple of cases where people have worked on unit libraries and discussed them in the main newsgroup, but so far, nothing has gotten to the point where it's been reviewed for introduction to Phobos, and I don't know if any