software engineering blog by Maryna Savchenko

Project Valhalla: Codes Like a Class, Works Like an int

What is Project Valhalla? When Java applications create many objects, performance suffers significantly. Each object requires memory allocation on the heap, carries overhead from object headers, and forces the garbage collector to work harder. This becomes especially problematic in data-intensive applications where simple data structures like coordinates, colors, or mathematical values are wrapped in heavyweight objects. Project Valhalla is Oracle’s ambitious initiative to bring value types to the Java platform. It aims to provide “codes like a class, works like an int” semantics.

On Productivity

Nearly three years of constant bad news stream and realization that the world is not going to become “better”, made me reflect deeply on my personal productivity. As usual, I started by revisiting the definition of productivity itself. What does it truly mean? That’s where I found myself stuck, right from the start. Internet searches offered only vague and abstract explanations: words like quantity, quality, continuous learning, innovation, and responsibility for your work dominated the definitions.