Re: dmd 1.065 and 2.050 release

2010-11-02 Thread Gareth Charnock
On 29/10/10 18:35, Walter Bright wrote: This is primarily a bug fix release. http://www.digitalmars.com/d/1.0/changelog.html http://ftp.digitalmars.com/dmd.1.065.zip http://www.digitalmars.com/d/2.0/changelog.html http://ftp.digitalmars.com/dmd.2.050.zip This bug was also fixed. http://d.pur

Re: Emacs D Mode now on Launchpad

2010-10-25 Thread Gareth Charnock
As one of those strange creatures who use emacs, I thank you for taking this up! Sadly I'm not an elisper but if I find bugs I'll let you know. On 25/10/10 07:32, Russel Winder wrote: Walter asked me to post this to this list. The Emacs D Mode project is at: https://launchpad.net/emacs-d-mode

Re: Small vector and matrix proposed for phobos2 now on github

2010-04-29 Thread Gareth Charnock
Jérôme M. Berger wrote: Gareth Charnock wrote: PS: Okay so I just had a looked at the matrix and vector classes in Ogre3D and irrlicht. Looks like they both define v*v as element wise multiplication but m*m is matrix multiplication. That just seems even more inconsistent. Eigen (http

Re: Small vector and matrix proposed for phobos2 now on github

2010-04-26 Thread Gareth Charnock
bearophile wrote: Gareth Charnock: http://github.com/gcharnock/phoboslinalgebra I think that a single module is better. If seen fitting, some functionality can be moved inside other already present modules of Phobos. The module will need a good amount of unit tests. In the code I see no

Re: Small vector and matrix proposed for phobos2 now on github

2010-04-26 Thread Gareth Charnock
- Element wise *, etc are important operators that you need to cleanly support. Design-wise, since we can't do Matlab style operators, I prefer */+- to be element wise, and then use dot/cross/solve for matrix ops. This seems to avoid the confusion of as having some ops be matrix style and some

Re: Small vector and matrix proposed for phobos2 now on github

2010-04-26 Thread Gareth Charnock
I need a better name for ArgList. It originally made sense because because I assumed I be using the tuple like this: this(ArgList argList) But then I ended up using it in a load of static foreaches. I think it would be useful to actually be able to say "static foreach" so that readers (and wri

Re: Small vector and matrix proposed for phobos2 now on github

2010-04-25 Thread Gareth Charnock
Thanks. To quickly answer this: > - The version I'm seeing on github doesn't seem to have all the features > you're referencing (i.e. v*v). Why are some ops limited to */ and other +-? It was quite late (3am) when I typed up that email. I'm sorry if I got the ops wrong. v*v was actually rejec

Small vector and matrix proposed for phobos2 now on github

2010-04-25 Thread Gareth Charnock
I've put the beginnings of my matrix-vector library up on github (between swizzling, generalising to N dimensions and making use of static foreach this project quickly turned from a cleanup to a rewrite). You can find it here. http://github.com/gcharnock/phoboslinalgebra Some highlights so fa

Re: dmd 1.057 and 2.041 release

2010-03-08 Thread Gareth Charnock
I think this bug has been squished as well. Both test cases now compile fine. http://d.puremagic.com/issues/show_bug.cgi?id=3694 Walter Bright wrote: Lots of meat and potatoes here, and a cookie! (spelling checker for error messages) http://www.digitalmars.com/d/1.0/changelog.html http://ftp.