Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!

1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


Member Since 13 Sep 2012
Offline Last Active Yesterday, 06:07 PM

Posts I've Made

In Topic: Desktop and Android Application

22 April 2015 - 01:57 PM

I don't quite understand what you are asking, but to me, it sounds like you are asking how to compile a program from the "IntelliJ" IDE and how to upload it to the "Google Play" store.  To build a project in IntelliJ, go to Build->Make Project.  To upload an APK to the Google Play store, use the Google Play Developer Console.

In Topic: is it possible to program one app with different languages?

19 April 2015 - 12:47 PM


Yes it's possible and common to use multiple languages.


 can you explain a little more. just an example how really it works?


for exmple how a python code uses output of a c# function. should it be a compiled library code or it can be simply done?



I find myself doing this all the time; hell, I am doing it as we speak.  For example,  I have an old piece of software that needed to target Android, PC, and iOS.  Since I created the app on Android, the program was in Java.  When I ported it to PC, I decided to stick with Java.  When I ported it to iOS, I had to recode the app using Objective-C.  The Android and PC version of the app shared almost the same code base, with the exception of a select few platform specific parts.  The iOS version used the same ideals as the other two platforms, but was a completely new code base.


EDIT:  I just looked over your last post again, and I believe you are confusing the use of multiple languages.  What you are referring to "FFI."  The language has to support calling functions from other languages; for example, C# offers the ability to call native functions from managed code.  For example, with C# calling C++, the C++ code has to be coded in a specific way and compiled using CLR.  You then hook the DLL in C# and bind your routines.


Here is some more information.


In Topic: How do you catch sting rays?

17 April 2015 - 10:26 AM

Just use your heart.



In Topic: Why high level languages are slow

16 April 2015 - 05:45 AM

I still contend that if you're going to use a GC language, then you need to play nice with the GC

I'm curious if you have you tried doing this on a large scale?

I've spent an awful lot of time the last couple of years refactoring swathes of Java code (or porting it to C++), to reach the 'zero allocations' bar that one absolutely must hit if one wants a fluid and responsive android application. I'm not kidding about this - you will not be able to reliably hit 60fps if there are any allocations in your rendering or layout loops. And Java doesn't have struct types, so that means no short-lived compound types at all...
Sadly, this is 100% true. I just finsihed having to optimize both my Android rendering and layout loops for this very reason.

In Topic: An engine to use with teens with no programming knowledge

09 April 2015 - 06:26 PM

If you are looking for something with a visual scripting language, I would take a look at Unreal 4.  Epic just made it free for everyone and it has a visual scripting setup called "blueprints" that does an amazing job.