Olivia5k / piper

Build system that builds and very little more
http://thiderman.org/piper/
MIT License
5 stars 0 forks source link

How about being Python 3 only? #25

Closed Olivia5k closed 9 years ago

Olivia5k commented 9 years ago

We haven't really reached that point yet, but asyncio might make or break how piper works given the fact that it will be request-response heavy. asyncio is basically Python 3 only (save for trollius, but hey - who wants backports really?).

Is there actually a point in making the project only support Python 3? For the future and all such jazz? At some point in time some projects will have to take that stance. Maybe it's a good thing to be on that frontier?

daenney commented 9 years ago

I have been thinking about this lots actually and I think we can do Python 3 only. Most Linux distributions now include Python 3.4 (including Ubuntu 14.04), which as an added benefit gives us access to asyncio and some really cool stuff in the from of aiohttp and aiohttp.web, including websocket fluff.

As a complete side-track, we can even compile piper down to C++ linked to libpython3.4 through nuitka. I've tried it on a few projects, it's pretty neat. This can potentially give us a much cooler deployment/packaging scenario too since we can depend on whatever third party Python module we want and have it be compiled in so no "oh crap Debian doesn't have this module packaged up" or "oh fuck Red Hat only has that ancient version".