Pushing Python Past the Present
archlinux.me
archlinux.me
While I understand that this decision may have increased calls for help from Arch users in #python, Arch is strictly rolling release, and Python 3 has been out for 4 years now. Given this last fact, the vitriol I encountered was quite surprising.
[1]: Asking simply for a method to obtain compile-time information about python from python. I got the answer from a sympathetic person in the channel. Thanks felipe
Really? Isn't Arch complaint with PEP 394 [1], which deals with that issue? The problems are mostly with people assuming `python` means `python2`, and distros/installs not providing the `python2` command.
>python should refer to the same target as python2 but may refer to python3 on some bleeding edge distributions
Is Arch considered bleeding edge?
I've never run Arch, my impressions are from what I've read. Coincidentally it was the python3 thing that helped me decide not to use Arch.
Since I don't run arch (or gentoo) I don't speak with any authority. Searching around, I saw something about yaourt, which may or may not serve the same intention for the type of distro that arch is.
https://wiki.archlinux.org/index.php/Yaourt
Dunno.
Someone should make a way to sharing ebuilds with the same useflags and CFLAGS(or at least compatible CFLAGS) so users could opt-in and 'crowdsource' the binary generation, as I feel gentoo with binary packages would be the best distro ever (I am aware portage supports binary files, it is just prohibitevly expensive to support all configurations.
The combination of USE flags / CFLAGS / LDFLAGS that make sense for individual users is so high that maintaining binary repos doesn't seem feasible.
Yes, Arch follows the recommendations of the link you provided. I was compiling a naïve program that assumed /usr/bin/python to be Python, so I was trying to hack autoconf (or cmake?) by overriding the hard-coded path with the python2 libdir.
I thought it would be nice to ask python2 itself for its library path so I asked #python. The channel moderator in turn appended "NO ARCH" to the channel banner once I mentioned Arch Linux.
http://mailman.archlinux.org/pipermail/arch-general/2011-Dec...
I personally agree with the sentiment, though if I were one of the ones that responded to the OP I hope I didn't do so abrasively.
I don't find that unfortunate at all. With one single standardized language we have fragmentation across browsers which sometimes causes problems. Allowing arbitrary languages would be a nightmare.
There is, of course, a workable way to do arbitrary languages already, which is to do it the way CoffeeScript and many of its cousins do it: implement the compiler in JS and compile your scripts to JS on the client side.
Would it be nice if such compilers could compile to a more sane and low level intermediate representation instead? Sure. But that's not the world we live in, or will likely ever live in (although maybe, if the IR were a subset of JS... but I digress).
I'm not sure about that.
One thing i really dislike about web development is that it's so unnecessary complicated to say "i want to use ECMASript 5 for this web page" and then let the browser decide what to do, either just stupidly show an error message, or, more intelligently, download the necessary components to make ECMAScript 5 work, kind of what a package manager would do. If the web would have been polyglot from the start (in the scripting language side), i think it's not far fetched to imagine that browsers could have adopted a similar approach to the later one.
Really, i feel it's really stupid that we've been fallen into this "beware, <browser X> doesn't support Array::map!" trap, instead of "how silly, Array::map didn't exist because i didn't mark my <script> tag with language=ecmascript5, now it does :)". I can't but feel that Only One Scripting Language to Rule Them All mentality brought us here.
But anyway, the What Would Have Happened If won't take us anywhere. The decision for us to make is: do we embrace a polyglot/package managed like architecture now, or do we continue with (re)standardising the one and only web scripting language?