Skip to content
site-logo
  • Home
  • About Page

okanakyuz

26WebsiteRSS Feed

okanakyuz 's Posts

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 registers on the CPU. To do that you have to know basic register of architectures of… Continue Reading SIMD

  • Posted on: 11 April 2020 11 April 2020
  • Author: okanakyuz
  • Categories: C++
  • Leave a comment: SIMD

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 to know processor instructions directly in ASM language. Why we are using? Writing a complete application… Continue Reading Inline Asm

  • Posted on: 11 April 2020 11 April 2020
  • Author: okanakyuz
  • Categories: C++
  • 1 Comment on Inline Asm

[[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.

  • Posted on: 3 April 2020 3 April 2020
  • Author: okanakyuz
  • Categories: C++
  • Leave a comment: [[deprecated]]

Rubbish time debug

Like many people, I prefer to use QT Creator as an IDE. I use CMake on my projects ,which are not QT applications, instead of qMake. And Using XCode seems to me irrelevant, don’t judge me. Anyways, I decided to open one of them on VSC, my favourite ide on… Continue Reading Rubbish time debug

  • Posted on: 3 April 2020 3 April 2020
  • Author: okanakyuz
  • Categories: Daily
  • Leave a comment: Rubbish time debug

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 the old way. (Why nonstatic data initialization is important) Delete unused constructors with delete keyword. If… Continue Reading To be Modern or Not

  • Posted on: 16 March 2020 16 March 2020
  • Author: okanakyuz
  • Categories: C++
  • Leave a comment: To be Modern or Not

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, it is slower than the simple mutex operation, atomic types make us sure about memory sharing.

  • Posted on: 15 March 2020 15 March 2020
  • Author: okanakyuz
  • Categories: C++
  • Leave a comment: Mutex and Atomics

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 pass an argument to the thread. You can simply use the parameter on thread method. But… Continue Reading Threat

  • Posted on: 15 March 2020 16 March 2020
  • Author: okanakyuz
  • Categories: C++
  • Leave a comment: Threat

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 C++14 or letter. you can use auto keyword to create template lambda. To change your Cmake… Continue Reading Lambda

  • Posted on: 15 March 2020 15 March 2020
  • Author: okanakyuz
  • Categories: C++
  • Leave a comment: Lambda

Boris Jhonson and Coronavirus

Here, in Great Britain, nobody knows what will happen to us. We live in the corona attack and Mr Jhonson’s careless approach. As a Turkish guy, I don’t clearly understand why these English Politicians ignore this situation. I thought Turkey isn’t part of the modern free world. But I learn… Continue Reading Boris Jhonson and Coronavirus

  • Posted on: 15 March 2020 15 March 2020
  • Author: okanakyuz
  • Categories: Daily
  • Leave a comment: Boris Jhonson and Coronavirus

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 with other type names to And of course, you may create a function that calls himself… Continue Reading Variadic Template

  • Posted on: 9 March 2020 15 March 2020
  • Author: okanakyuz
  • Categories: C++
  • 1 Comment on Variadic Template

Pagination

Page: 1 Page: 2 Page: 3 Next page

Categories

  • C++
  • Daily

Posts

  • April 2020 (4)
  • March 2020 (21)
  • February 2020 (1)

© 2023  Okan Akyuz. Proudly powered by WordPress. WordStar, Theme by Linesh Jose