Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Lambdas
#14
(02-06-2015, 09:26 PM)lab27 Wrote:  
(01-27-2015, 05:53 AM)Explicit Wrote:  Lambdas really aren't a big change tbh, and it's not a change at all when it comes to functionality. The only difference is syntax and afaik (haven't read any info on JVM 1.8 ) it compiles down to almost the same thing.

They actually compile down to something significantly different to the equivalent anonymous inner class.  In 1.8, javac makes use of the invokedynamic JVM instruction, which was introduced for scripting languages.

I wrote up a bit about it here, from the point of view of decompilation.

http://www.benf.org/other/cfr/java8lambdas.html

I see, maybe I might start using them now thanks to this benefit.
Reply
 


Messages In This Thread
Lambdas - by Konloch - 10-01-2014, 02:54 PM
RE: Lambdas - by Bibl - 10-10-2014, 06:36 AM
RE: Lambdas - by Bibl - 10-25-2014, 11:31 AM
RE: Lambdas - by Konloch - 10-26-2014, 02:30 AM
RE: Lambdas - by DarkStorm - 01-05-2015, 07:13 AM
RE: Lambdas - by zooty - 01-08-2015, 08:22 PM
RE: Lambdas - by DarkStorm - 01-08-2015, 11:11 PM
RE: Lambdas - by Sex Slave - 01-08-2015, 08:04 AM
RE: Lambdas - by DarkStorm - 01-08-2015, 06:01 PM
RE: Lambdas - by Explicit - 01-27-2015, 05:53 AM
RE: Lambdas - by lab27 - 02-06-2015, 09:26 PM
RE: Lambdas - by Cov - 01-27-2015, 06:35 AM
RE: Lambdas - by Explicit - 02-07-2015, 07:04 AM
RE: Lambdas - by Obscurity - 02-10-2015, 03:46 AM
RE: Lambdas - by MalikDz - 02-12-2015, 10:26 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)

About The Bytecode Club

We're a community forum focused on Reverse Engineering, we try to target Java/Android but we also include other langauges/platforms. We pride ourselves in supporting and free and open sourced applications.

Website