You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Pavel Tupitsyn (JIRA)" <ji...@apache.org> on 2015/09/30 16:47:04 UTC

[jira] [Comment Edited] (IGNITE-1416) .Net: Implement AtomicLong data structure

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

Pavel  Tupitsyn edited comment on IGNITE-1416 at 9/30/15 2:46 PM:
------------------------------------------------------------------

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 Cpp. We should use semantics that Cpp 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.


was (Author: ptupitsyn):
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)