Newsflash: Sometimes Using Float is Faster Than Using Int in Java

Posted on Leave a commentPosted in Performance

Performance considerations in the eighties Time and again, I’m surprised by the performance of modern CPUs. Actually, the speed boost astonishing me most took place a decade ago, give or take a few years. Before that, floating point operations were a lot slower than integer operations. When I learned my first assembly language, the 6502 […]

OmniFaces CombinedResourceHandler Gives Your Application a Boost

Posted on Leave a commentPosted in OmniFaces, Performance, web design

OmniFaces 2.1 is soon to be released. Time to present a useful OmniFaces component which has been improved in version 2.1: the CombinedResourceHandler. The CombinedResourceHandler reduces page load times significantly by combining the countless resource files of a JSF page into one or two larger files, which can be loaded and processed much more efficiently. […]

A Java Programmer’s Guide to Assembler Language

Posted on 4 CommentsPosted in Concepts of programming languages, JIT, Performance

Imagine a programming language without variables. A language without function parameters and return values. A language without floating point numbers, maybe even without multiplication and division. A language without type casting. Without types, actually. Not to mention classes or objects. Join me in a journey to the world of assembler languages.

Newsflash: Can You Rely on System.nanoTime()?

Posted on Leave a commentPosted in Performance

If you’re like me, you’re concerned about your application’s performance. So you’re familiar with profiling your application. The simplest way to measure your application’s performance is to time how long a method call takes. Most of you probably know System.currentTimeMillis(), but there’s a better alternative: System.nanoTime() is a great function, but one thing it’s not: […]

Newsflash: React Speeds Up AngularJS Rendering

Posted on Leave a commentPosted in AngularJS, Javascript, newsflash, Performance

Today I’ve read about a small but interesting framework called React.js that convinced me to start a new series on this blog. Newsflashes are small articles, just two or three sentences, describing an interesting idea and providing a link to read on. They are less thoroughly researched than the full-fledged articles of BeyondJava.net. Instead I’ll […]

AngularFaces 2: Even Better Steroids for JSF

Posted on 2 CommentsPosted in AngularFaces, AngularJS, Java 8, JSF, Performance, simpliying JSF

AngularJS and other fancy Javascript frameworks stir up the Java world. The Java world has been dominated by server side framework for more than a decade now. Times they are changing. Now everybody’s moving to the client side. The server’s reduced to a faint memory, such as a REST service. Everybody? Not quite. A lot […]

asm.js – A Reduced Instruction Set Makes Javascript Run Faster

Posted on Leave a commentPosted in Browser, Concepts of programming languages, Javascript, Performance

The day after I finished my article claiming Javascript to be the new assembler language I heard about the asm.js project. This project strongly supports my previous article’s theory. Even the project’s name alleges asm.js programs are sort of assembler programs. The goal of asm.js is to define a subset of Javascript that can be […]

The Future of JavaScript: an Assembler Language?

Posted on Leave a commentPosted in Concepts of programming languages, Javascript, Performance

Behind the scenes, widely unnoticed, there’s an interesting development going on. The role Javascript plays in the computer industry is starting to change. The first time I got aware of the new role was when I learned about GWT. The heart of GWT is a cross-compiler translating Java code to Javascript. Then I learned about […]