• Home
  • Github
  • youtube
  • wishlist
  • About
  • Contact
FJ
Software Engineering, Sport, me!

assembler

  • assembler
  • ...
    • bug
    • C++
    • compilers
    • Programming
    • Quality

Unexpected stuff!

Posted on 3 June 2016by Filip Janiszewski

Let’s have a look at this code: int main() { for(int i{0};i<500;i++) { std::cout<<“This is a big number: “<<i*20000000<<std::endl; } } And let’s compile it with g++ using the flag -O3, what’s going to happen? Before answering, let’s have a look at the assembly, shall we? L16: movsbl 39(%ebx), %eax L6: movl %esi, %ecx movl […]

Read More
No comments yet
  • assembler
  • ...
    • C++
    • compilers
    • Programming
    • Short Story

Almost useless knowledge

Posted on 17 May 2016by Filip Janiszewski

Is almost useless because nobody is going to raise yours salary for that! Or maybe someone will?!? Let’s say we ignore all the benefits of all the optimizations our benevolent compiler is going to made on our code, and have a look at what happen when we execute some hundreds of thousands of times two very […]

Read More
No comments yet

Linkedin

Recent Posts

  • Including DPDK libs into your C++ project
  • How to use the MySQL X DevAPI PHP extension
  • MySQL Document Store and the X DevAPI extension for PHP!
  • The Kdb+ database, K and Q.
  • C++17: Structure binding

Categories

  • Algorithms (17)
  • assembler (2)
  • blog (16)
  • Books (8)
  • bug (1)
  • C++ (13)
  • C++17 (6)
  • Combinatorics (6)
  • compilers (4)
  • Corporate (3)
  • corporation (1)
  • DB (2)
  • Functional Programming (1)
  • holiday (3)
  • Italiano (1)
  • me (11)
  • MySQL (2)
  • opengl (4)
  • PHP (1)
  • Programming (26)
  • Q (1)
  • Quality (5)
  • Running (4)
  • Scala (1)
  • Senza categoria (1)
  • Short Story (24)
  • Sport (6)
  • Tools (2)
  • Training (4)
  • Uncategorized (1)
Filip Janiszewski Theme by Colorlib Powered by WordPress