The most suitable development language for the platform

A project is approaching whereby some code that I will write can be deployed on any equipment that potential customers have. This is a business application that will run 24/7, so I assume that most host machines will be server-type boxes, but smaller clients may, for example, just have a simple PC.

Some more details about the code that I will write:

  • The graphical interface will not.

  • He will need to establish communication with another black box device via Ethernet.

  • He will need to contact the MySQL database somewhere on the network.

  • I have no performance problems, as a) the number of messages with a black box will be small, about 1 per second, and the amount of data exchange will be tiny (about 1 thousand each time), b) the number of read / write in the database will be small , about 5 per minute, and again the amount of data exchange will be tiny and c) the processing that needs to be done is quite simplified.

  • Nothing that I do is very "close to metal", so I do not want to use languages ​​with too low a level. The main priorities are ease of development and ease of deployment.

  • I do not expect this to be the ideal solution, so I can live with things like, for example, having slightly different configuration files for Windows machines than for Linux mailboxes, etc. I would like to avoid compiling software for each host machine, if possible, though.

I would appreciate your thoughts on which development language you think is most appropriate.

Greetings

Jim

+5
source share
8 answers

I would come up with a decent scripting language like Python, Perl or Ruby. They all have decent library support, can easily communicate with local and remote MySQL databases, and are fairly platform independent.

+11
source

, , , ? , , , .

, Java :

  • , .
  • , .
  • , !
  • , .

, JVM, Ruby Python.

+5

, Perl Python . , , .

+3

Java, Java. , (1) (2) script jar, script . Python, , SQL, mysql-python. Windows Linux. Python , , .

EDIT: , JAR , , . , , , , . java-, "java -jar myapp.jar" "./myapp.jar". Python "./myapp.py" .

+3

(, , Linux), Python. , . , , (, ).

Python , .

Perl, . Perl , . Perl , , , .

+1

Perl , , , CPAN.

+1

Python Java. , , , Linux/Solaris Windows.

Perl , , Perl, , , Perl , , Windows Perl ().

Since Java supports Python through Jython, I would do the JVM request myself, but personally I would use a Java application for the system you are describing.

+1
source

I would say use C or C ++. They are platform independent, although you will have to compile for each platform.

Or use Java. This works in a virtual machine, so it is really a cross platform, not a slow level like C.

0
source

All Articles