you can no longer register for this event

#72 - 15.12.2021 18:00

#72 Bare metal Java

Lecturer: Jarek Pałka

Java, or JVM, has well-deserved fame as a hardware-unfriendly platform, and thus nobody sane will build database systems or solutions where “mechanical sympathy” is crucial. using Java, except Apache Kafka, Elastic, Cassandra and Neo4j ;).

Garbage collector, speculating JIT, lack of control over “object layout”, terrible support (mainly due to lack of abstraction) for functions of modern processors and operating systems.

And also JNI (who was there, I know what I’m talking about). Complex, slow, no major update since the day of release.

But things are going to change. With Project Panama and JEPs like foreign memory API. There is a promise to make things simple, fast and safe. This talk will take a look at the state of Project Panama, focusing on the foreign linker and foreign memory API, our new interface to the C world. Of course, you can expect running examples, core dumps, segfaults and other fancy things.

I will show how to call C code (from POSIX spec) from Java, and calling Java code from C. We will also discuss the topic of foreign memory as these specs are tightly coupled together.

Jarek Pałka

For more than 20 years in the IT industry, as a database administrator, programmer, architect, manager and "onsite disaster engineer". At the moment, working at Neo4j as performance engineer, enjoying the way of code, and exploring dungeons of JVM and OS, after few years as chief architect in SaaS business and teach lead in I took part in small, medium and large projects nonsense, under the principles of "Waterfall", Agile and in the absence of any methodologies, always with the same effect. What led me to the conclusion that no matter what you do, as long how you do it well, in the simplest possible way and use appropriate tools that do the work for you. In the meantime, I fell in love in the ideas of TDD and Software Craftsmanship, to the limits exploring beautiful in its simplicity ideas as REST and NoSQL, only to abandon them to explore the secrets of "systems thinking" and admire the strength that brings "metaphor" and discover that we are all objects in an eternal virtual machine. Humble follower of the church of JVM, bytecode and JIT researcher, exploring all sorts of parsers, interpreters and compilers. From time to time you can hear my low-quality jokes about architecture conferences in Poland. I am also author of a blog on and self-proclaimed dictator in the program committee at SegFault ,CoreDump, 4Developers and JDD conferences.