|Re: [eigen] Eigen2 to Eigen3 Migration Path|
[ Thread Index |
| More lists.tuxfamily.org/eigen Archives
- To: eigen@xxxxxxxxxxxxxxxxxxx
- Subject: Re: [eigen] Eigen2 to Eigen3 Migration Path
- From: Hauke Heibel <hauke.heibel@xxxxxxxxxxxxxx>
- Date: Wed, 12 Jan 2011 21:21:16 +0100
- Cc: Radu Bogdan Rusu <rusu@xxxxxxxxxxxxxxxx>, Stuart Glaser <sglaser@xxxxxxxxxxxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=siqKA0QGWYkzBz1MtStVGR3HwewpECDAj2VcsO6m7q4=; b=iunNzm+JcSiXsz/JHzG4b6JCyYOlcFdbQyTk+THLR4sotLnxXsKIUP4XCyCUFLuUu8 7mOt8WU9VLj70QisBRJlhSGemL0MnosISUEQAcmA3A6AMKqjmFmsIXS28ZCmbyx/r+y4 ORfsUUjPaKfj5OHoiKzU1FbsFUtsMq6URrCU4=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=Tl3aUx4z/dO2FpMY1y8i21trr33F63L1+jJYJAfqie62TpXcVkcHE3xjZpMUm2eHxr SAzTE/OYtp/HIkuK0c4lR6VuG1f339aFjHu0QvL0FLuJ+BSjZmFXr+w37A4htExegzbW POhm/N16dVbIxkaUiTQCty3CWBCHwx54WtOJI=
On Wed, Jan 12, 2011 at 8:35 PM, Tully Foote <tfoote@xxxxxxxxxxxxxxxx>
At this point I still think that we should go on with the invasive
Eigen->Eigen3, EIGEN_->EIGEN3_ change. We can announce this change
very loudly. For users, adapting to it just some search&replace:
namespace Eigen -> namespace Eigen3
Eigen:: -> Eigen3::
EIGEN_ -> EIGEN3_
I strongly support the proposal. That is the cleanest way to progress forward. It does impose a burden on the beta users. However I believe that is better than imposing the corresponding burden on the users of the released version.
I am strongly voting against this change. Encoding the version number in the namespace is in my humblest opinion a very ugly solution!
Changing Eigen:: -> Eigen2:: on the other hand side seems fine since it would be only (*cough*) affecting Eigen2 users and such a change would not be carried on to future versions. What were the plans regarding the namespace adaption once we reach version 4? Are we then switching to Eigen4 and force everybody to change the ever-growing code base? Are we staying with Eigen3 while accepting the inherent confusion that might cause?
We are since almost 6 months advocating users to switch to Eigen3 and Benoit's quick check on the number of users has revealed that the user base of Eigen v2 and v3 is converging rapidly if they are not already en par.
Well, I don't know what else to say. Maybe just that we should try very hard to find out how to make code that is currently running based on Eigen v2 compile with v3 + EIGEN2_SUPPORT. Recompiling any dependencies is then something that should in my opinion be accepted.