Boost logo

Boost :

From: David Bergman (davidb_at_[hidden])
Date: 2002-11-19 13:28:28


Yes, Python is certainly very powerful (expression-wise). I do not see a
lot of "valid" (read "not using weird pointer arithemtic thingies") C++
value graphs that are not quite directly representable in Python. I
actually believe that Python is more versatile than C++ in many aspects,
as a theoretical guy enjoying first-class objects. See my previous mail
for more information.

Boost.Python should therefore be a mandatory tool for every serious
developer ;-)


-----Original Message-----
From: boost-bounces_at_[hidden]
[mailto:boost-bounces_at_[hidden]] On Behalf Of David Abrahams
Sent: Tuesday, November 19, 2002 8:21 AM
To: Boost mailing list
Subject: Re: [boost] Serialization & XML (was Serialization Library

Matthias Troyer <troyer_at_[hidden]> writes:

> On Tuesday, November 19, 2002, at 06:22 AM, David Bergman wrote:
>> Hi,
>> This is a comment from the Java corner of the world: I have, as many
>> other developers using Java, implemented serialization of objects
>> XML. It is not that hard, although there might not exist (can anyone
>> verify this?) a standardized (more or less...) "C++ Object XML
>> There are two alternatives:
>> 1. Use an intelligible XML Application (yes, that is what the XML
>> call the specific XML languages, such as XHTML...), giving not only
>> platform independence (which I assume the serializer module already
>> achieves...) but language independence, i.e., the object or value can
>> unmarshalled, or generated, by a Python program, much in the spirit
>> the good old XDR.
> As nice as the idea is, there are C++ types that cannot be
> represented in Java. Just consider templates or multiple inheritance
> (from two or more base classes where neither can be represented as a
> Java interface)

Multiple inheritance, including diamond-inheritance is easily
represented in Python.

                       David Abrahams
   dave_at_[hidden] *
Boost support, enhancements, training, and commercial distribution
Unsubscribe & other changes:

Boost list run by bdawes at, gregod at, cpdaniel at, john at