Category: C++

0

SIMD

SIMD is a terminology for high performance calculation under the CPU. In this post we are going to look this shortly. Meaning Of SIMD SIMD means Single Instruction Multiple Data. Calculating data on reserved...

1

Inline Asm

In this post i wish to give the same information about inline assembly. What is Assembly? In short, Assembly is the machine language form of CPU. Each line of the command will be compiled...

0

[[deprecated]]

Deprecated is an annotation (an attribute) which come our life from C++14 to mark your function or class to mark it will be removed.

0

To be Modern or Not

C++ has great change after C++11 and it still continues. I shared some of the basic important topics before. But I wish to add a summary here ; Use nonstatic data initialization instead of...

0

Mutex and Atomics

To protect value with a simple mutex. The other way is using unique_lock but it locks threat critically New Memory model Atomic Atomic brings us a secure model to reach data on memory. However,...

0

Threat

In C++ you can provide concurrency by using threat. join method creates waiting for the main thread. But detach stop connection between the main thread and created child thread. Passing argument You can also...

0

Lambda

Lambda is a method to create a function object in C++. The basic structure is: To get the type of the lambda; You may mention that lambda is a function object. If you using...

1

Variadic Template

In C++ templates may use to declare to get several version In here you may find a way to declare a type called Param but not only one strict type. You may use it...

1

Perfect Forwarding with Template

By writing a constructor template you can cover several alternatives of the constructors. But there is also a way to call copy constructor or move constructor when you forwarding an object. In flowing code,...