Articles tagged (
data
)




Multithreading using C++
Published 14 Jul 2021

Multithreading is useful for parallel execution of some tasks leads to a more efficient use of resources of the system. Built in support for multithreading was introduced in C++11

1f39776630d0d831472ba2d63a1921de.png9bd9b1d2e3393f3f82dc7ded6f920bb4.png

Multithreading support was introduced in C+11. Prior to C++11, we had to use POSIX threads or p threads library in C. While this library did the job the lack of any standard language provided feature-set caused serious portability issues. C++ 11 did away with all that and gave us std::thread. The thread classes and related functions are defined in the thread header file.

std::thread is the thread class that represents a single thread in C++. To start a thread we simply need to create a new thr...

155 views


Interactive Skip List
Published 01 Mar 2022

C++ implementation of a Skip List, with an interactive console

tbbvzdbvpcqnznt1rnec.png


A skip list is a probabilistic data structure. The skip list is used to store a sorted list of elements or data with a linked list. It allows the process of the elements or data to view efficiently. In one single step, it skips several elements of the entire list, which is why it is known as a skip list.


-INF <-----------------------------------------------------> 75.000000 <----> INF
-INF <-----------------------------------------------------> 75.000000 <----> INF
-INF <-------------------> 1...

95 views


Temperature Data Parser
Published 28 Jun 2021

Parse Temperature data for given Date and Time

656c493e455e46d7d851f7d31a48e450.png


Why parsing is needed


An important aspect of data being fit for purpose is the structure it is found in. Often, the structure itself is not suitable for the needs of the data. For example:

  • The data capture system does not have fields for each distinct piece of information with a distinct use, leading to user workarounds, such as entering many distinct pieces of information into a single free text field, or using the wrong fields for information which has no obvious place (for example, placing c...

60 views