Why convert code in one language?

I have heard of some compilers that convert code in one high-level language to another. like Shedskin , which converts python code to optimized C ++.
I was wondering why is it ever trying to do this. Why not write directly in your preferred language?

The only reason I could think of is that compiling languages ​​like C / C ++ is better than interpreting them in terms of performance.

Any other ideas are welcome.

+5
source share
11 answers

, .

, , python, . ++ .

: - Python ++ ( , ), ++. .

+3

, , : .

, , , . ( . .)

, , , .

, 5-10 ?

+13

, , . , Python, , ++, .

, . f2c , Fortran C, , , , , .

+3

, - , - .

+2

- . , 10- , Delphi, # , . , #, , , 6 , .

+2

, , ( ).

" " . .

!

+2

. ++ - (++) ( )

0

, "" . , , , , , .

, Java .NET, , JIT (Just In Time), . - , JIT- .

0

- , . , .

, , , . . .

, , 50% 75% . -, , , . , .

0

. , Erlang . CouchDB , ++, Erlang, .

VM, .NET/#, , . . , , , , .

++ , .

0

(Python β†’ ++) . , JIT'ing. Python; , Python .

, . , ; "" .

, , , Python ++ , ; : " , ".

0

All Articles