ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Vyacheslav Daradur <daradu...@gmail.com>
Subject Re: Use of lambdas and other Java 8 features
Date Mon, 05 Mar 2018 19:10:47 GMT
Dmitry, Vladimir, thank you for the clarification!

On Mon, Mar 5, 2018 at 6:23 PM, Dmitry Pavlov <dpavlov.spb@gmail.com> wrote:
> By the way, usage of lambdas instead of anonymous class may have positive
> performance effect.
>
> And Java 8 provides us a number of new features, which allows Ignite
> operate faster (e.g. Arrays.parrallelSort, list.sort(), etc).
>
> пн, 5 мар. 2018 г. в 18:15, Vladimir Ozerov <vozerov@gridgain.com>:
>
>> Hi Vyacheslav,
>>
>> I would not recommend using them without strong reasons. While convenient
>> for developers in general, some of these features has hidden pitfails,
>> which may affect performance and serialization. But as our product is very
>> performance sensitive, it is better to have slightly more code which is
>> simple and expressive, rather than save several lines of code and loose
>> understanding on what is going on.
>>
>> On Mon, Mar 5, 2018 at 6:07 PM, Vyacheslav Daradur <daradurvs@gmail.com>
>> wrote:
>>
>> > Hi, Igniters!
>> >
>> > Since we official support Java 8, I want to find out the following
>> > question:
>> >
>> > Are there any restrictions on using lambdas and other Java 8 features?
>> >
>> > --
>> > Best Regards, Vyacheslav D.
>> >
>>



-- 
Best Regards, Vyacheslav D.

Mime
View raw message