web developer & system programmer

coder . cl

ramblings and thoughts on programming...


comparing pyxser & .net serialization

published: 17-08-2010 / updated: 17-08-2010
posted in: development, programming, projects, python, pyxser
by Daniel Molina Wegener

Did you know about the InvalidOperationException on the System namespace on .NET?. Specifically, what happens on .NET serializations with cross referenced or circular referenced objects in .NET?. Object Oriented programming is complex, and objects can hold complex structures, including those kind of object references, but in .NET you have prohibited to use that kind of object references, cross and circular ones, if you want to serialize an object. Instead of prohibition, pyxser — my Python-Object to XML serializer — allows you to create that kind of references, preserving its original reference across the serialization and deserialization process.

pyxser profiling

published: 07-08-2010 / updated: 07-08-2010
posted in: c, programming, projects, python, pyxser
by Daniel Molina Wegener

Today I was enhancing pyxser, and I’ve reduced some memory usage and enhanced its performance. I’ve reduced some functions to use less instructions and gained a little bit of better performance. But seems that still is using a large amount of dictionaries. or leaving them in memory until the test is finished. Also, I’ve modified the profiling script, to run 1000 times each function. The enhancements looks promising…

[ann] pyxser-1.4.6r released

published: 03-08-2010 / updated: 03-08-2010
posted in: c, programming, projects, python, pyxser
by Daniel Molina Wegener

pyxser is a Python extension which holds functions to serialize and deserialize Python objects into XML. It’s one of my FOSS projects. Some characteristics of of this serializer are the fact that it can serialize objects with circular references and cross referenced objects — try to serialize an object with circular references in .NET. Other facts is that it uses an O(n) algorithm, with n equal to the number of objects and not their references in the object tree. Today I’ve released pyxser-1.4.6r, let me show what I’ve done…

[ANN] pyxser-1.4.4r was released

published: 20-06-2010 / updated: 20-06-2010
posted in: c, programming, projects, python, pyxser
by Daniel Molina Wegener

Hello, today I’ve released pyxser-1.4.4r, the publishing message is as follows:


Hello Python Community.

I’m pleased to announce pyxser-1.4.4r, a python extension which contains functions to serialize and deserialize Python Objects into XML. It is a model based serializer. Here is the ChangeLog entry for this release:

my contribution to free/open source software

published: 01-04-2010 / updated: 01-04-2010
posted in: c, caffeine, development, programming, projects, python, pyxser
by Daniel Molina Wegener

I’ve worked on FOSS for years. Currently I have two active projects pyxser and caffeine. Both of them requires a great effort to being completed. Take an overview on their development:

[ann] pyxser-1.4.2r available

published: 10-02-2010 / updated: 10-02-2010
posted in: development, programming, projects, python, pyxser
by Daniel Molina Wegener

Dear pyxser users, I’m pleased to announce that I’ve released pyxser-1.4.2r. The current ChangeLog for this release is as follows:

1.4.2r (2010.02.10):

        Daniel Molina Wegener <dmw at coder dot cl>
        * pyxser_collections.c: Added constraint checks for NULL
        pointers removing nested statements.
        * pyxser.c: Removed nested statements.
        * pyxser_tools.c: Added constratints checks for NULL pointers,
        removed nested statements and added strict checking for lists
        since it was crashing with an ambigous list definition that
        can not be handled by PyList_Check().
        * test-utf8.py: Added tests to determine if it continue
        crashing with module serialization.

        Thanks to pyxser users for their feedback.

[ann] pyxser-1.4r is available

published: 26-12-2009 / updated: 26-12-2009
posted in: programming, projects, python, pyxser
by Daniel Molina Wegener

As you have seen in my last post, I’ve been working on some strong changes on pyxser. Today I’ve released pyxser-1.4r and the announcement message: