Open in app

Sign In

Write

Sign In

Debby Nirwan
Debby Nirwan

861 Followers

Home

About

Jun 24

How is C++ Map implemented?

Understand the underlying data structure of the map and compare it to a hash table. Overview In a previous post, I explained how hash table — std::unordered_map is implemented in C++. …

Cpp

6 min read

How is C++ Map implemented?
How is C++ Map implemented?
Cpp

6 min read


May 6

C++ Hash Table Performance

Understand behaviors of hash tables in C++ so we can use them more correctly. People often talk about how one type of data structure is better than another, such as hash tables. It has operations such as insert, retrieve and delete which have O(1) time complexity and O(n) space complexity…

Hash Table

6 min read

C++ Hash Table Performance
C++ Hash Table Performance
Hash Table

6 min read


May 1

How to Implement Hash Tables in C++

Get a deeper understanding of how hash tables work under the hood by implementing them in C++. Introduction One of the most important data structures that is widely used is the Hash Table. All major programming languages come with hash table implementations that we can work with. Usually, we don’t need…

Hash Table

7 min read

How to Implement Hash Tables in C++
How to Implement Hash Tables in C++
Hash Table

7 min read


Published in

Better Programming

·Mar 10

Pac-Man AI CPP — A Software Framework

A software framework to learn and test AI algorithms — In my old articles, I talked about various AI Planning algorithms, such as search algorithms, Refinement Acting Engines, Hierarchical FSMs, and Behavior Trees. The articles use the Pac-Man game framework to implement the algorithm. Some of those articles are linked below: Plan-Space Search Designing AI Agents’ Behaviors with Behavior Trees …

Automated Planning

4 min read

Pac-Man AI CPP — A Software Framework
Pac-Man AI CPP — A Software Framework
Automated Planning

4 min read


Published in

Better Programming

·Mar 8, 2022

C++ constexpr: What It Really Is?

Avoid beginner’s mistakes by understanding what is constexpr and how it differs from const in C++ — Overview The constexpr specifier was introduced in C++11, for beginners it is confusing because it is similar to the const qualifier. constexpr stands for constant expression and is used to specify that a variable or function can be used in a constant expression, an expression that can be evaluated at compile…

Programming

5 min read

C++ constexpr: What It Really Is?
C++ constexpr: What It Really Is?
Programming

5 min read


Published in

Better Programming

·Feb 22, 2022

Understanding All the Details of C++ Const

It is very important to understand the details of const qualifiers to help improve the quality of your code and the efficiency of your coding — C++ const The C++ const qualifier is one of the first things you learn about C++. You usually start by understanding that we should use const for constants. …

Programming

7 min read

Understanding All the Details of C++ Const
Understanding All the Details of C++ Const
Programming

7 min read


Published in

Better Programming

·Jan 13, 2022

When Should We Use Static Local Variables in C++?

Understanding what actually happens when we use static local variables and when we should use them — C++ Storage Duration One of the basics we often miss when learning C++ is understanding the details of storage duration. The storage duration of an object determines its lifetime. It also determines in which segment of memory the object will be stored, whether it be on the stack, heap, or data. There are…

Programming

5 min read

When Should We Use Static Local Variables in C++?
When Should We Use Static Local Variables in C++?
Programming

5 min read


Published in

Better Programming

·Jan 4, 2022

Writing Common Functionality With CRTP Idiom in C++

Curiously recurring template patterns can help us write common functionality by combining templates and inheritance — What is the CRTP Idiom? CRTP stands for Curiously Recurring Template Patterns, a name coined by James O. Coplien in his 1995 paper. It is about specializing base classes using derived classes as template arguments. It looks like the following: This is a very common example that we can find on the internet when…

Programming

6 min read

Writing Common Functionality With CRTP Idiom in C++
Writing Common Functionality With CRTP Idiom in C++
Programming

6 min read


Published in

Better Programming

·Dec 14, 2021

C++ Framework for More Expressive Inter-Process Message Passing

Writing Inter-Process Message Passing Framework to improve the expressiveness of our code and make our code more elegant. — Inter-Process Communication Processes — a recap We often read online that a process is a program in execution, but wait a minute, what exactly does that really mean? For some, it might not be very clear what that means. Wikipedia provides a hopefully clearer definition: A process is the instance of a computer program that is…

Programming

9 min read

C++ Framework for Inter-Process Message Passing
C++ Framework for Inter-Process Message Passing
Programming

9 min read


Dec 11, 2021

Ways to Stay Sane during Quarantine in a Hotel Room

Fighting boredom in a hotel room. Travel Restrictions Still Everywhere Travel is still restricted worldwide. Many countries have changed their regulations to use multiple tests instead of asking visitors to stay in hotel rooms, but not all. Some countries still require people to be quarantined in hotel rooms. For short quarantine like 2N3D, that’s…

Traveling

4 min read

Ways to Stay Sane during Quarantine in a Hotel Room
Ways to Stay Sane during Quarantine in a Hotel Room
Traveling

4 min read

Debby Nirwan

Debby Nirwan

861 Followers

Software Engineering Manager who loves reading, writing, and coding.

Following
  • Personal Growth

    Personal Growth

  • Medium

    Medium

  • Talin

    Talin

  • Katie Wilde

    Katie Wilde

  • Vaidehi Joshi

    Vaidehi Joshi

See all (16)

Help

Status

Writers

Blog

Careers

Privacy

Terms

About

Text to speech

Teams