From Java to C++ – lambdas

In Java, we have our take on functional programming with lambdas. Obviously, as functional programmers love to tell us – they’re just a mere simplifications of the ‘real’ functional languages. However, introduced in Java 8, they’ve had  really changed how we do things in Java…

Read more

From Java to C++ – Inheritance

This post will be short, however I think it could be useful for people, especially the ones coming from Java to C++. Today I want to cover inheritance, which may seem like a trivial thing, but actually it’s not. Maybe not at its core –…

Read more

GC Theory – mark&sweep algorithm

Mark&sweep was already mentioned in the previous posts. It is a cornerstone of all the marking algorithms, and is used as a backup for cyclic data structures in the ref counting. The time has come then to take a deeper look at it. Basics of…

Read more

From Java to C++ – Copy&Move semantics

In my opinion, in Java we do not care that much about object creation and then assigning them to other variables. In general, due to GC inner-workings, we’re more reluctant in this area, than C++ programmers. However, that’s not the only reason why I’ve decided…

Read more

October 2021 Monthly Summary

October has been pretty intensive. First, a shift in my goals, and then everyday work that followed. As I’m writing this at the end of the month, I still cannot believe how much I’ve done so far. Obviously there’s way more to go through. However,…

Read more

GC Theory – Reference counting explained

Reference counting is one of its kind GC algorithm. I’ve covered it briefly in the introductory post about GC theory. In this article, we’ll dive into it deeper. Let’s go! How to deal with ref-counting deficiencies? There are two main problems with ref-counting algorithms. First,…

Read more

GC Theory – Basic algorithms

In the world of garbage collection, there are three algorithms, that are the founding stone for all the other. In this article I will try to briefly introduce all of them – reference counting algorithm, mark-sweep and copying algorithm. More detailed articles about them will…

Read more

Tour of C++ review

My journey into C++ started with the author of the language himself – Bjarne Stroustrup. Unfortunately, I can’t say that our first meeting bore fruitful results. To be honest, I’ve jumped to the other sources right away after I was done reading. Why ‘Tour of…

Read more

From Java to C++ – Templates

Generic programming is everyday bread for possibly every Java programmer out there. Only the oldest Java programmers out there still remember the times, when we’re casting things all over, and lists were instantiated without explicitly telling the compiler what type of objects they hold. There…

Read more

Back to top