Hello Guys,
welcome to my personal/technical blog.I’m a french Informatics engineer and I hope you will find interesting stuffs. My main interests are C/C++, compilation, code optimization and evrything around Ethereum and crypto money.
Do not hesitate to contact me if you have precision or if you want specific subject I will be pleased to talk with you.

C code and tutorial on low level optimization

C++ Related stuff, code example and especially new C17 version

Ethereum and Cryptography

Olimex related stuff

Applications and examples for Timing library

Hi, as you've already know I've developed a small library to asset performance of code. The aim of this library is to objectively report how long a function last. It would help you choose an implementation of an algorithm for example. To illustrate that I will take...

Evaluation of std::chrono

If you have a look around in the web, a solution to correctly measure time is to use a new C++ package: std::chrono , which is part of the standard C++ library. So the aim of this article is to investigate if this solution can be used to have a very high resolution...

Std Chrono, a high resolution timer ?

#include #include #include #include #include #include #include #include #include #include #include #include namespace ch = std::chrono; const int Iter =...

Shuffle in SSE

#include #include void test(int32_t *Y, int32_t *X) { __m128i *v1 __attribute__((aligned (16))); __m128i *v2 __attribute__((aligned (16))); __m128i v3 __attribute__((aligned (16))); __m128i v4 __attribute__((aligned (16))); int32_t * rslt; int64_t * rslt64; v1 =...

Quest for the ultimate timer framework

A lot stuff on this blog talks about code optimization, and sometime very small improvement that have performance minimal impacts but in case they are called a lot of time it became difficult to ensure optimization are useful. Let's take an example. Imagine you have a...

SHA3

Preimage attack on Keccak-512 reduced to 8 rounds, requiring 2511.5 time and 2508 memory[2] Zero-sum distinguishers exist for the full 24-round Keccak-f[1600], though they cannot be used to attack the hash function itself[3] SHA-3 (Secure Hash Algorithm 3) is the...

SSE usage Tutorial

Hi all, SSE usage is a bit tricky You have to see see registers as vectorial not a linear and their size is depending of the context. For instance xmm0 (a SSE 128 bytes register)can be seen as 2*64 bits register or 4*32 bits register or 8*16  bits register or 16*8...