• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

i need to know this, please, can you answer this questions and be fair

 
Ranch Hand
Posts: 692
Eclipse IDE Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
  • if we consider python, is python faster than java ?


  • does limitation of python is same as limitation of java ?
  • for what python is good for ? and we cant use java there


  • this is for my knowledge, i thought just to have this answers before learning python.
     
    lowercase baba
    Posts: 13089
    67
    Chrome Java Linux
    • Likes 2
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator

    naved momin wrote:if we consider python, is python faster than java


    Faster at what? Development? execution? debugging? and if it is faster, it it worth it if it takes 10 times the memory?

    naved momin wrote:does limitation of python is same as limitation of java ?


    What are the limitations of Java you are referring? I'm not saying there aren't any, I just wonder which ones you are thinking of...

    My REAL point here is that these questions are so vague that they don't really have answers. They're like saying "what is better - a hammer or a wrench?" The answer could be "neither" if what you want to do is saw a board in half.
     
    naved momin
    Ranch Hand
    Posts: 692
    Eclipse IDE Java Linux
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    let me rephrase my question for you,

  • if we consider python, is python faster than java ?
    the point in this is , java applications are slow at start-up because of various reasons
    is python application also suffers the same ?


  • does limitation of python is same as limitation of java ?
    The point is you cannot use java to code kernal modules,
    and java is a development language not research language is python the same


  • for what python is good for ? and we cant use java there
    The point in this if i can code any application in java (means java can be used to build anything)
    then why i should use python ? there must be some reasons ?


  • and most important why python is consider as highest level of OO language ?, is python don't have any premitives like int , boolean , double etc ?


  • i guess now any one can answer atleast 1 or 2 questions of mine
     
    author
    Posts: 23951
    142
    jQuery Eclipse IDE Firefox Browser VI Editor C++ Chrome Java Linux Windows
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator
    To start, Python is not my favorite language. Not even close. So, take my opinions with a grain of salt.

    naved momin wrote:

  • if we consider python, is python faster than java ?
    the point in this is , java applications are slow at start-up because of various reasons
    is python application also suffers the same ?



  • Python does have a mode where it compiles to C, then binary, so you can argue that it doesn't have such an issue.

    On the other hand, there are Java AOT compilers available too.

    Henry
     
    Henry Wong
    author
    Posts: 23951
    142
    jQuery Eclipse IDE Firefox Browser VI Editor C++ Chrome Java Linux Windows
    • Likes 1
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator

    naved momin wrote:

  • does limitation of python is same as limitation of java ?
    The point is you cannot use java to code kernal modules,
    and java is a development language not research language is python the same



  • Quite frankly, the kernal modules example is kinda silly. If you are going to write kernal modules, you do it in the language that everyone else is doing it in -- C and sometimes assembly. You pick the best language for the job that you want to do, sometimes it is Java, sometimes it is Python.

    Henry
     
    Henry Wong
    author
    Posts: 23951
    142
    jQuery Eclipse IDE Firefox Browser VI Editor C++ Chrome Java Linux Windows
    • Likes 1
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator

    naved momin wrote:

  • for what python is good for ? and we cant use java there
    The point in this if i can code any application in java (means java can be used to build anything)
    then why i should use python ? there must be some reasons ?



  • If the point is to pick one general purpose language, then yea, choosing Java is definitely better than Python. IMO, Java is more flexible, has more tools/libraries, etc. However, as a professional programmer, you don't always get to choose the language. What happens when you join project that is already using Python?

    Henry
     
    naved momin
    Ranch Hand
    Posts: 692
    Eclipse IDE Java Linux
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator

    Henry Wong wrote:

    naved momin wrote:

  • for what python is good for ? and we cant use java there
    The point in this if i can code any application in java (means java can be used to build anything)
    then why i should use python ? there must be some reasons ?



  • If the point is to pick one general purpose language, then yea, choosing Java is definitely better than Python. IMO, Java is more flexible, has more tools/libraries, etc. However, as a professional programmer, you don't always get to choose the language. What happens when you join project that is already using Python?

    Henry


    henry my friend you miss the last one
    and how you could code kernal modules in java
    because when machine starts there isn't JVM to run java codes
    it could be done only if one compile java directly into machine language and not into byte code.
     
    Sheriff
    Posts: 10445
    227
    IntelliJ IDE Ubuntu
    • Likes 1
    • Mark post as helpful
    • send pies
      Number of slices to send:
      Optional 'thank-you' note:
    • Quote
    • Report post to moderator

    naved momin wrote:
    henry my friend you miss the last one
    and how you could code kernal modules in java


    Henry already answered that in one of his previous posts. Why would you want to use some language which isn't meant for the task that you are trying to accomplish?
     
    reply
      Bookmark Topic Watch Topic
    • New Topic