Linux autonomous executable generation

I am a programmer with a strong background in Java, Ruby, Python and other high / dynamic level languages. I ran into a problem when I need to encode a Linux executable (for 64 and possibly 32-bit OS), and none of these languages ​​is suitable for this task, because I also have to distribute the runtime.

I really can't write decent C code, so I would like to ask for advice on a good high-level language that supports sockets and a spawning process that will produce either C-intermediate code or stand-alone Linux executables.

+3
source share
4 answers

Some options:

+5

python Freeze.

wiki:

Freeze - " Python", Python. Freeze Unix .

Python, , Python , !

+6

, "" ( C) Perl. , - Python ( , Python ), , - , , .

, , , . , C ( C , ) ++ (. ).

Haskell, , , , , . , , Erlang, concurrency , , concurrency. Lisp, , / .

+3

You might want to consider Perl as it is installed on most UNIX systems by default these days. This is not a very multilingual IMHO language, but it is a little easier than writing C. I would take a copy of Accelerated C ++ and write it in C ++. You probably no longer need to learn C ++ for such tasks. Once you start programming with Boost and STL, it really can feel like a higher level language.

0
source

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


All Articles