Originally posted by brk0_0
View Post
Announcement
Collapse
No announcement yet.
Dropbox Announces Their Own Open-Source Python
Collapse
X
-
-
Originally posted by litfan View PostKeep telling yourself that. Maybe one day it'll be true.
and it's gaining momentum in this area. Python in it's own is not quite as useful as
what you can easily do with Python/Cython/C++/C/Fortran etc (see e.g. xdress for how easy it can be to interface C++).
The use cycle is usually: 1. Prototype in Python 2. Profile to identify hot-spots. 3. Move those parts (usually <5% of codebase) to ${FAVOURITE_COMPILED_LANGUAGE}.
Comment
-
Once again, a team picks up a fancy and trendy language without giving consideration to performance, only to realize later that they need C++ kind of performance. But guess what, a better compiler won't be much helpful if your code is highly dependent on dynamic objects and garbage accumulation (collection as many prefer to call it).
Comment
-
Originally posted by sarmad View PostOnce again, a team picks up a fancy and trendy language without giving consideration to performance, only to realize later that they need C++ kind of performance. But guess what, a better compiler won't be much helpful if your code is highly dependent on dynamic objects and garbage accumulation (collection as many prefer to call it).
Comment
-
-
Originally posted by [wrd] View PostAn intern at google tried that and it's called unladen swallow [1].
it seems alot more promising to look into the openjdk world. Some people are working on truffle a specializing ast implementation.
There is an experimental branch that implements this for python3 ([2]).
Actually LLVM is a pretty bad JIT. Some people tried to make an OpenJDK backend that uses LLVM to make a plattform independent JIT called Shark. It was very slow ([3]).
[1]: https://code.google.com/p/unladen-swallow/
[2]: https://bitbucket.org/ssllab/zippy
[3]: http://icedtea.classpath.org/wiki/ZeroSharkFaq
Comment
-
Originally posted by Qaz` View PostI use python for a lot of small tools and batch scripts at work. We are a c++ shop, but use python for "scripty things" and build/content management. Neither go or js are hardly alternatives there. Not that I do any heavy lifting in python, but it is excellent in orchestrating the tools that do. Python is king at string management and "batteries included".
There is software development being done outside of the web.Last edited by shaurz; 04 April 2014, 09:41 PM.
Comment
-
Originally posted by quasipedia View PostTo be honest, the OP to me seemed more genuinely clueless about what he was talking about, than trolling. But yeah... I was surprised too by the amount of replies he got!
Let me try too: C is dead, C is dead!!! Whoever uses C nowadays is stupid, PHP is sooooo much better!!!
... and good luck writing high performance user/kernel code in PHP...
- GilboaoVirt-HV1: Intel S2600C0, 2xE5-2658V2, 128GB, 8x2TB, 4x480GB SSD, GTX1080 (to-VM), Dell U3219Q, U2415, U2412M.
oVirt-HV2: Intel S2400GP2, 2xE5-2448L, 120GB, 8x2TB, 4x480GB SSD, GTX730 (to-VM).
oVirt-HV3: Gigabyte B85M-HD3, E3-1245V3, 32GB, 4x1TB, 2x480GB SSD, GTX980 (to-VM).
Devel-2: Asus H110M-K, i5-6500, 16GB, 3x1TB + 128GB-SSD, F33.
Comment
-
Originally posted by quasipedia View PostOnce again, a team picks up a language that allows them to deliver quickly and well, and being able to do so they outperform their competition and establish them as the market leader, to the point they actually can dedicate time and money to contribute back to the language community with a new interpreter... I think this story is pretty similar to that of that other little site you may have come across time to time... what was called? Ah, yes.... Facebook!
Comment
-
Originally posted by sarmad View PostThose are the successful examples, what about the other hundreds of projects that never got the financial success needed to write a new compiler? What about the other example where the company got more successful than Facebook and have their own language and compiler team already and still couldn't improve the situation because it has gone beyond fixable (Microsoft)? But hey, let's pick a language that trades performance for quick delivery and leave it up to the users to replace their machines for faster machines.
Second. To the best of my knowledge none of Dropbox clients is in Python (they are compiled binaries, not PYC files, at least on my machine), so your remark on requiring users to upgrade their machines is just irrelevant.
Third. I hate Microsoft, yet... what's wrong with their .NET platform? What are you referring to with "beyond fixable"? If it weren't for the proprietary licences, I would swap C# for PHP any day...
Comment
Comment