Tag Archives: java

Les Développeurs et les Performances Java

Début 2014, Eric Lefevre-Ardant m’a invité à enregistrer une interview sur son podcast “Une Tasse de Thé”. À cette époque-là, les performances Java étaient mon sujet de prédilection et nous avons donc échangé sur ce thème. Hélas, ce podcast n’est … Continue reading

Posted in Uncategorized | Tagged , , , , , | Leave a comment

Java Performance: what developers must know

I have observed that developers (myself included) tend to focus more on the make it work and make it right stages of building software, and less on the make it fast part. The consequence? Sometimes our applications behave very badly … Continue reading

Posted in Java | Tagged , | 2 Comments

Java: Inner Classes

Since Java 1.1, when inner classes were first introduced, they have started a lot of discussion. Some people like them and find them useful. Others hate them. Viewpoints apart, the fact is that inner classes can be efficient in many situations … Continue reading

Posted in Java | Tagged , | 1 Comment

Java: Generic Types

Before Java 5, it was not possible to tell to a collection (like a List, a Map or a Set) only to accept objects of a specific type. At that moment, collections could hold anything that was not a primitive type (which are … Continue reading

Posted in Java | Tagged , | Leave a comment

Java: Operators

As in mathematics, operators in Java are used to produce new values from operands. Choosing the right operator on the right time will help you to write clear code in a fast way. Following a quick review of Java operators. Examples … Continue reading

Posted in Java | Tagged , | Leave a comment

Java: Garbage Collector

Garbage collection is one of the big advantages of Java. Many languages like C and C++ do not offer an automatic mechanism to perform memory management. Manually releasing every object which is not used anymore could become a fastidious and really difficult … Continue reading

Posted in Java | Tagged , | Leave a comment

Java: Passing Variables into Methods

Java use pass-by-value semantics, instead of pass-by-reference, when passing variables to methods. This means that Java copies the variable values used by the caller to pass them to the method. If the variable has a primitive type, the value of the … Continue reading

Posted in Java | Tagged , , , | Leave a comment