Computing Thoughts

Bruce Eckel's Programming Blog

Apr 27, 2016 - 8 minute read

Java 8 Parallel Operations Are Not As Simple As They Seem

As an exploration of the uncertainties of streams and parallel streams, let’s look at a problem that seems simple: summing an incremental sequence of numbers. There turns out to be a surprising number of ways to do this, and I’ll take the risk of comparing them through timing—trying to be careful, but acknowledging that I might fall into one of the many fundamental pitfalls when timing code execution. The results may have some flaws (there’s no “warming up” of the JVM, for example), but I think it nonetheless gives some useful indications.

Jan 10, 2016 - 1 minute read

Video Of Belarus Conference Opening Keynote

Here is the opening keynote presentation I gave at the Jet Conference in Minsk, Belarus, last Fall, titled A Language is More Than a Language. For some reason, all my travels in recent years have been exceptional, and this one was no different. Everyone there was really warm and enthusiastic.

Oct 17, 2015 - 8 minute read

Are Java 8 Lambdas Closures?

(Significantly rewritten 11/25/2015) Based on what I’ve heard, I was surprised to discover that the short answer is “yes, with a caveat that, after explanation, isn’t terrible.” So, a qualified yes. For the longer answer, we must first explore the question of “why, again, are we doing all this?” Abstraction over Behavior The simplest way to look at the need for lambdas is that they describe what computation should be performed, rather than how it should be performed.

Sep 24, 2015 - 1 minute read

Jet Conference Slides

Here are the slides for my opening keynote at the JET Conference in Minsk, Belarus, Sept 28, 2015. Note that many of the slides also have notes. The evening before the conference, I will be presenting “Creating Trust Organizations,” and you can find the slides for that here.  

Aug 29, 2015 - 7 minute read

What I Do

I have a very narrow set of skills, which can be summarized as “delving into a language and helping others understand and (sometimes) solve problems involving that language.” That’s too simple, however – because I ultimately seek “the best” language, for my own personal definition of “best.” I also leave languages behind. While I once knew all the ins and outs of C++, for example, I stopped studying that language after C++98, searching for a language that gave me more.

Aug 6, 2015 - 1 minute read

News, Readables, Viewables

I will be giving the opening keynote at the JET conference in Minsk, Belarus on September 28. The title is “A Language is More Than a Language,” about the necessity for everything that surrounds a programming language. You can find the description here. An interview with me on The creator of the Elm language about language design philosophy. This makes me want to learn Elm. Kent Beck gives an amazing closing keynote.