android - Chess engine in c or java, performance difference? -


i have simple chess app based on fruit engine on ios devices. i'd chess app android. seems have following options:

  • port c fruit engine java
  • use chess engine in java
  • use android ndk c chess engine , ui in java

my question is, assume same algorithm used, there performance degradation if chess engine ported c java?

i can afford 5% or less in difference (between c , java engines running on same device). thanks.

will there performance degradation if chess engine ported c java?

there degradation. how depends on how low level java programming skills are. if translate code closely possible similar.

i can afford 5% or less in difference.

how difference make if 10%? difference in perform between models of phone can 30%+ if wait few moths, phones more faster anyway.


Comments

Popular posts from this blog

linux - xterm copying to CLIPBOARD using copy-selection causes automatic updating of CLIPBOARD upon mouse selection -

c++ - qgraphicsview horizontal scrolling always has a vertical delta -