Muhammad Awais Khalidmawaiskhalid.hashnode.dev·Feb 14, 2024Transmitting packets from NIC in DPDK - For BeginnersIntroduction In the last article, I have explained about a basic DPDK application which reads the packets from NIC interface. In this article we will learn about packet transmission from NIC interface. If you are passionate about fast packet processi...Discuss·30 readscplusplus
Muhammad Awais Khalidmawaiskhalid.hashnode.dev·Jan 31, 2024Writing a first DPDK application (Part 1) - For BeginnersIn the previous article, I have provided an introduction to DPDK for beginners. It was just a birds eye view of DPDK. In this article, I will provide an in depth knowledge of a DPDK application. If you interested in writing your first DPDK applicatio...Discuss·96 readsHigh Performance Computing
Shantanu Dubeyshantanudubey.hashnode.dev·Dec 17, 2023Towards Modern C++: Compile Time ProgrammingIn the realm of C++, Compile Time Programming is a potent domain where the language's evolution has brought forth formidable tools. This article delves into several powerful aspects that elevate programming capabilities at the compilation stage. Vari...Discuss·28 readsTowards Modern C++cplusplus
Shantanu Dubeyshantanudubey.hashnode.dev·Dec 12, 2023Towards Modern C++: Constructors, Default and DeleteDelegating Constructors In the below class, the private data members are not initialized via constructors. So we can expect random values for these variables. class oven{ private: double temperature; bool isDoorOpen; bool ...DiscussTowards Modern C++cplusplus
Mayowa Obisesanmayowaobisesan.hashnode.dev·Dec 12, 2023C++ LinkerC++ is a compiled language, which means a compiler has to take your written C++ code and convert it to binary code that the computer can actually understand. There are two stages to compilation of code in C++: Compiling from source code to object fi...DiscussC++
Shantanu Dubeyshantanudubey.hashnode.dev·Dec 8, 2023Towards Modern C++: Automatic Type DeductionThe auto keyword was available in C and early C++, and was mostly described as a storage class type. In modern C++11, the auto keyword is re-cycled to be used for automatic type deduction. 1) Automatic Type Deduction from a function’s return type:...DiscussTowards Modern C++Programming Blogs
Shantanu Dubeyshantanudubey.hashnode.dev·Dec 7, 2023Towards Modern C++: EnumsEnumerated types (enums) have a short-range integer value that can be used for declaring specific values. C++ inherits the enum from C. The classic C++03 version though have a few problems when it comes to using enums in a program. First, The enums c...DiscussTowards Modern C++cplusplus
Shantanu Dubeyshantanudubey.hashnode.dev·Dec 6, 2023Towards Modern C++: Declaration and Initialization2.1) Universal Declaration Modern C++ allows usage of braces to initialize almost anything in C++. vector<int> vec{1,2,3,4,5}; string s{“Hello World!”}; string _str{‘H’, ‘E’, ‘L’, ‘L’, ‘O’ }; int x{9}; Advantages of Universal Declaration Narrowing ...DiscussTowards Modern C++cplusplus
Shantanu Dubeyshantanudubey.hashnode.dev·Dec 6, 2023Towards Modern C++: Types and Literals1.1) Data Types Typical data types used in C++ are – char, int, float, and long. Their respective sizes can be as follows: sizeof(char) – 8 bits sizeof(int) – 16 bits (at least) sizeof(long) – 32 bits (at least) sizeof(long long) – 64 bits (at le...DiscussTowards Modern C++cplusplus
Priyanshu Yadavpriyanshublogs.hashnode.dev·Jul 26, 2023Unveiling C++ Mysteries: The Intriguing World of Octal ConstantsIntroduction Welcome to another exciting edition of the HasNode blog! Today, we embark on a journey into the mesmerizing world of C++ and uncover a peculiar behavior that left us astonished during a coding session. While exploring the intricacies of ...Discuss·1 like·27 readscplusplus