dinukaroshan.blogspot.com
My Journey Through IT: Understanding Java References
http://dinukaroshan.blogspot.com/2012/01/understanding-java-references.html
My Journey Through IT. In today's environment, hoarding knowledge ultimately erodes your power.". Wednesday, January 11, 2012. Playing around with Java References. Im not going to talk about each reference class available within the java.lang.ref package as it is already very well explained here. Let us take a look at the following code snippet which I wrote to understand the basic operation of a WeakReference. Null & myMap.get()! Else { System.out .println("* * * *im free* * * *"); } } } }. So in retros...
cpptruths.blogspot.com
C++ Truths: Fun with Lambdas: C++14 Style (part 4)
http://cpptruths.blogspot.com/2015/06/fun-with-lambdas-c14-style-part-4.html
A C blog on intermediate to advanced topics in C programming language features, standards, idioms, design patterns, and object-oriented programming in general. Sunday, June 28, 2015. Fun with Lambdas: C 14 Style (part 4). This is part 4 in the series of Fun with Lambdas: C 14 Style. The previous posts are part 3. This time, I have chosen a "text-book" example to show you the power of C 14: Composable Data Generators. What is a Generator? Produces values of type T. It produces long ints. Let's create a Ge...
japgolly.blogspot.com
Preposterous! Egregious!: Scala: Methods vs Functions
http://japgolly.blogspot.com/2013/10/scala-methods-vs-functions.html
Consecutive sentences or phrases, usually pertaining to a topic or subject. Saturday, 26 October 2013. Scala: Methods vs Functions. It's a bright, windy Saturday morning. Sipping a nice, warm coffee I find myself musing over the performance implications of subtleties between methods and functions in Scala. Functions are first-class citizens in Scala and represented internally as instances of. Where n is the arity); effectively, an interface with an. I can think of:. Def method(s:String) = s.length. It ta...
artiomg.blogspot.com
The Art of Java: Tracking excessive garbage collection in Hotspot JVM
http://artiomg.blogspot.com/2012/06/tracking-excessive-garbage-collection.html
The Art of Java. Saturday, June 9, 2012. Tracking excessive garbage collection in Hotspot JVM. Quite frequently due to memory leaks or other memory problems applications freeze leaving only the garbage collector (GC) process running unsuccessfully trying to free some space. This happens until watchdog (or frustrated administrator) restarts the application and the problem is never solved. Using following flags we can direct Hotspot JVM to throw a heap dump when an application becomes GC driven. The policy...
artiomg.blogspot.com
The Art of Java: Just in Time Compiler (JIT) in Hotspot
http://artiomg.blogspot.com/2011/10/just-in-time-compiler-jit-in-hotspot.html
The Art of Java. Monday, October 24, 2011. Just in Time Compiler (JIT) in Hotspot. What is JIT Compiler? The Just In Time Compiler (JIT) concept and more generally adaptive optimization is well known concept in many languages besides Java (.Net, Lua, JRuby). In order to explain what is JIT Compiler I want to start with a definition of compiler concept. According to wikipedia compiler is " a computer program that transforms the source language into another computer language (the target language). When the...
java67.com
5 Good Books to Learn Java 8 Functional Programming | Java67
http://www.java67.com/2015/07/5-books-learn-java-8-functional-programming.html
Java Programming tutorials and Interview Questions. 5 Good Books to Learn Java 8 Functional Programming. TL;DR: I have read many books while learning Java 8, but the best book I found was Java SE 8 for Really Impatient. From Cay S. Horstmann. Why I recommend this book? And new date and time API. Questions like which books should I refer to start learning Java 8. Or what is the best book to learn Java 8. When many of my readers asked me to suggest a good book to learn Java 8. Action series has already mad...
java-is-the-new-c.blogspot.com
Java is the new C: The Internet is running in debug mode
http://java-is-the-new-c.blogspot.com/2014/10/why-protocols-are-messy-concept.html
Java is the new C. High performance Java, realtime distributed computing, other stuff. Tuesday, October 28, 2014. The Internet is running in debug mode. With the rise of the Web, textual encodings like xml/JSON have become very popular. Of course textual message encoding has many advantages from a developer's perspective. What most developers are not aware of, is how expensive encoding and decoding of textual messages really is compared to a well defined binary protocol. Of energy (global warming anyone?
incepttechnologies.blogspot.com
JSF 2.2 : JSF Custom Components: Tag Files, Composite Components & Custom Components
http://incepttechnologies.blogspot.com/p/in-jsf-2.html
JSF Custom Components: Tag Files, Composite Components and Custom Components. In JSF 2.x reusable components can be created using any one of the three approaches: Tag Files, Composite Components or Custom Components. Templates and facelets are at the core of re-usability feature of JSF, so before we begin discussing custom components, here is a very brief intro about facelets and templates. Tag files is a way to define. Tag This is generally used. When there are multiple tags to be rendered but for brevi...
javadots.blogspot.com
Java: Developing On The Streets: Repeat after me: Immutable objects will not slow you down
http://javadots.blogspot.com/2010/08/repeat-after-me-immutable-objects-will.html
Java: Developing On The Streets. Repeat after me: Immutable objects will not slow you down. As noted by Stephan Schmidt. The advent of functional programming promotes the use of immutable objects even in non-functional languages. Immutable objects have many positive traits: they are safer, they throw less exception, they are not prone to problems of covariance, they prevent races when used in a multi-threaded settings, etc. In certain cases (such as: many object holding references to x) this rerouting ma...