View mode: basic / threaded / horizontal-split · Log in · Help
April 16, 2007
Re: Tango 0.97 RC1 released
Lars Ivar Igesund wrote:

> Further we would like to provide improved support for the different package
> distribution systems on Linux and other platforms, if someone would like to
> help out with creating such packaging.

I have RPMs pretty much ready to go for Tango, just polishing on the 
interaction between the -phobos-devel and -tango-devel packages...

As it stands now, you can install either of them - not both at once
(since they both supply an object.d file and a libgphobos.a library)

Will try to fix the build system so that it can build some packages.
(currently just installed on Fedora Core Development, so not for FC5)

--anders

PS. It would be GDC 0.23, for http://gdcgnu.sourceforge.net/
April 16, 2007
How To Design A Good API and Why it Matters (was Re: Tango 0.97 RC1 released)
Mandatory for class lib developers:

How To Design A Good API and Why it Matters
http://video.google.ca/videoplay?docid=-3733345136856180693

	And also:

"API first" (Jim des Rivieres): 
http://www.eclipse.org/eclipse/development/apis/API-First.pdf

"API Tutorial 2006" (Jim des Rivieres) 
http://wiki.eclipse.org/index.php/API_Tutorial_2006

	:-)

marcio
April 16, 2007
Re: Tango 0.97 RC1 released
Gregor Richards wrote:
> Jeff wrote:
>> While I'm at it, I'll mention a pipe dream of mine, too: programs that 
>> use both? If the libraries were adequately segmented, this could be 
>> possible, no? :)
> 
> I've created a compatibility layer, tangobos. It's mainly intended for 
> porting (since porting incrementally is infinitely easier than porting 
> in one blow), but I think it could also be useful for using Phobos 
> libraries which you don't control in a Tango app, since it would be a 
> bit silly to maintain a fork of an active app just because it doesn't 
> use the right core library.
> 
> It's a bit controversial though :P

I think Tangobos is an excellent idea. Tango appears to be a powerful 
library, but I'm already used to Phobos. So it'd be nice to still be 
able to fall back on some Phobos functions as I try to learn more about 
Tango.

For example, I was trying to write a simple example using Tango, and I 
quickly discovered that I was having a hard time figuring out how to do 
anything. It's not than I think that Tango is inferior in any way to 
Phobos, it's just that I've become accustomed to the "Phobos way". If I 
want to replace one set of characters with another set of characters, I 
knew that all I have to do is use the replace function in std.string. 
When I tried to do a similar operation with Tango, I felt and 
embarrassed at my ineptitude (I suspect it's a simple matter of using a 
String object and using the right member function, but I couldn't get 
anything to work).

I had similar problems when I was first trying to learn how Phobos works 
(along with the additional problems of being new to D and D being such a 
young language). For some reason, I thought those days were behind me, 
but I forgot that every library is going to have it's own style. And 
learning the style can take some time and effort.


> Tangobos doesn't have a home page yet, but stay tuned.

I'll be waiting.


>  - Gregor Richards
> 
> PS: Yes, I love Tango, and am indeed a Tango team member, I'm just also 
> a realist.

-- 
jcc7
April 17, 2007
Re: Tango 0.97 RC1 released
Justin C Calvarese wrote:
> 
> For example, I was trying to write a simple example using Tango, and I
> quickly discovered that I was having a hard time figuring out how to do
> anything. It's not than I think that Tango is inferior in any way to
> Phobos, it's just that I've become accustomed to the "Phobos way". If I
> want to replace one set of characters with another set of characters, I
> knew that all I have to do is use the replace function in std.string.
> When I tried to do a similar operation with Tango, I felt and
> embarrassed at my ineptitude (I suspect it's a simple matter of using a
> String object and using the right member function, but I couldn't get
> anything to work).

No reason to feel embarrassed, Tango _is_ different from Phobos. Tango
having a String class don't mean that there aren't any free functions to do
string handling though. Maybe

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

can lead you in the right direction?

-- 
Lars Ivar Igesund
blog at http://larsivi.net
DSource, #d.tango & #D: larsivi
Dancing the Tango
April 17, 2007
Re: Tango 0.97 RC1 released
== Quote from Lars Ivar Igesund (larsivar@igesund.net)'s article
> No reason to feel embarrassed, Tango _is_ different from Phobos. Tango
> having a String class don't mean that there aren't any free functions
> to do string handling though. Maybe
> http://www.dsource.org/projects/tango/wiki/TextReplaceExample
> can lead you in the right direction?

Thanks. That looks like exactly what I needed.

jcc7
April 19, 2007
Re: Tango 0.97 RC1 released
Lars Ivar Igesund wrote:

> DigitalMars has graciously given the Tango team permission to redistribute
> DMD. This release sees the first packages of these bundles. Executable
> installers are now also available on Linux, for both DMD and GDC. Please
> report back on your experiences. Some downloads (GDC mainly) may take up
> to a day before they are up.

Thanks to Anders Bergh, we now have a Arch Linux repository set up for use
with Pacman. It lets you install, and later upgrade DMD and Tango via
Pacman.

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

If you want to help us with your distribution or have other ideas, see the
page below.

Community downloads:
http://www.dsource.org/projects/tango/wiki/CommunityDownloads
Next ›   Last »
1 2
Top | Discussion index | About this forum | D home