Skip to content

Enough java.lang.String to Hang Ourselves & From Iterator to Spliterator

Photo of Vladimir Dejanović
Hosted By
Vladimir D. and Ramon W.
Enough java.lang.String to Hang Ourselves & From Iterator to Spliterator

Details

Agenda
06:00 PM – Socializing with food and drinks (sponsored by IMC)
06:55 PM – Intro
07:00 PM – Enough java.lang.String to Hang Ourselves... by Heinz Kabutz
07:45 PM – Break
08:00 PM – From Iterator to Spliterator by William Bakker
08:45 PM – Closing drinks
09:45 PM – The end

About the talks

Talk 1: Enough java.lang.String to Hang Ourselves ...

Abstract: Is it better to write "" + 42 or Integer.toString(42)? How much memory can you save if you intern() all of your strings? How can String Deduplication reduce your memory footprint and what does it cost? And how much memory will Java 9 Strings save in Estonian? What is the maximum length of a constant String? And a dynamic String? How much faster is new StringBuilder().append("Hello ").append(name).toString() than "Hello " + name? What are intrinsics and how do they relate to Strings? Are Strings really immutable? How can you efficiently create substrings? These and many more questions we will answer during this talk.

Speaker: Heinz Kabutz is the author of The Java Specialists’Newsletter (https://www.javaspecialists.eu), a publication enjoyed by tens of thousands of Java experts in over 145 countries. His book “Dynamic Proxies (in German)” was #1 Bestseller on Amazon.de in Fachbücher für Informatik for about five minutes until Amazon fixed their algorithm. Thanks to a supportive mother, he has now sold 5 copies. Heinz’s Java Specialists’ newsletter is filled with amusing anecdotes of life on the Island of Crete. He is a popular speaker at all the best Java conferences around the world, and also at some of the worst. He teaches Java courses in classrooms around the world, where his prime objective is to make absolutely sure that none of his students fall asleep.

Talk 2: From Iterator to Spliterator

Abstract: Good chance that you have worked with the Java Streams API. It is quite easy to consume Stream objects. What if you want to produce your own Stream? What is a "Spliterator"? Is List.stream().map().collect(toList()) an antipattern? What about concurrency? How can you transform your service and your API's using Stream? We will give an example how we transformed an application and significantly reduced memory pressure.

Speaker: William Bakker is a Software Engineer and Team Lead that has been with IMC for more than 11 years. No books behind his name as of yet, but definitely a passionate Java enthusiast that loves to share his knowledge and experience

Photo of Amsterdam Java User Group group
Amsterdam Java User Group
See more events
IMC Trading B.V.
Amstelveenseweg 500 · Amsterdam, NH