Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #92512 > unrolled thread
| Started by | Sebastian M Cheung <minscheung@googlemail.com> |
|---|---|
| First post | 2015-06-12 04:36 -0700 |
| Last post | 2015-06-12 08:30 -0600 |
| Articles | 4 — 4 participants |
Back to article view | Back to comp.lang.python
Java to Python autoconverters Sebastian M Cheung <minscheung@googlemail.com> - 2015-06-12 04:36 -0700
Re: Java to Python autoconverters Stefan Behnel <stefan_ml@behnel.de> - 2015-06-12 14:51 +0200
Re: Java to Python autoconverters Mark Lawrence <breamoreboy@yahoo.co.uk> - 2015-06-12 13:57 +0100
Re: Java to Python autoconverters Michael Torrie <torriem@gmail.com> - 2015-06-12 08:30 -0600
| From | Sebastian M Cheung <minscheung@googlemail.com> |
|---|---|
| Date | 2015-06-12 04:36 -0700 |
| Subject | Java to Python autoconverters |
| Message-ID | <4d3e5d71-72f2-47ea-b3f3-25630019ce83@googlegroups.com> |
Are these available? Any good ones to recommend?
[toc] | [next] | [standalone]
| From | Stefan Behnel <stefan_ml@behnel.de> |
|---|---|
| Date | 2015-06-12 14:51 +0200 |
| Message-ID | <mailman.416.1434113527.13271.python-list@python.org> |
| In reply to | #92512 |
Sebastian M Cheung via Python-list schrieb am 12.06.2015 um 13:36: > Are these available? Any good ones to recommend? I recommend not doing that. You'd end up with ugly and unidiomatic Python code that's impossible to maintain, whereas you now (hopefully) have somewhat idiomatic Java code that should be reasonably maintainable. If you want to integrate Python code with Java code, take a look at Jython instead. If that's not what you want, then feel free to unveil your intentions. Stefan
[toc] | [prev] | [next] | [standalone]
| From | Mark Lawrence <breamoreboy@yahoo.co.uk> |
|---|---|
| Date | 2015-06-12 13:57 +0100 |
| Message-ID | <mailman.418.1434113909.13271.python-list@python.org> |
| In reply to | #92512 |
On 12/06/2015 12:36, Sebastian M Cheung via Python-list wrote: > Are these available? Any good ones to recommend? > Yes and no. -- My fellow Pythonistas, ask not what our language can do for you, ask what you can do for our language. Mark Lawrence
[toc] | [prev] | [next] | [standalone]
| From | Michael Torrie <torriem@gmail.com> |
|---|---|
| Date | 2015-06-12 08:30 -0600 |
| Message-ID | <mailman.426.1434119468.13271.python-list@python.org> |
| In reply to | #92512 |
On 06/12/2015 05:36 AM, Sebastian M Cheung via Python-list wrote: > Are these available? Any good ones to recommend? The only use case for such a program that I can think of is a compiler that is just using another language as an intermediate step, and that language is usually going to be compiled (for example, several compilers for different languages emit C code) or some other virtual machine like a Javascript engine. I don't want to put this too harshly, but the job of translating from one language to another, and making the code idiomatic and maintainable is up to you the programmer. If you are a programmer you should be able to easily do this, even if you have not worked with the source language before.
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.python
csiph-web