Daniele Esposti's Blog

My personal blog.

  • Home
  • About
github
Iterators Python

Count elements in an iterator

Counting elements in a list, tuple or dictionary in Python is trivial, count the elements in a iterator is not. Because of the nature of a generator it’s not possibile to know how

1 min read
Asm C/c++ Gdb Loop unwindig

Disassembly C code for fun - Part 3: for loop

…And it’s already the third post about disassembly C code for fun. Today we disassembly a simple for..loop cycle

3 min read
Asm C/c++ Clang Gdb Hello world Instruction pointer X86-64

Disassembly C code for fun: part 2

So, in the previous post Disassembly C code for fun: part 1 I didn’t used as example the well known “Hello World!” code, but for a good reason: I need to explain some

4 min read
Assembly code C/c++ Clang Gdb Source code X86 X86-64

Disassembly C code for fun: part 1

I’m currently reading The C Programming Language by Ritchie and Kernighan to learn the C language from ground zero.

5 min read
Byte code Performances Python Type annotations

Python 3 annotations and performances

Python 3 introduced the concept of parameter and return type annotation with PEP 3107. Other interpreted languages supports type annotations for example ActionScript3 and this improved the quality of the generated byte-code and

2 min read
« Newer Posts Page 8 of 13 Older Posts »
Daniele Esposti's Blog © 2025
Proudly published with Jekyll & GitHub Pages using Jasper2
Latest Posts Twitter