>From 4.0 to 6.0 the code was in C. From 6.1 - current it's in
python.
We switched to Python for several reasons:
1) it's dirt easy to debug -- errors raise exceptions that can
easly be written to disk, we include the tiny pdb debugger so
you can drop right in to a debugging session to poke at things
in an uncaught exception
2) we were faced with rewriting the whole installer because we
needed a GUI interface, and the C code was really getting
rotten (if you're complaining about the Python code, you've
never messed with the C code...)
3) We needed to implement the GUI interface fast -- I was
rewriting 200+ line C functions in 20-30 lines of Python. High
level languages can really work for you.
4) We already had working Python bindings for RPM, GTK+, and newt
(for text mode).
5) No way were we going to write an installer in Perl (again)
Matt
On Sat, Aug 05, 2000 at 07:33:03PM -0400, Victor Shnayder wrote:
>
> I'm pretty sure that I read somewhere that they were written in C.
> Supposedly the switch to python was made because it was simpler/faster
> to write.
_______________________________________________
Redhat-devel-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-devel-list