Python users in Haiku

Forum thread started by HaikuForever on Mon, 2013-08-12 16:45

Is there an active Python community in Haiku? The few posts mentioning Python give the impression that this language is not much used in Haiku.

What is the current status of Python in Haiku? And what are the prospects of a Python developer on this platform?

Comments

Re: Python users in Haiku

Well ... I think for someone who needs the kind of assurances you're asking for, the prospects are pretty poor!

There are all kinds of reasons to stay away from Haiku. It's for people who can't listen to reason, and certainly it's for people who don't need to be part of a big crowd. Python development is of course a tiny minority within a tiny minority, so the "active" index probably changes drastically from one month to the next, as the one or two things get started or completed.

As for the technical side of the situation ... what kind of Python development? The question here is about platform dependencies - as far as I know, Python runs without real problems on Haiku, so we can take for granted that you can process data files etc. the same as on any platform. Let's say there are three kinds of Python application:

  • few or no platform dependencies
  • platform independent package that needs a platform GUI
  • heavily platform dependent application, typically GUI
  • (Note that there's no TK here, Wx, etc.)

    Haiku's Python interface modules should be accommodate the second case, with a little luck. You have access to most of the Application and Interface kits. The third case, though, not so much. Why not? Not because it's any different, in principle really. But that application developer is not going to find what he or she's looking for, because Python's Haiku platform support is only a "thin" layer over the native C++ API. You need to know C++ to understand it, and it isn't going to be significantly more convenient than the underlying C++, maybe less convenient in some ways. And it's inevitably going to fall a little short of a native C++ application in one way or another.

    Re: Python users in Haiku

    Current version of python for Haiku is 3.2, so it's a bit behind. Apart from that, many build tools, as well as package management tools rely on python. As long as you are not developing UI applications, you can assume they will work on Haiku without any issues.

    But since Haiku only has a very small niche in the OS landscape, the intersection between Haiku developers and Python developers might not be very large.

    Re: Python users in Haiku

    It would be nice to have a bigger Python-Haiku community...

    P.S. Can someone delete Merry's comment? Looks like spam.

    EDIT: Deleted already. I see...