www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - Tangobos for Tango 0.99.4

reply Lars Ivar Igesund <larsivar igesund.net> writes:
Tango made a huge leap towards Phobos compatibility in the 0.99.4 release
when changing back to toString from toUtf8. To further simplify use of
Phobos modules with the Tango runtime, Tangobos has been updated, and is
also available as a library bundled with the DMD packages of Tango. 

Any feedback on Tangobos' usage and stability will be appreciated.

The Tangobos homepage can be found at
http://www.dsource.org/projects/tangobos

Downloads:
http://www.dsource.org/projects/tango/wiki/DmdDownloads

Contact:
http://www.dsource.org/projects/tango/wiki/Contact

Signed,

The Tango Team

http://www.dsource.org/projects/tango/wiki/Contributors
Dec 21 2007
next sibling parent reply Bill Baxter <dnewsgroup billbaxter.com> writes:
Lars Ivar Igesund wrote:
 Tango made a huge leap towards Phobos compatibility in the 0.99.4 release
 when changing back to toString from toUtf8. To further simplify use of
 Phobos modules with the Tango runtime, Tangobos has been updated, and is
 also available as a library bundled with the DMD packages of Tango. 
Two great steps! So that means any tango code using toUtf8 will break instantly upon upgrading? Or has toUtf8 just been deprecated? --bb
Dec 21 2007
next sibling parent "Kris" <foo bar.com> writes:
"Bill Baxter" <dnewsgroup billbaxter.com> wrote ...
 Lars Ivar Igesund wrote:
 Tango made a huge leap towards Phobos compatibility in the 0.99.4 release
 when changing back to toString from toUtf8. To further simplify use of
 Phobos modules with the Tango runtime, Tangobos has been updated, and is
 also available as a library bundled with the DMD packages of Tango.
Two great steps! So that means any tango code using toUtf8 will break instantly upon upgrading? Or has toUtf8 just been deprecated? --bb
The announcement post did not note this explicitly, but the 0.99.4 release has breaking changes in it. This was likely omitted simply because we've been discussing it on IRC for so long that it's now "old news" to those who use Tango on a regular basis. Sorry about that. There's a list of all the 0.99.4 changes on the front page of the Tango site, which has been updated regularly since 0.99.3 was released. For the toUtf8() change, you can most likely do a simple mechanical change from toUtf8 => toString. At least, that's generally what people have been doing. Anyway, the upshot is that Tango now happily runs ~95% of unchanged (D1) Phobos code, via the Tangobos plugin. We made some adjustments in the 0.99.4 release in order to make this more convenient; the most significant being the adoption of toString(). Major kudos to Gregor Richards for creating and maintaining Tangobos! A note on Installation: Tangobos is nicely bundled for Win32 so that it installs cleanly over an existing bundled Tango installation. Specifically, Phobos imports are placed into import/tangobos as a sibling of import/tango, a .lib library is placed into the usual spot, and sc.ini is replaced with a pre-configured version. Please let us know about any adjustments you'd like, over at the Tango forums or the irc channels. -------------------------------------------------------------------------------- The Tangobos Win32 release is available with the other Tango release files. Here is a direct link: http://downloads.dsource.org/projects/tango/0.99.4/tangobos-0.99.4-bin-win32-dmd.1.024.zip
Dec 21 2007
prev sibling parent reply BLS <nanali nospam-wanadoo.fr> writes:
Bill Baxter schrieb:
 Lars Ivar Igesund wrote:
 Tango made a huge leap towards Phobos compatibility in the 0.99.4 release
 when changing back to toString from toUtf8. To further simplify use of
 Phobos modules with the Tango runtime, Tangobos has been updated, and is
 also available as a library bundled with the DMD packages of Tango. 
Two great steps! So that means any tango code using toUtf8 will break instantly upon upgrading? Or has toUtf8 just been deprecated? --bb
Good morning Bill, Would it make sense to merge your std2 work into Tangobos ? Bjoern
Dec 22 2007
parent reply Bill Baxter <dnewsgroup billbaxter.com> writes:
BLS wrote:
 Bill Baxter schrieb:
 Lars Ivar Igesund wrote:
 Tango made a huge leap towards Phobos compatibility in the 0.99.4 
 release
 when changing back to toString from toUtf8. To further simplify use of
 Phobos modules with the Tango runtime, Tangobos has been updated, and is
 also available as a library bundled with the DMD packages of Tango. 
Two great steps! So that means any tango code using toUtf8 will break instantly upon upgrading? Or has toUtf8 just been deprecated? --bb
Good morning Bill, Would it make sense to merge your std2 work into Tangobos ? Bjoern
I don't think it should be necessary. Because std2 only relies on plain D1 phobos, and D1 phobos is what Tangobos is supposed to replace. So I think std2 should just ride fine on top of Tangobos like any other phobos-using code. Put another way, the reason Tangobos has to exist is to paste over the low-level differences in phobos and tango. So even inside Tangobos I suspect most of the modules are practically unchanged from the original phobos source. As to whether it would be useful to have it be part of a standard Phobos/Tangobos install, I dunno. Someone using those things regularly would be in a better position to answer that. --bb
Dec 22 2007
parent Sean Kelly <sean f4.ca> writes:
Bill Baxter wrote:
 
 Put another way, the reason Tangobos has to exist is to paste over the 
 low-level differences in phobos and tango.  So even inside Tangobos I 
 suspect most of the modules are practically unchanged from the original 
 phobos source.
Yup. Nearly every module is identical to Phobos but for an import of std.compat to handle the differences in object.d. Sean
Dec 24 2007
prev sibling parent Walter Bright <newshound1 digitalmars.com> writes:
Lars Ivar Igesund wrote:
 Tango made a huge leap towards Phobos compatibility in the 0.99.4 release
 when changing back to toString from toUtf8.
Thanks for doing this change. I appreciate it.
Feb 09 2008