反向Jython [英] reverse Jython
问题描述
我正在寻找一个合适的论文题目,所以我希望我能收集一些关于这个领域的建议。我想的是。
Jython似乎是一个相对成功的尝试,将Python桥接到了
Java,我发现最好的部分是它可以转换Python代码
到Java代码中。正如在网页上所说,它是一个用Java编写的python解释器
。我想知道是否值得推翻这个,也就是说,用Python实现的Java解释器是什么?
谷歌搜索提出了JPI和PyJava。 br />
这仍然是一个可行的方面,或者它已经完成了吗?
有什么建议吗?
谢谢
莫里斯
嗨莫里斯
我是想知道是否值得扭转这一点,即用Python实现的Java解释器?
为什么?
Jython是有道理的,因为你从C编译和
平台问题(关于扩展模块)中释放Python使用,同时仍然提供
可接受的运行时性能。
另一种方式不会治愈或帮助任何事情。
如果你需要一个有趣的话题:为什么不写一个即时编译器
for Python?
有''在模块编织中已经有一些有趣的东西了。来自Jython的pythonc
,但有一个python解释器在运行时使用(比如说)gcc来转换并可能优化Python代码到本机可执行
二进制文件,你可以加速Python到最大值。
只需我的2美分,
Mark
Maurice LING schrieb:Jython似乎是将Python桥接到Java的相对成功的尝试,我发现最好的部分是它可以转换Python代码
转换为Java代码。如网页所述,它是一个用Java编写的python解释器。我想知道是否值得推翻这个,也就是说,用Python实现的Java解释器?
如果你/问/它是不是值得这么做,那么也许不值得这样做
给你?
我个人无法想到这样一个系统的用途,但是我知道它会为了让它运行而付出相当大的努力,尽管JVM本身就是
而不是那么复杂。
>
通过JNI的桥梁有什么优势?
10月19日星期二2004年05:48:56 GMT,Maurice LING< ma ********* @ acm.org>写道:
我正在寻找一个合适的论文题目,所以我希望我能在这个领域收集一些关于我的建议。正在思考。
Jython似乎是将Python与Java桥接起来的相对成功的尝试,我发现最好的部分是它可以将Python代码转换为Java代码。如网页所述,它是一个用Java编写的python解释器。我想知道是否值得推翻这个,也就是说,用Python实现的Java解释器?
Google搜索提出了JPI和PyJava。
这仍然是一个值得研究的可行区域吗?或者它已经完成了吗?
如果你不想在论文中包含Java,为什么不帮助
PyPy?它是用Python编写的Python解释器。它被认为是用于实验Python
语言本身的重要软件。
。看看:
http:// codespeak .net / pypy / index.cgi?home
ps有传言称PyPy团队秘密地相信他们可以让它比CPython更快*运行*。它是否成为一个好论点?
;-)
-
Carlos Ribeiro
Consultoria em Projetos
博客: http://rascunhosrotos.blogspot.com
博客: http://pythonnotes.blogspot.com
邮件: ca********@gmail.com >
邮件: ca********@yahoo.com
Hi,
I''m looking for a suitable thesis topic, so I hope that I can gather
some advice on this area that I''m thinking of.
Jython appears as a relatively successful attempt to bridge Python to
Java and I find that the best part is that it can convert Python codes
into Java codes. As said in the webpage, it is a python interpreter
written in Java. I am wondering if it is worth reversing this, that is,
a Java interpreter implemented in Python?
A Google search comes up with JPI and PyJava.
Is this still a viable area to look into or it is too done?
Any suggestions?
Thanks
Maurice
Hi Maurice
I am wondering if it is worth reversing this, that is, a Java interpreter
implemented in Python?
Why?
Jython makes sense because you free Python usage from C compilation and
platform issues (regarding extension modules) while still providing
acceptable runtime performance.
The other way round would not cure or help anything.
If you need an interesting topic: why not write a just-in-time compiler
for Python?
There''s already some interesting stuff in module "weave" and the pythonc
from Jython, but having a python interpreter use (say) gcc at runtime to
convert and probably optimize Python code to natively executable
binaries, you could speed up Python to the max.
Just my 2 cents,
Mark
Maurice LING schrieb:Jython appears as a relatively successful attempt to bridge Python to
Java and I find that the best part is that it can convert Python codes
into Java codes. As said in the webpage, it is a python interpreter
written in Java. I am wondering if it is worth reversing this, that is,
a Java interpreter implemented in Python?
If you /ask/ if it''s worth doing it, then maybe it is not worth doing it
for you?
I personally can''t think of a use for such a system, but I know that it
would be quite an effort to get it running, though the JVM itself was
designed to be not that complex.
What would be the advantage over a bridge through the JNI?
Stefan
On Tue, 19 Oct 2004 05:48:56 GMT, Maurice LING <ma*********@acm.org> wrote:Hi,
I''m looking for a suitable thesis topic, so I hope that I can gather
some advice on this area that I''m thinking of.
Jython appears as a relatively successful attempt to bridge Python to
Java and I find that the best part is that it can convert Python codes
into Java codes. As said in the webpage, it is a python interpreter
written in Java. I am wondering if it is worth reversing this, that is,
a Java interpreter implemented in Python?
A Google search comes up with JPI and PyJava.
Is this still a viable area to look into or it is too done?
If you dont'' _need_ to include Java in your thesis, why not help with
PyPy? It''s the Python interpreter written in Python. It''s regarded as
a important piece of software for experimentation with the Python
language itself. Give it a look:
http://codespeak.net/pypy/index.cgi?home
p.s. There is a rumour that the PyPy team secretly believes that they
can make it run *faster* than CPython. Does it makes it a good thesis?
;-)
--
Carlos Ribeiro
Consultoria em Projetos
blog: http://rascunhosrotos.blogspot.com
blog: http://pythonnotes.blogspot.com
mail: ca********@gmail.com
mail: ca********@yahoo.com
这篇关于反向Jython的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!