Writing a Profiler in 240 Lines of Pure Java

A few months back, I started writing a profiler from scratch, and the code since became the base of my profiler validation tools. The only problem with this project: I wanted to write a proper non-safepoint-biased profiler from scratch. This is a noble effort, but it requires lots C/C++/Unix programming which is finicky, and not everyone can read C/C++ code. …

Read More »

Chronicle Wire: Object Marshalling

At Chronicle, we know that efficient code doesn’t just run faster; if it’s using less compute-resource, it may also be cheaper to run. In particular, distributed cloud applications can benefit from fast, lightweight serialisation. In this article, we will demonstrate the efficiencies of using Chronicle Wire to encode small Strings into long primitives, with a few step-by-step examples of object …

Read More »

Getting Started with OpenAPI Generators: Tips & Tricks

TL;DR : In this article, I’m sharing some tips and tricks on how to get productive creating OpenAPI generators. Lately, I’ve started dabbling more and more with OpenAPI. The OpenAPI specification is a super useful way to describe the API that you’re exposing to your users, both internally and externally. Some of you may also have heard about those under …

Read More »

Ingesting Time-Series Events from Kafka into QuestDB

If you are working on a project with fast or streaming data, chances are Apache Kafka is already part of your pipeline. But if you want to analyse your data, you will need to ingest from Kafka into some destination. For time-series data, QuestDB can be an excellent choice. For those of you who are not yet familiar with QuestDB, …

Read More »

Navigating the Challenges of Modern Software Development: An Exclusive Interview with Shai Almog

Welcome to our exclusive interview with Shai Almog, an accomplished entrepreneur, author, blogger, and Java expert with over two decades of experience in the software industry. Shai has been instrumental in developing innovative tools and solutions at Codename One and Lightrun, significantly impacting how Java applications are debugged and monitored in production. In this fascinating conversation, Shai shares his journey, …

Read More »

Using Bots to Keep Dependencies Updated

Any real world Java project will likely use external dependencies. As we’ve seen over the last few years, it’s important to keep these dependencies up to date. We used to have to manually check for updates, but fortunately these days there are tools available that can help us with this. Because, let’s be honest, most developers don’t enjoy maintaining applications. …

Read More »

Foojay Podcast #17: Execute Java Code with TornadoVM on CPUs, GPUs, and FPGAs

TornadoVM is a programming and execution framework for offloading and running JVM applications on multi-core CPUs, GPUs, and FPGAs. With the same code, some of your existing program code can be executed hundreds of times faster! Juan Fumero, TornadoVM Lead Architect https://twitter.com/snatverk https://www.linkedin.com/in/juanjosefumeroalfonso/ https://mastodon.online/@snatverk Christos Kotselidis, TornadoVM Project Leader https://twitter.com/CKotselidis https://www.linkedin.com/in/kotselidis/ https://mastodon.online/@kotselidis Thanos Stratikopoulos, TornadoVM Senior Solutions Architect https://twitter.com/thanos_str https://www.linkedin.com/in/stratika/ …

Read More »

Control your Arduino with Spring

Have you ever wanted to control your Arduino board from a Raspberry Pi, or your computer, using only Java and not the Arduino language? In this article, I show how I created a web app to control my Arduino with a Raspberry PI using Spring. And so this is another article about Java on Raspberry PI or perhaps this time …

Read More »

Watch Area and Renderers

This is it. The debugging book is live. I would really appreciate reviews and feedback! I also finished recording and editing the entire course. There are 50 total videos which total in 7 hours… I also recorded additional videos for the two other free courses for beginners and for modern Java. So keep an eye on those! Renderers In today’s …

Read More »