Results 1 to 12 of 12

Thread: Why Jython?

  1. #1

    Thread Starter
    Hyperactive Member thinktank2's Avatar
    Join Date
    Nov 2001
    Location
    Arctic
    Posts
    272

    Why Jython?

    http://www.jython.org/

    What do we see next.... Java on Python ?


    I will tell these people...they are wasting their precious time.

  2. #2
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    Don't knock it...It's little leaps like this that led to peanut butter and jelly in the same jar. Revolutionary ideas need a starting point.

    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

  3. #3

    Thread Starter
    Hyperactive Member thinktank2's Avatar
    Join Date
    Nov 2001
    Location
    Arctic
    Posts
    272
    If this going to be the case in future...

    Someone would be working on VB implementation in Java.

    Someother would be working on a Java implementation in VB

    A perl Implementation in Java

    A Java implementation in perl..

    ehh...for God's sake... let me remain sane.

  4. #4
    The Devil crptcblade's Avatar
    Join Date
    Aug 2000
    Location
    Quetzalshacatenango
    Posts
    9,091
    Well, you know me, cross-breeds, imbreeds, and half-breeds = one hell of a party.

    Laugh, and the world laughs with you. Cry, and you just water down your vodka.


    Take credit, not responsibility

  5. #5
    Hyperactive Member barrk's Avatar
    Join Date
    Sep 2000
    Location
    My own little world
    Posts
    274
    let me remain sane
    Too late for most of us in here!

  6. #6
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    damned, I have to release armageddon on them all soooon!
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

  7. #7
    Monday Morning Lunatic parksie's Avatar
    Join Date
    Mar 2000
    Location
    Mashin' on the motorway
    Posts
    8,169
    Originally posted by kedaman
    damned, I have to release armageddon on them all soooon!
    Yes Mr Sugii, get Squirrel out so we can all go and gloat that we actually understand it, and they're still doing their *shudder* OOP and functional programming
    I refuse to tie my hands behind my back and hear somebody say "Bend Over, Boy, Because You Have It Coming To You".
    -- Linus Torvalds

  8. #8
    Frenzied Member HarryW's Avatar
    Join Date
    Jan 2000
    Location
    Heiho no michi
    Posts
    1,827
    Jython isn't such a bad idea. It's just written in Java instead of C, which means it will run on anything with a JVM or a proc with a JVM ISA (lots of things) without recompiling.

    You may chuckle, but there is something called JPE which allows you to use Python modules in Java and Java modules in Python. It can be very useful, although there is a performance hit.

    Why do you care anyway? Do you use Python?
    Harry.

    "From one thing, know ten thousand things."

  9. #9
    transcendental analytic kedaman's Avatar
    Join Date
    Mar 2000
    Location
    0x002F2EA8
    Posts
    7,221
    SQ will be out any minute!
    and then other languages will have to suffer
    Use
    writing software in C++ is like driving rivets into steel beam with a toothpick.
    writing haskell makes your life easier:
    reverse (p (6*9)) where p x|x==0=""|True=chr (48+z): p y where (y,z)=divMod x 13
    To throw away OOP for low level languages is myopia, to keep OOP is hyperopia. To throw away OOP for a high level language is insight.

  10. #10

    Thread Starter
    Hyperactive Member thinktank2's Avatar
    Join Date
    Nov 2001
    Location
    Arctic
    Posts
    272
    Originally posted by HarryW
    Jython isn't such a bad idea. It's just written in Java instead of C, which means it will run on anything with a JVM or a proc with a JVM ISA (lots of things) without recompiling.

    Why do you care anyway? Do you use Python?
    No..I am not saying Jython is a bad idea..but i say they are simply wasting their time. Python is a interpreted language and not a compiled one (as u know it). Python ....I believe is available in almost all platforms as java is. So why try to make a thing when such a thing is barely needed. Say, Platform x needs a python interpreter why not make something that doesn't need a Jvm to run it ? What about the perfomance issues ? Can JVM Python interpreter perfom better than the Python interpreter for that particular OS/Platform ? There are plenty of projects out there that needs developers. Some of the projects in Sourceforge for example are rarely active.

    >>You may chuckle, but there is something called JPE which allows you to use Python modules in Java and Java modules in Python. It can be very useful, although there is a performance hit.

    Exactly.. Do you mean the OS in question doesn't have a JVM or a python interpreter. Or you mean there are lack of developers in those languages who can effectively translate the program logic in each other language ??

    >> Why do you care anyway? Do you use Python?

    We do (at Work)

  11. #11

    Thread Starter
    Hyperactive Member thinktank2's Avatar
    Join Date
    Nov 2001
    Location
    Arctic
    Posts
    272
    How about a JVM in python

  12. #12
    Frenzied Member HarryW's Avatar
    Join Date
    Jan 2000
    Location
    Heiho no michi
    Posts
    1,827
    I use Python at work too, in fact 95% of my time at work is coding Python.

    Python is actually a slightly higher-level language than Java. What you're saying is like saying "why program in Python when you can just use C?" - the standard Python project is written in C after all.

    Since Jython is written in Java, it's completely and easily integrateable with a Java-based app. JPE is designed for use with C-Python.

    Why use JPE when you could just port the code? Well that's all very well so long as you have the time to spend rewriting thousands of lines of code in a different language and re-testing it. In 'real life', that's not an option. We need the functionality the Java app offers, and we need it today or tomorrow, not next month. Why spend thousands on development time just to save a little performance? If you are really worried about performance you shouldn't be using Python in the first place.
    Harry.

    "From one thing, know ten thousand things."

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width