Skip to contentSkip to conversation

Will 2.6 require Python for any configuration ? (CML2)

DISCUSSION Samium Gromoff 3 participants 4 messages Aug 23, 2001 – Aug 25, 2001

lore
Share & tools
lore
#0 lore raw

Hey guys, can`t resist more this thread... =)

1. I heard a lot of arguments why _not_ to include
python. Also alot of arguments why _ignore_ the arguments to _not_ include python.
BUT! No arguments why to _include_ it...
kinda disbalance as i see.

2. Those who tells that playing with 21M large kernel
isnt any better than playing with kernel PLUS 20M python are, politely saying, definitely not right.

3. i ALREADY cannot tolerate how current config
heartbrakingly slow crawls on my p166. No, do not ask me why is it so. just think: we have 3k strings, 3k deps, and asketic ncurses interface. So WHY is it so slow? And you think python-powered config engine will be at least _approachingly_ tolerable on an 386??? Nah. It wont.

What we win in the true C way:
speed, size
What we lose --------=-------:
maintainability?????? (i`ll believe if esr
will tell so...)

---

cheers,

Samium Gromoff

#1 lore raw
Quoted 5 lines · Samium Gromoff

1. I heard a lot of arguments why _not_ to include
python. Also alot of arguments why _ignore_ the arguments to _not_ include python.
BUT! No arguments why to _include_ it...
kinda disbalance as i see.

The main reason to include it, is that that's what it was done in. If you go back and read the archives, ESR goes over why all sorts of other languages wouldn't work as easily.

Quoted 3 lines

2. Those who tells that playing with 21M large kernel
isnt any better than playing with kernel PLUS 20M python are, politely saying, definitely not right.

That wasn't my point at all. My point was that if you're somehow transfering the 21mb source .tar.bz2'ed, you can also stand to transport the 4mb of python 2.0.1 source, tar.gz'ed over as well. In other words, having to bring python over any of the methods that Jes mentioned isn't any more painful than the kernel source. It's roughly the size of a couple of vmlinux'es.

Quoted 7 lines

3. i ALREADY cannot tolerate how current config
heartbrakingly slow crawls on my p166. No, do not ask me why is it so. just think: we have 3k strings, 3k deps, and asketic ncurses interface. So WHY is it so slow? And you think python-powered config engine will be at least _approachingly_ tolerable on an 386??? Nah. It wont.

Have you tried cml2 on your p166? ESR went and did much speed tweaking of the code about 6 months ago it seems like and managed to please some of the people using a low-end pentium. Building a kernel on a 386 isn't approcaching tolerable right now anyhow. Someone pointed out today or yesterday it takes ~10 days.

Quoted 2 lines

What we win in the true C way:
speed, size

Speed is arguable. On my p2/333s I didn't notice much of a difference. On a lower end, yes, you might notice a bit of a slowdown. But I'm also one of those people who doesn't plan on running 2.4 on my p100 laptop, let alone 2.6.

Quoted 2 lines

What we lose --------=-------:
maintainability?????? (i`ll believe if esr will tell so...)

Python is no harder to maintain then C.

Signature · 2 lines
Tom Rini (TR1265)
http://gate.crashing.org/~trini/
#2 lore raw
In reply to Samium Gromoff
Quoted 11 lines · Tom Rini
Quoted 6 lines · Samium Gromoff

1. I heard a lot of arguments why _not_ to include
python. Also alot of arguments why _ignore_ the arguments to _not_ include python.
BUT! No arguments why to _include_ it...
kinda disbalance as i see.

The main reason to include it, is that that's what it was done in.

That is never an excuse.

#3 lore raw
In reply to Samium Gromoff
Quoted 10 lines · Ben Ford
Quoted 8 lines · Tom Rini
Quoted 5 lines · Samium Gromoff

1. I heard a lot of arguments why _not_ to include
python. Also alot of arguments why _ignore_ the arguments to _not_ include python.
BUT! No arguments why to _include_ it...
kinda disbalance as i see.

Quoted 3 lines
Quoted 1 line

The main reason to include it, is that that's what it was done in.

That is never an excuse.

Then write it in something else.

Signature · 2 lines
Tom Rini (TR1265)
http://gate.crashing.org/~trini/