The Artima Developer Community
Sponsored Link

Java Buzz Forum
The dark side of lambda expressions in Java 8

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
News Manager

Posts: 47623
Nickname: newsman
Registered: Apr, 2003

News Manager is the force behind the news at Artima.com.
The dark side of lambda expressions in Java 8 Posted: Mar 28, 2014 12:50 PM
Reply to this message Reply

This post originated from an RSS feed registered with Java Buzz by News Manager.
Original Post: The dark side of lambda expressions in Java 8
Feed Title: JavaWorld
Feed URL: http://www.javaworld.com/index.rss
Feed Description: JavaWorld.com: Fueling Innovation
Latest Java Buzz Posts
Latest Java Buzz Posts by News Manager
Latest Posts From JavaWorld

Advertisement

And now for something completely different, as Takipi CEO Tal Weiss points out that not all is completely well in Java Lambda Land: 

The JVM was built to be language agnostic in the sense that it can execute code written in any language, as long as it can be translated into bytecode. The bytecode specification itself is fully OO, and was designed to closely match the Java language. That means that bytecode compiled from Java source will pretty much resemble it structurally.

As Weiss notes, the farther away we get from Java's object-oriented roots, the greater the difference between your source code and the executed bytecode will be, as "[l]arge amounts of synthetic classes, methods and variables are added by the compiler to get the JVM to execute the semantics and flow controls required by the language."

To read this article in full or to leave a comment, please click here

Read: The dark side of lambda expressions in Java 8

Topic: Still a place for books... Previous Topic   Next Topic Topic: Cloud Buzz: IaaS, PaaS, SaaS

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use