Originally posted by qparis
View Post
In my experience, python libraries have always been properly compiled. I've had one issue with a libusb error on an ARMv7 platform, which was caused by the lsusb linux binary being improperly compiled. Also, not all libraries are compiled - many of them are nothing more than .py and .egg files, effectively making them portable on any platform with an interpreter.
Unfortunately no, I can't link to the projects because most are specific to a business or a hardware platform. Of the ones that aren't restricted, they're somewhat broken due to my lack of interest in maintaining them (they were just free-time projects).
In what langage do you think Jython is written? As long as you have a Java runtime, Jython will work, so nope, it won't be less portable. Also, heard about jar dependencies?
Not consulting the community would have be not writing any kind of news and not risking to post something on Phoronix. This is different. I think that we are quite transparent.
In that case, you would be suprised to learn that we have currently more people interested to contribute to the project than ever.
In that case, you would be suprised to learn that we have currently more people interested to contribute to the project than ever.
Anyway, I'm not implying that python is a better language than Java and I'm not saying python is the best choice for POL. But, for linux, python is significantly more portable and obviously proven worthy considering POL has been using it for all this time.
Give precise example please.
Java can be modestly memory efficient if the developer pays close enough attention. But it is notorious for memory leaks. It has a lot of useful tools for memory management but only if used properly. Meanwhile, languages like C++ are too picky about memory management to easily cause leaks, and most interpreted languages seem to do a pretty good job at collecting garbage on their own. The average program run by an interpreted language might use up to 35MB, and a lot of that memory is shared. I've also had Java updates that exceed 160MB, meanwhile, updating python or perl with every library I have might be less than 60MB.
I've used plenty of Java applications that would be completely dysfunctional because of a java update. A good example of this is LogicalDoc, which breaks on almost a monthly basis. I've used Java card game organizers that also failed after java updates. It's hard to think of more examples, since I so rarely encounter PC-based java applications these days.
Again - I'm not hating on Java, I think it's a useful language. But ever since Oracle took control, it's probably the least dependable portable language you can get for desktop systems. Great for servers and workstations, not so great for PCs. I would also say that if this were Windows software, Java would be a fine choice, since Windows is much more Java friendly than it is python friendly.
Comment