Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Binary diff package system?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo Chat
View previous topic :: View next topic  
Author Message
gilesjuk
Guru
Guru


Joined: 11 Feb 2003
Posts: 412
Location: Staffordshire, UK

PostPosted: Fri Mar 14, 2003 2:39 am    Post subject: Binary diff package system? Reply with quote

If Gentoo want to supply binaries at a later stage why not first create a base set of packages for the minimum supported CPU, then create packages for all the other CPU types. But instead of supplying all these other packages, supply a binary diff (delta) against the base packages.

Would these deltas be much smaller or am I hoping for too much? it is just a mad idea that leapt into my mind :)

I can't see why this isn't done for all distros, ie. an author of an application provides binaries and each distro provides a patch. This is one way of solving the need to download and compile source, something that hold back wider Linux usage IMHO.
_________________
^<^>^<^>^
G. Jones
-=-=-=-=-=-
Back to top
View user's profile Send private message
gilesjuk
Guru
Guru


Joined: 11 Feb 2003
Posts: 412
Location: Staffordshire, UK

PostPosted: Fri Mar 14, 2003 3:40 am    Post subject: Re: Binary diff package system? Reply with quote

Biiiiiiig silence, it's either such a bad idea that nobody cares or a good one that someone has stolen and will make millions from.

Anyway, it's a silly time so I'm off to bed :)
_________________
^<^>^<^>^
G. Jones
-=-=-=-=-=-
Back to top
View user's profile Send private message
Ari Rahikkala
Guru
Guru


Joined: 02 Oct 2002
Posts: 370
Location: Finland

PostPosted: Sat Mar 15, 2003 1:48 pm    Post subject: Reply with quote

As far as I know, the difference betweem two binaries compiled for different architectures tends to be of the sort that's very hard to make small diffs for - pervasive instruction order changes, some specialised instructions here and there, and only some rare pieces that are similar on different architectures. This is the popular perception, anyway - I have never actually tested if it is true. Now, with a really sophisticated differ, it might be possible to make deltas for binaries compiled with different support options (USE flags in Gentoo lingo) that are smaller than the binaries themselves, but I'd doubt even the feasibility of that. Still, I've never actually compiled a program with different optimization or linking arguments and checked how big the diffs between the binaries are, so I can't be sure if I'm right or wrong.
_________________
<laurentius> gentoo linux?
<ari> Yesh.
<laurentius> they look horny
Back to top
View user's profile Send private message
gilesjuk
Guru
Guru


Joined: 11 Feb 2003
Posts: 412
Location: Staffordshire, UK

PostPosted: Mon Mar 17, 2003 2:05 am    Post subject: Reply with quote

Well it would require a smart diff tool yes. I think it would need to deal with binaries on the subroutine level.
_________________
^<^>^<^>^
G. Jones
-=-=-=-=-=-
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo Chat All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum