Tag: need
C++11 Multithreading – Part 6: Need of Event Handling
In this article we will discuss the need of Event Handling in Multi-threading. Sometimes a thread needs to wait for an event to happen like a condition to become true or a task to be completed by another thread. Advertisements For example, Suppose we are building a network based application. This application does following tasks, …
C++11 Multithreading – Part 6: Need of Event HandlingRead More
Need of Factory Method Design Pattern in Frameworks Explained
In a framework we deal mainly with abstract classes. Application that is going to use our framework provides the derived classes these abstract classes. Let’s understand by an example of Thread pooling Framework, A thread pooling framework provides the facility to execute Tasks in pooled environment by worker threads. It’s doesn’t know what actually the …
Need of Factory Method Design Pattern in Frameworks ExplainedRead More
Designing a Thread Pool Framework Part 1: What’s the need of a Thread Pool
In this we will discuss what is a Thread pool and why do we need Thread Pools. Many times you encounter a situation where where you need to perform several tasks in parallel to improve the performance of application. These Tasks can be anything like, Advertisements Encrypting a file. Calculating hash of a file. Performing …
Designing a Thread Pool Framework Part 1: What’s the need of a Thread PoolRead More
what’s placement new operator and why do we need it.
In this article we will discuss what is placement new operator and what’s its need. Need of placement new operator Every when we create a new object using new operator, memory is allocated on heap i.e. Advertisements int * ptr = new int; But there might be scenarios when we want to dynamically create an …
what’s placement new operator and why do we need it.Read More
Java Constructor Tutorial – Why do we need Constructors ?
In this article we will discuss need and usage details of constructors in Java. What is a Constructor ? Constructor is a member function of the class that is used to initialize a newly constructed object i.e. initializing the member variables of object. Advertisements It has the same name as of the class. Why do …
Java Constructor Tutorial – Why do we need Constructors ?Read More
Need of Operator Overloading in C++ ? | Tutorial and Examples
In this article we will discuss what is operator overloading in C++, why do we need it and how to overload an operator for a user defined class. What is Operator overloading ? Operator Overloading means providing multiple definition for the same operator. Advertisements For example, using + operator with two integers will add the …
Need of Operator Overloading in C++ ? | Tutorial and ExamplesRead More
Why do we need Lambda functions in Python ? | Explained with examples.
In this article we will discuss what is a lambda function in python and why they are required. Basically what are the use cases which makes use of lambda function must. What is a lambda function ? Lambda functions are also called Anonymous functions because they don’t have any name. Also they can be assigned …
Why do we need Lambda functions in Python ? | Explained with examples.Read More
What is a dictionary in python and why do we need it?
In this article, we will discuss dictionaries in python and will try to answer questions like, What is a dictionary? Why do we need it? How to create a dictionary? How to access elements in a dictionary? What is a dictionary in python? In python, a dictionary is a kind of container that stores the …
What is a dictionary in python and why do we need it?Read More
What is a List in Python and why we need it?
This article will answer questions like what a list is in Python and why we need a list data structure in Python. What is a List? The list is a sequential data structure in Python. It can contain a group of elements, which can be of the same or different data types. A basic example …
Everything you need to know about AutoGPT
AutoGPT is a self-prompting AI powered by GPT-4 that is built for online operations. Its open source architecture offers openness and enables people to comprehend its internal workings. AutoGPT’s sophisticated skills allow it to analyse a variety of data types, including financial and social media data as well as data from other sources, producing insights …