Pros and Cons for Haxe and Kivy

I am looking for application development for iOS, Android, Windows Phone and desktop regardless of whether it is a website or a standalone one. Does anyone have any experience with Haxe + NME or Kivy that they can share in detail?

I was looking for something that can be deployed on all platforms, and these are the 2 best options that I seem to have found. However, I am not going to make a game. This is more like an application with lots of touch listeners on images. Tap the image, then hide it, create it and do a lot of math behind the scenes. However, I need a library for finding paths, but pretty much all the engines I worked on were Pathfinding A-star library. I also need the SlideView library so that users can swap places, like on the desktop of their smartphone. Any information you can share on the following topic is greatly appreciated. Thanks in advance for reading and for the help provided. Excuse for troubling

+4
source share
2 answers

the Haxe user has been here for a long time, although I personally mainly use Haxe for web application projects, not NME. Until recently, the main activity of the NME was (far and far) the game. Recently, attempts have been made to create good tools for creating user interfaces based on the strengths of the NME platform:

https://github.com/RealyUniqueName/StablexUI - Demo (works on HTML5, flash, native desktop and mobile)
https://github.com/ianharrigan/haxeui

but they are very fresh additions, so if you are looking for a tried and tested Kivy solution (never heard of this before, but it looks cool!) it looks like he has a bit more maturity and a little more benefit for him.

In terms of performance and overall reliability, Haxe / NME is great, but getting these user interface widgets with their own feel will be your painful point. Other than that, it's a terrific language to work with :) Python is very good, though ... each in its own way!

At the time of writing, people were experimenting using their own user interface (the objective of Objective C is discussed at the upcoming conference, and the goals of Java and C # are becoming more mature, so there are 3 main mobile platforms), so this may be an option if you want to use ui's own components, although it is not ready yet, I just hope it can become a reality within the next year or so :)

Good luck with your project anyway! If you decide to go with Haxe / NME, be sure to ask questions (or here, NME forums or the Haxe mailing list) so that people can help you on your journey.

+5
source

no experience with Haxe here, but I can answer for Kivy:

Firstly, the Windows phone is currently not supported, according to my information, no one has tried to use any port, but it may not exist yet, but it does not exist yet, and the main user does not have a Windows device by phone, so until this changes, or someone with this motivation comes in, there is a low probability that this will happen.

For your interactive needs, Kivy will easily pick up an account, being really focused on easily customizing touch processing for each widget. We don’t have much information about your math needs, if they are heavy, you probably want something like numpy to be used behind the scenes and / or use threads for heavy lifting without blocking the application, this can completely do this with Kivy, so I don’t see any specific problem there. For A * there is no implementation directly inside kivy, but you should be able to use the python implementation (there are dozens there), if your needs on this side require more performance, you can cythonize to improve performance, or use the C implementation compiled for each purpose .

Hope this helps.

+6
source

Source: https://habr.com/ru/post/1480019/


All Articles