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 Uncategorized | 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. Point of views apart, the fact is that inner classes can be helpful in … Continue reading

Posted in Uncategorized | Tagged , | 1 Comment

Java: Generic Types

Code samples in this post were compiled with a JDK 6. Before Java 5, it was not possible to instruct to a collection (like a List, a Map or a Set) to accept only objects of a specific type. At … Continue reading

Posted in Uncategorized | Tagged , | Leave a comment

Java: Operators

As in mathematics, operators in Java are used to produce new values from operands. Choosing the right operator at the right time is important in order to write clear code in a fast way. Code samples in this post were compiled … Continue reading

Posted in Uncategorized | Tagged , | Leave a comment

Java: Garbage Collector

Code samples in this post were compiled with a JDK 6. 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 … Continue reading

Posted in Uncategorized | 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. During a method call for example, Java will copy values given by the caller and will pass them to the callee method. If the variable has a primitive type, … Continue reading

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