Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 36

Thread: Dropbox Announces Their Own Open-Source Python

  1. #21
    Join Date
    Feb 2011
    Posts
    1,310

    Default

    Quote Originally Posted by brk0_0 View Post
    Take a look at MIT's Julia Language. I know Python and Matlab are the current kings on this land, but Julia is very promissing and VERY fast.
    I know about Julia, but whether it will ever replace Python is still an open question. It has a core set of very dedicated developers, but its community is very, very far from Python's at this point. That may change, but there is no guarantee it will change, especially if python gets a unified JIT system.

  2. #22
    Join Date
    Mar 2014
    Posts
    3

    Default

    Quote Originally Posted by litfan View Post
    Keep telling yourself that. Maybe one day it'll be true.
    Not everything revolves around the web you know. Python is actually used in Scientific Computing quite extensively
    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}.

  3. #23
    Join Date
    Jul 2013
    Posts
    341

    Default

    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).

  4. #24
    Join Date
    Jun 2013
    Posts
    20

    Default

    Quote Originally Posted by sarmad View Post
    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).
    Once 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!

  5. #25
    Join Date
    Sep 2012
    Posts
    320

    Default

    Quote Originally Posted by litfan View Post
    Keep telling yourself that. Maybe one day it'll be true.
    Have you ever used Python/Django and Node.JS?
    I have. What I chooses Django for I would never ever even think about Node for
    and the same is true in reverse.

  6. #26
    Join Date
    Aug 2011
    Posts
    30

    Default

    Quote Originally Posted by [wrd] View Post
    An 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
    They've also tried to use LLVM for a JavaScript JIT and it was pretty bad.

  7. #27
    Join Date
    Nov 2013
    Posts
    38

    Default

    Quote Originally Posted by Qaz` View Post
    I 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.
    Indeed... at my day job we developed a cross-platform native GUI for our main product in Python (which was originally written in C++/MFC for Windows only). We also use Python for lots of other things such as our build system (using SConstruct and our own custom code to interact with CVS and Samba), generating C++ code (with Cog), parsing and converting HDL (hardware description language) code to various different file formats, and more.
    Last edited by shaurz; 04-04-2014 at 10:41 PM.

  8. #28
    Join Date
    Oct 2006
    Location
    Israel
    Posts
    632

    Default

    Quote Originally Posted by quasipedia View Post
    To 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!!!
    I may have missed some "<sarcasm>" tag somewhere, but the huge amount of actively maintained C code seems to suggest other wise.

    ... and good luck writing high performance user/kernel code in PHP...

    - Gilboa
    DEV: Intel S2600C0, 2xE52658V2, 32GB, 4x2TB, GTX780, F20/x86_64, Dell U2711.
    SRV: Intel S5520SC, 2xX5680, 36GB, 4x2TB, GTX550, F20/x86_64, Dell U2412..
    BACK: Tyan Tempest i5400XT, 2xE5335, 8GB, 3x1.5TB, 9800GTX, F20/x86-64.
    LAP: ASUS N56VJ, i7-3630QM, 16GB, 1TB, 635M, F20/x86_64.

  9. #29
    Join Date
    Jul 2013
    Posts
    341

    Default

    Quote Originally Posted by quasipedia View Post
    Once 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!
    Those 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.

  10. #30
    Join Date
    Jun 2013
    Posts
    20

    Default

    Quote Originally Posted by sarmad View Post
    Those 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.
    First, machine cost = low. Human cost = high. If a company did not achieve financial success through a language that shifted costs towards the machine end of the spectrum, they would only have failed more rapidly if they picked a highly efficient, error-prone, difficult to debug language. There's a reason why organisations like Google, Gnome or Mozilla all developed new languages (Go, Vala, Rust respectively) for moving costs onto 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...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •