VGVivek Galatageinblog.vivekg.net路Mar 12, 2024 路 2 min read!u C++: constexpr vs constevalconstexpr C++11 introduced constexpr specifier that enables the computation of functions and variables at compile time. Functions with known inputs are evaluated, and their return values are included in the final code, reducing its size. However, pl...00
VGVivek Galatageinblog.vivekg.net路Mar 20, 2023 路 2 min readSparrow - C++ Type CheckerLet's start with a problem. #include <iostream> #include <utility> struct Person { Person(int a) : age(a) {} int age = -1; }; int main() { Person p1(40); Person p2 = std::move(p1); std::cout << "Age of Person 1: " << p1.age << " years" <<...01A
VGVivek Galatageinblog.vivekg.net路Feb 13, 2023 路 8 min readOut-of-Bounds Write: A Software Security RiskWhat is a ... Software Security Software security refers to the measures and techniques used to protect software systems from attack, exploitation, and other security threats. It protects the - Confidentiality Integrity Availability of software ...00
VGVivek Galatageinblog.vivekg.net路Dec 22, 2022 路 3 min readTerminal Tales - TextualizeThe !usual covercast covers podcast episodes from other hosts. A covercast article typically embeds the complete podcast episode and provides various takeaways. The mini-series - terminal tales - highlights a few modern terminal applications, their p...00
VGVivek Galatageinblog.vivekg.net路Dec 19, 2022 路 3 min read馃帣锔廇nnouncing... !usualI was on a treadmill on one of the chilly and pleasant mornings of winter 2022. While there, I was listening to a podcast related to science and technology. The guest on the show was discussing various advancements in new programming languages. A few...00