Skip to content

Max's Blog

  • Home
  • About
Max's Blog

Category: Programming

August 27, 2020 max-sperling

Q&A – Programming (C++)

When do I need the headers for lib files? You need them during compilation if you build against libraries. You

Continue reading
July 31, 2020 max-sperling

Position of const (C++)

“West-Const vs. East-Const” West-Const (The common one) int * num = new int(42); // Mutable ptr to a mutable int

Continue reading
July 24, 2020 max-sperling

std::recursive_mutex (C++)

The std::mutex is a non-recursive mutex and therefore can’t be locked again from the same thread before getting unlocked. This

Continue reading
June 15, 2020 max-sperling

Main thread vs. Worker thread(s)

1. Main thread – Gets created during startup – It’s possibly the only thread – Normally sets up the app/program

Continue reading
June 11, 2020 max-sperling

Does Java have pointers?

Most guys would say “No, but C++ has pointers” and they are right, but not in the way they assume

Continue reading
May 8, 2020 max-sperling

Move semantics (C++)

Since C++11 we can now use move semantics (move constructor, move assignment operator). They provide a perfomance boost over copy

Continue reading
February 25, 2020 max-sperling

Parameter handling (REST)

Path-Param … Gets specified in the URL-Path to move down the hierarchy. Query-Param … Gets specified behind the URL-Path to

Continue reading
January 31, 2020 max-sperling

Integer overflow (C++)

Unsigned integer Range: [0,255] Binary: 00000000 =++=> 00000001 =++=> … =++=> 11111111 Hex: 0x00 =++=> 0x01 =++=> … =++=> 0xFF

Continue reading
January 23, 2020 max-sperling

Layout of std::vector (libstdc++)

Source code Analysis Layout |——————————–| | vector vec | | 1 | 2 | 3 | 4 | 5 |

Continue reading
January 14, 2019 max-sperling

Bit operations (C++)

Set a bit value |= 1

Continue reading

Posts navigation

«Previous Posts 1 … 3 4 5 6 7 Next Posts»

Categories

  • Other (19)
    • Games (13)
    • Nutrition (4)
    • Traveling (2)
  • Science (17)
    • Chemistry (3)
    • Linguistics (2)
    • Math (10)
    • Physics (2)
  • Sport (73)
    • Climbing (5)
    • Diving (20)
    • Fitness (8)
    • Martial arts (34)
      • Ground fighting (9)
      • Mixed martial arts (4)
      • Stand-up fighting (12)
    • Running (1)
    • Surfing (2)
    • Swimming (1)
    • Volleyball (2)
  • Technology (288)
    • Computer (258)
      • Architecture & Design (15)
      • Artificial intelligence (3)
      • Audio & Video (11)
      • Building & Reversing (15)
        • CMake (2)
      • Computational complexity (3)
      • Computer architecture (4)
      • Debugging & Memory (29)
      • Development (72)
        • CI/CD (1)
        • Programming (61)
          • Concurrency (12)
          • Data structures (13)
          • Pointers & References (7)
        • Scripting (4)
        • Testing (6)
      • Development process (5)
      • Hacking & Security (17)
      • Hardware & Protocols (8)
      • Networking (11)
      • Operating system (21)
        • Linux (12)
        • Windows (8)
      • Regular expression (2)
      • Tool configuration (5)
      • Version control (22)
      • Virtualization (7)
      • Web (29)
    • Electrics (9)
    • Mechanics (15)
    • Medicine (2)
    • Photography (4)
WordPress Theme: Wellington by ThemeZee.