Compiler Architecture refinements for eddic

EDDI Compiler General Architecture

The next version of eddic will see an improved compiler architecture. There are two new main changes in this version:A better separation between the front end and the back end A new intermediate representation to improve and ease code … [Read more...]

C++11 Concurrency Tutorial – Advanced locking and condition variables

In the previous article, we saw how to use mutexes to fix concurrency problems. In this post, we will continue to work on mutexes with more advanced techniques. We will also study another concurrency technique: condition variables. Recursive … [Read more...]

C++11 Concurrency Tutorial – Part 2 : Protect shared data

C++ Logo

In the previous article, we saw how to start threads to execute some code in parallel. All the code executed in the threads were independant. In the general case, you often use shared objects between the threads. And when you do it, you will face … [Read more...]

EDDIC 0.9.1 – Enhanced floating point support

eddic Logo

I just released the version 0.9.1 of the EDDI Compiler (eddic).This release is a minor one, there are no huge changes to the language nor in the compiler itself. But that version was necessary before the 1.0 version.The floating point … [Read more...]

C++11 Concurrency – Part 1 : Start Threads

C++ Logo

C++11 introduced a new thread library. This library includes utilities for starting and managing threads. It also contains utilities for synchronization like mutexes and other locks, atomic variables and other utilities. In this serie of posts, I … [Read more...]

EDDIC 0.9 – Floating point support

eddic Logo

I just finished working on the 0.9 version of the EDDIC Compiler.The language does now support floating point variables. Here is an example of what can be done in EDDI now:For now, there is no interoperability between integers and floating, … [Read more...]

EDDIC 0.8.1 : do while loop and better optimization

eddic Logo

Only three days after the 0.8 version, I finished the 0.8.1 version.It's a minor version, so there is no big changes to the language. However, I added support for the do while loop in the source code.Another change is that assignment is now … [Read more...]

EDDIC 0.8 : 64bit generation

eddic Logo

I just released the version 0.8.The main change of this version is the addition of a 64bit generation. If you compiles eddic in 64bit, the default output of the compiler will be 64 bit, otherwise it will be 32 bit. You can also select the output … [Read more...]

EDDIC 0.7.1 : Boolean conditions and new operators

I just finished working on the 0.7.1 version of eddic.Even it it's a minor version, there are several new features in the language itself.First of all, the boolean conditions have been greatly improved. You can now use && (short … [Read more...]

Use Boost enable_if to handle ambiguous function overload return types

Boost Logo

The title is not really clear but I didn't found a better one. The example will be clearer (I hope). In EDDI, I had this little function :For the record, this function is only invoking a specific operator of a visitor. The problem was that I … [Read more...]