Re: F22 Self Contained Change: Disabled Repositories Support

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 2015-03-20, 14:28 GMT, Richard Hughes wrote:
> Now imagine you're trying to write a command-not-found implementation
> that uses python to load yum. The Yum codebase is pretty huge, and by
> the time the 50ms  "user needs results now" timer expires we're not
> even at "loading metadata" let alone returning results.

Use right tool for the right job. Premise that this obviously 
rather time-sensitive application cannot be written in Python 
(which might be true) doesn’t lead to conclusion that no system 
application should be written in it.

If you mean that libsolv and libcomps should be written in C, 
and that for this (rather specialized and not absolutely 
necessary) weird application core of yum being written in Python 
was too slow, I would agree.

> Python is awesome for prototyping and for little scripts. It's just
> not awesome at everything.

Not it is not awesome for everything, but something tiny like 
for example Google Website, or some other tiny little scripts 
https://www.python.org/about/success/ it does pretty well.

Matěj

-- 
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel
Fedora Code of Conduct: http://fedoraproject.org/code-of-conduct





[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux