Python3 instead of Java?

Discussion in 'Bukkit Discussion' started by gearsgod, Sep 30, 2012.

Thread Status:
Not open for further replies.
  1. Offline

    gearsgod

    After looking at the sources I got thinking, why not just port bukkit into Python3?
    From what I understand, python would make a much better server then using java.
    Or is their some big reason why it must be java that I am missing?
     
  2. Offline

    TnT Retired Staff

    I look forward to seeing what you come up with. :)
     
    tommycake50, MrBluebear3 and B3NW like this.
  3. Offline

    Lolmewn Retired Staff

    If you could give an example, that'd be great :D
     
  4. Offline

    SirTyler

    I think the main reason is that both minecraft and the default server are made in Java, granted you could still port but I do not believe there is any big difference between Python and Java that would require the port.
     
  5. Offline

    B3NW

    So you like the idea? ;)
     
    madmac likes this.
  6. Offline

    TnT Retired Staff

    It is an interesting concept.
     
    madmac likes this.
  7. Offline

    DrAgonmoray

    An interesting concept but highly impractical.
     
  8. Offline

    chaseoes Retired Staff

    Interesting concept.
     
  9. Offline

    Jnorr44

    I really would prefer it not be. Python is nice, but in my opinion Java is better. Java is what Minecraft uses, so Bukkit should use it to so players don't get confused when looking through the NMS code.

    Java 8 isn't too far!
     
  10. Offline

    Gravity Retired Staff

    My conclusion is typically... "why not just port bukkit into objective-c and run it on iphones" (kidding)

    In all seriousness, I don't see any reason why that would be needed, especially because of the fact that stuff like the MC-API, Mods, and everything at all Minecraft related will be inherently Java (including the NMS server itself), and so I don't see the point in putting in a huge amount of effort to port everything to a new language.
     
  11. Offline

    Deathmarine Retired Staff

    Oddly enough while surfing I found a open source C++ port.
    https://github.com/fador/mineserver
     
  12. Offline

    gearsgod

    My thought was that;
    • Python uses memory on the system as is
    • Runs on just as much platforms as java (with the exception of mobile devices)
    • 32/64 interchangeable
    • (opinion) Runs faster due to better cpu support and easy scaling

    I been working on just being able to login at the moment but keep hitting errors :p
     
  13. Offline

    TnT Retired Staff

    That was one of the first server software for Minecraft I tried before I found hMod. Sadly, it never got much traction.
     
  14. Offline

    Gravity Retired Staff

  15. Offline

    Amaranth Retired Staff

    This couldn't be more wrong. Outside of the narrow field of scientific computing (numpy and friends) Python is one of the slowest programming languages that currently exists, uses a ton of memory, and can't use more than one core without spawning multiple python processes (where for minecraft IPC could kill you). I like Python but don't try to make it something it isn't. In the benchmark game Java is third behind Fortran and C++ and Python is second to last with only Perl coming up slower.
     
    chakyl, Acrobot, MyPictures and 2 others like this.
  16. Offline

    gearsgod

    Odd, I have always used python for automation task and it always seems to do those within a decent amount of time.
     
  17. Offline

    afistofirony

    Yes, let's break ~20000 plugins and create more hassle for developers and server owners, as well as for Mojang!

    (And most likely drop OS X/Linux support!)
     
  18. Offline

    chaseoes Retired Staff

    Port, not change. :confused:
     
  19. Offline

    afistofirony

    Still gonna be a hassle :p
     
  20. Offline

    Drew1080

    You would not have to use it if you didn't want to.
     
  21. Offline

    afistofirony

    I understand that, but the fact is that devs would have to make a Python version and a Java version. Not to mention he Bukkit team has to make two versions of each Craftbukkit.

    I still think it's way too much work for not too many benefits.
     
  22. Offline

    Deonasoto

    You forgot the feature that Python is easier to learn than Java! :D
     
  23. Offline

    hawkfalcon

    /me disagrees
    java == easy to learn
    python == easy, but annoying
     
    gomeow likes this.
  24. Offline

    TnT Retired Staff

    Removed offtopic posts. This isn't a thread about learning Java.
     
  25. Offline

    Coelho

    I've never learned Python actually, and I might want to try it out.
    The simple reason Bukkit is written in Java is that it is built on top of Minecraft (also written in Java). However, it is possible to load plugins in Python using a custom PluginLoader!
     
  26. Offline

    SpaceManiac

    For the record such a custom plugin loader exists, I'll have to find the link to it later (it's on these forums somewhereabout).
     
  27. Offline

    TnT Retired Staff

  28. Offline

    Icyene

    There's a Python plugin loader? /me runs outside screaming in joy
     
    hawkfalcon likes this.
  29. Offline

    md_5

    Minecraft is written in Java, our work is based off the stock Minecraft server. CraftBukkit will never change but you are free to bind Bukkit to a 3rd party python server implementation.
     
  30. Offline

    Jnorr44

    I wish there was a dislike button...
    Doesn't matter, we want our plugins written by pros, not by neophytes.
     
Thread Status:
Not open for further replies.

Share This Page