February 10, 2010
"bearophile" <bearophileHUGS@lycos.com> wrote in message news:hktvfk$1i5t$1@digitalmars.com...
> Nick Sabalausky:
>> How do you ever get to 1.0 then?
>
> Is that a serious question?
> The answer: for example at release 0.275.1, that is when you want, when
> you think the software is good enough to be called 1.0.
>

But the tango team is ready for the next release to be 1.0. Should they wait for 0.100 or 0.101 or something before going to 1.0?


February 10, 2010
Nick Sabalausky wrote:
> "bearophile" <bearophileHUGS@lycos.com> wrote in message news:hktvfk$1i5t$1@digitalmars.com...
>> Nick Sabalausky:
>>> How do you ever get to 1.0 then?
>> Is that a serious question?
>> The answer: for example at release 0.275.1, that is when you want, when you think the software is good enough to be called 1.0.
>>
> 
> But the tango team is ready for the next release to be 1.0. Should they wait for 0.100 or 0.101 or something before going to 1.0? 


I think what he means is this:  If you look at the Tango release history, the version numbers are

  ...
  0.7
  0.8
  0.9
  0.95
  0.96
  0.97
  0.98
  0.99
  0.99.1
  ...
  0.99.9

and so on, asymptotically approaching 1.0, instead of the (arguably) more common

  0.1
  0.2
  ...
  0.9
  0.10
  0.11
  ...
  0.99
  0.100
  0.101
  ...
  0.whatever
  1.0

The question was why they chose the scheme they did, and there really is no need for any answer other than "because they felt like it".

Fun fact: TeX version numbers asymptotically approach pi, while METAFONT version numbers approach e. :)

-Lars
February 10, 2010
Congratulations ! I wasz waiting 1.056 compatibility to switch ;).
February 10, 2010
Lars Ivar Igesund Wrote:

> Dear D community
> 
> A new version of Tango is now available for download, named after Kai for his several contributions in this cycle. The main focus of this release has been final cleanup and a lot of bugfixing for the upcoming v1.0 package.

How is the whole Tango/Phobos thing going along?
I'd wish I could build all projects on dsource without having to install a different compiler package/change path :)
D2 maybe?

Installing Tango went bad for me in the past (dsss) and as my projects just work with the default dmd install I never really got into reading the whole tango spec and thus don't really know what I am missing out on, although I suspect the worst :)
February 10, 2010
"strt" <strt@spam.com> wrote in message news:hku9pr$2cqe$1@digitalmars.com...
> Lars Ivar Igesund Wrote:
>
>> Dear D community
>>
>> A new version of Tango is now available for download, named after Kai for
>> his several contributions in this cycle. The main focus of this release
>> has
>> been final cleanup and a lot of bugfixing for the upcoming v1.0 package.
>
> How is the whole Tango/Phobos thing going along?
> I'd wish I could build all projects on dsource without having to install a
> different compiler package/change path :)
> D2 maybe?

Once Tango is ported to D2, then Tango/Phobos should get along just fine (as long as you use D2). That's largely what druntime was all about.

>
> Installing Tango went bad for me in the past (dsss) and as my projects just work with the default dmd install I never really got into reading the whole tango spec and thus don't really know what I am missing out on, although I suspect the worst :)

If you grab the Tango+DMD bundle from the Tango site, then it's exactly the same as installing DMD/Phobos: Just unzip, set path, and run.

Installing Tango overtop an existing DMD/Phobos can be tricky (at least from what I recall, been a long time since I attempted it), but the Tango+DMD bundles are easy and upgrading the DMD from an existing Tango+DMD bundle installation is fairly easy too.


February 10, 2010
Nick Sabalausky Wrote:
> 
> Once Tango is ported to D2, then Tango/Phobos should get along just fine (as long as you use D2). That's largely what druntime was all about.
:) Yet another reason to switch to D2 as soon as possible after reading Andrei's book.

> 
> If you grab the Tango+DMD bundle from the Tango site, then it's exactly the same as installing DMD/Phobos: Just unzip, set path, and run.
So I shouldn't need to change anything at all in my project? All Phobos calls will by default be handled correctly? That's nice.

> 
> Installing Tango overtop an existing DMD/Phobos can be tricky (at least from what I recall, been a long time since I attempted it), but the Tango+DMD bundles are easy and upgrading the DMD from an existing Tango+DMD bundle installation is fairly easy too.
Ok, good to know, as I really like to take the latest release: My monthly candy :D

February 10, 2010
On 10/02/2010 10:05, Lars T. Kyllingstad wrote:
> Nick Sabalausky wrote:
>> "bearophile" <bearophileHUGS@lycos.com> wrote in message
>> news:hktvfk$1i5t$1@digitalmars.com...
>>> Nick Sabalausky:
>>>> How do you ever get to 1.0 then?
>>> Is that a serious question?
>>> The answer: for example at release 0.275.1, that is when you want,
>>> when you think the software is good enough to be called 1.0.
...
> The question was why they chose the scheme they did, and there really is
> no need for any answer other than "because they felt like it".
>
> Fun fact: TeX version numbers asymptotically approach pi, while METAFONT
> version numbers approach e. :)
>
> -Lars

My experience of finishing large software projects is that version numbering which asymptotically approaches 1.0 is a good mapping to the way that a project gets completed!
February 10, 2010
</obscure nerd culture joke>
February 10, 2010
"strtr" <strt@spam.com> wrote in message news:hkuc5h$2hjc$1@digitalmars.com...
> Nick Sabalausky Wrote:
>>
>> If you grab the Tango+DMD bundle from the Tango site, then it's exactly
>> the
>> same as installing DMD/Phobos: Just unzip, set path, and run.
>
> So I shouldn't need to change anything at all in my project? All Phobos calls will by default be handled correctly? That's nice.
>

At the moment, no. Currently, Tango is D1-only, but druntime (the thing that is supposed to allow Tango and Phobos to play nice together on a single installation) is D2-only. So once Tango is ported to D2, I'd imagine there will probably be a Tango+DMD2 bundle that will include phobos and all your tango *and* phobos calls should work fine. But on D1, a DMD installation is either a tango one or a phobos one (unless you use some ugly hacks).

This is what I'd recommend for D1. This is pretty much the way I do it and I find it very easy:

1. Grab a Phobos-based DMD from digitalmars.com and unzip it to something like "dmd-phobos".

2. Grab a Tango+DMD bundle from the Tango site and unzip it to something like "dmd-tango".

3. Set your path to "dmd/bin" (Yes, "dmd", not "dmd-phobos" or "dmd-tango", just "dmd").

4. Windows: Create a batch script "Switch to DMD Phobos.bat" that deletes the "dmd" directory tree and then copies "dmd-phobos" to "dmd". Do the same for Tango, and then run either of those when you want to switch.

Ex (Helpful because I find the appropriate rmdir and xcopy switches to be incredibly hard to remember)
----------------------
@echo off
echo Switching to Tango...

echo Removing old dmd...
rmdir /S /Q dmd

echo Copying new dmd...
xcopy dmd-tango dmd /E /C /I /Q /H /K /Y

echo Done!
----------------------

4. Unix: Same as windows but make "dmd" a symlink to "dmd-phobos"/"dmd-tango" instead of actually copying (I *think* that should work. If not, you can still just copy it like on Windows). And obviously use sh or bash or something instead of batch.

Not sure offhand of the cmd-line to do that, but should be easy to google if you don't already know anyway.



February 10, 2010
"downs" <default_357-line@yahoo.de> wrote in message news:hkusr4$hob$1@digitalmars.com...
> </obscure nerd culture joke>

Neon Genesis? (I haven't seen enough of that show to recognize any 0.99.99 in it though, or maybe I'm just guessing wrong - or overthinking it ;) )