[MLton-user] replacing python in Fedora
Gergely Buday
gbuday at gmail.com
Tue Mar 1 13:41:08 PST 2011
Hi there,
I digged up a very old thread from the fedora-devel list:
---------- Forwarded message ----------
In https://www.redhat.com/archives/fedora-devel-list/2008-December/msg00722.html
Robert Scheck wrote:
And as we're cool, we need a daemon for everything: packagekitd, dbusd, hal
daemon, mcstransd, setroubleshootd, yum-updatesd - yay. And nearly every of
this daemons is written in the memory consuming python and has nice memory
leaks or other breakdown bugs. mcstransd is still slower for me (even after
the speedup somebody of the SELinux guys did) as previous implementation
without the daemon. But yes, we need daemons; restorecond would now be just
another example. I think, there's much more which can be solved without a
daemon and at least without memory-wasting worse written python. I'm aware,
that python is the Red Hat internal defacto default and that scripting is
much more faster rather coding low-level C. But lets waste ressources as
e.g. kerneloops daemon does which always consumes a bit of CPU and thus not
increases the consuming of energy in a positive way. But hey, let's create
another daemon to monitor where we're wasting and leaking memory...
Some suggested OCaml for a replacement of python, but got this
response from a Fedora board member:
> ... Or take the opportunity to jump to a safe language .. we've
> already got an OCaml cross-compiler.
Yes, let's move to something 'safer', which doesn't have ABI compatibility
ANYWHERE. That makes perfect sense.
Bill
--------------
I am no ABI expert so ask you: could mlton do that?
And, would mlton do a better job on memory than python does?
- Gergely
More information about the MLton-user
mailing list