web developer & system programmer

coder . cl

ramblings and rants on software development...


Print Article R -a +A

pyxser profiling

by Daniel Molina Wegener on 2010.08.07
posted in: c, programming, projects, python, pyxser

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

by Daniel Molina Wegener on 2010.08.03
posted in: c, programming, projects, python, pyxser

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…

mozilla extensions with xpcom

by Daniel Molina Wegener on 2010.07.31
posted in: c, c++, programming, projects, tips

The XPCOM API can allow you to create low level extensions — I mean written in C++, with support for C and assembler through C++ — and plug ins for Mozilla products. For example, you can create an extension to browse IMAP folders from Mozilla Firefox. This API is analogous to the COM+ API on Micro$oft Windows. One of my most recent projects, is a Firefox extension to handle SNMP protocol requests from JavaScript, so my extension is applied from the JavaScript within the HTML in the browser, allowing Firefox to act as an SNMP client. The extension is working fine, without memory leaks and allows you to do get and walk request. Possibly it will be expanded to more requests on the future.

[ANN] pyxser-1.4.4r was released

by Daniel Molina Wegener on 2010.06.20
posted in: c, programming, projects, python, pyxser

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

by Daniel Molina Wegener on 2010.04.01
posted in: c, caffeine, development, programming, projects, python, pyxser

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: