[ 
https://issues.apache.org/jira/browse/IGNITE-1416?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14936925#comment-14936925
 ] 

Pavel  Tupitsyn commented on IGNITE-1416:
-----------------------------------------

We have discussed that and decided to use C-style semantics in all the platform 
code, do you remember that? 
Common is the gateway, yes, and it is in C++. We should use semantics that C++ 
devs are familiar with, the same way as we do in C# API.

> getAndDecrement
getAnd* methods are pointless. 
getAndDecrement = decrementAndGet() + 1; 
Let's not bloat our interop code with them. It is hard enough to maintain 
already.

> so that developer has clear understanding how native call maps to Java 
> operation
C++ dev either does not care about Java operation, or knows it enough to easily 
understand semantic differences.

> .Net: Implement AtomicLong data structure
> -----------------------------------------
>
>                 Key: IGNITE-1416
>                 URL: https://issues.apache.org/jira/browse/IGNITE-1416
>             Project: Ignite
>          Issue Type: Task
>          Components: interop
>    Affects Versions: 1.1.4
>            Reporter: Vladimir Ozerov
>            Assignee: Pavel  Tupitsyn
>            Priority: Critical
>             Fix For: ignite-1.5
>
>




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to