Derek Parnell Joined: 04/22/04 Posts: 1 Posted: 07/21/07 00:50:33 Is it possible to use both Phobos routines and Tango routines in the same program? Or must one choose one of them exclusively? -- Derek skype name: derek.j.parnell
Is it possible to use both Phobos routines and Tango routines in the same program? Or must one choose one of them exclusively?
-- Derek skype name: derek.j.parnell
Author Message sean Joined: 06/24/04 Posts: 109 Posted: 07/21/07 02:02:09 The easiest way is to run Phobos.std on top of the Tango core. Gregor has created a project for this purpose called 'tangobos' here: http://dsource.org/projects/tangobos I've never actually used it so I can't comment on it directly, but if strict compatibility were to be an issue it would be with std.thread or with the header packages: std.c, etc. Tango includes a 'PhobosCompatibility?' version to help, and this is how tangobos supports Object.toString and the like.
The easiest way is to run Phobos.std on top of the Tango core. Gregor has created a project for this purpose called 'tangobos' here: http://dsource.org/projects/tangobos I've never actually used it so I can't comment on it directly, but if strict compatibility were to be an issue it would be with std.thread or with the header packages: std.c, etc. Tango includes a 'PhobosCompatibility?' version to help, and this is how tangobos supports Object.toString and the like.