String deduplication in Java

It’s not a secret that String objects in Java consume a lot of memory (just a reminder that each character eats two bytes, yay!). We use strings everywhere, which is kind of natural, sometimes (and often) there are also duplicate strings all over the application. In java several distinct instances of identical strings will be created. This is not ideal and definitely not what we want.

Written on November 7, 2016
Read More

Working full time while studying

I started school when I was 6 years old, in 1996. I saw the very first computer in my life in 2002. I’ve managed to buy myself my own Pentium 3 in 2004, at the age of 14. In fact, I was one of the luckies back then in Armenia who had a personal computer. The internet connection with 100MB monthly limit gave me a chance to know about the amazing world of computer science, in fact that was the time I decided to become a programmer.

Written on October 16, 2016
Read More

The Java Shell

JDK9 is on its way. Meanwhile, the early access version is available for playing around and experimenting.

Written on October 9, 2016
Read More

Never accept a counter-offer

I guess we all have experienced a job change at least once. There might be different reasons to change the job; new opportunities, better salary, problems with coworkers and so on. I call it a trigger of a change. When it triggers, it’s hard to stop and there are two possible scenarios afterwards

Written on October 2, 2016
Read More