• After 15+ years, we've made a big change: Android Forums is now Early Bird Club. Learn more here.

Brian Berry

Well-Known Member
Mar 30, 2019
149
52
I created an Android game with Kotlin. I used a lot of global variables I know global variables are usually bad from a security standpoint but since this is a game that I don't really care if somebody cheats or breaks into it do I really need to worry about app security?

--calmchess
 
Kotlin/Java isn't really vulnerable to problems like that, because it has a different memory management model to languages like C and C++. Heap memory is managed by the garbage collector, and most variable types have known memory constraints.
Do you have information that leads you to believe that this kind of thing could be a problem?
 
  • Like
Reactions: GameTheory
Upvote 0

BEST TECH IN 2023

We've been tracking upcoming products and ranking the best tech since 2007. Thanks for trusting our opinion: we get rewarded through affiliate links that earn us a commission and we invite you to learn more about us.

Smartphones