Software Bits Newsletter

Home
Archive
About

Sitemap - 2022 - Software Bits Newsletter

Be careful with defaults.

Beating 100% C++ submissions in Leetcode.

Reading input faster in Python.

Test data generation in Python.

Accessing globals in Python.

Don't let expiring values go to waste.

out ref vs return by value.

Python merge | operator.

Sorting strings vs indices.

const vs std::move

Array designators.

Faster bool to_string

std::optional<std::string> or std::string?

vec macro in C++?

[[no_unique_address]]

Effectless but expensive.

Dangerous Elvis operator.

Faster Fibonacci

Performance Summit 2022

Faster toupper implementation.

Speeding up Julia's searchsortedfirst.

Generating random integers in Python.

sprintf vs std::to_chars.

Virtual functions strike again.

Transparent comparators.

Dependent types.

Don't trust your intuition.

Yet another broken zero cost abstraction promise.

In-place optional initialization.

Embrace compile time evaluation.

Safe static local variables without guards.

Copying small values.

Use std::function not.

Don't trust default move constructors.

Be careful with const.

Tricky optimizer heuristics.

Final override

Function or functor for std::sort?

Dynamic compile time evaluation.

Construct std::vector with initializer_list not.

std::move to avoid garbage.

C++ iterators FTW!

Subnormal values.

std::optional or sentinel?

Faster std::pow.

std::unique_ptr size.

Compile-time hash computation.

Comparing double with 0.

Compile time precomputation.

Memory efficient Python list creation.

Comparing with 0 or 1?

Casting in Python?

reinterpret_cast

© 2025 Taras Tsugrii
Privacy ∙ Terms ∙ Collection notice
Start writingGet the app
Substack is the home for great culture

Share