[ 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)