Monday, May 23, 2011

Codespeed 0.8 - To be released

Hi, all.

Version 0.8 of Codespeed is to be released [0]. This release brings some new stuff: support for git and github (by acdha) and the branch comparison (by me).

The most visible feature related to branch is on the Comparison view. It now combines project, executable, revision and branch to compare and the generated plots are still easy to understand, but now, one graphic is generated for each benchmark.
The Timeline view only shows results for the trunk branches (for now). We're still not using the branch features on this view because we got some problems with multi-project stuff. We may have a nice advance after my GSoC project.

So, what's missing to release?
Well, from the branch features, tobami needs to merge my fork code [1] with the main branch [2].

0: https://github.com/tobami/codespeed/wiki/Releases
1: https://github.com/daniloaf/codespeed
2: https://github.com/tobami/codespeed

Sunday, August 2, 2009

Progress

A list of what we have implemented:
-Declaring C++ classes and methods from extern
-Instanciating and deleting C++ objects
-C++ methods overloading (still with some problems with function overloading...)
-Operators overloading (not all them, but it's a really simple work)
-Declaring template types (C++ classes and functions)

Next step is to allow using template types.

Thursday, July 2, 2009

new and del operators working!

Now we can instanciate C++ objects dynamically on Cython.
thins like
cdef Foo *aFoo = new Foo()
del aFoo
are allowed.
We're using Python Syntax for it, so, we define the contructor with "__init__" special method.
Now, the next step is to work with function overloading. We already have the logic to implement it. So, what I need now is to work :).
But, before it, I shall write some tests and some documentation, and my branch of GSoC will be merged to the main branch of Cython, and so, let users do what is needed.

Wednesday, July 1, 2009

Some questions about syntax

We are deciding what syntax to use on operators overloading and constructor.
We have C++ and Python syntax, and we have big differences between them.
A thread was created on cython-dev list for voting and commenting the choose of the syntax.
On C++ syntax, the constructor is a method with no return type (it's not void!) and the operators are methods with the keyword "operator" followed by the operator to overload (e. g. "bool operator==(int value);").
On Python, we have the special method __init__ for constructor and other special methods for the operators (__add__, __str__, etc.)

For more information, take a look at the wiki of the project:
http://wiki.cython.org/gsoc09/daniloaf/progress

Tuesday, June 23, 2009

new and delete operators

last week we begun with the work to support the 'new' and 'delete' operators.
A new node was created (NewStatNode) and a function in the parser to call it (p_new_statement).
I hope everything continue with no problems.

The midterm evaluations is coming. I hope everything be on time until there. :)

Monday, June 15, 2009

Progress

Some features were already implemented on Cython.
Until now, we already have:
- C++ class declaration
- C++ class attributes declaration
- Multiple inheritance
- Declaration of inherited attributes
- Use of namespace
The next step now is allowing attribution of inherited objects.

Tuesday, June 9, 2009

Internet problems :(

Since Friday, May 29, I'm without internet at home. I'm using internet on university these days. I hope it come back soon.
It's a really bad I have this problem right now. It's obviously not helping on nothing.