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

Bug#910280: pandoc: Please reduce the binary size

Quoting John MacFarlane (2018-10-04 19:58:54)
> Jonas Smedegaard <jonas@jones.dk> writes:
> > The proper solution here, I guess (but am not expert in Haskell so 
> > may be wrong) is to switch to using shared linking, so that 5 
> > Haskell binaries will not consume 5 x the disk space of the parts 
> > reused among them.
> Yes, in theory.  But this didn't work well in practice when arch linux 
> tried it.  It meant that installing pandoc forced installation of a 
> very large number of dynamic libraries, and people really didn't like 
> this.
> https://www.reddit.com/r/haskell/comments/6jj8ha/whats_going_on_in_archlinux_pandoc_requires_1gb/

Well, seems they chose to not properly separate development code from 
runtime code.

Try install a single KDE program program - e.g. Krita - on an otherwise 
GNOME or Xfce system - that'll also pull in several hundred megabytes.  
But then the next one will not.  I would expect similarly that 
installing Pandoc as the _only_ application written in Haskell would 
pull in maybe 50 MB or maybe 150 MB (but not 1GB when sensibly packaged) 
and then installing another Haskell-based application would require far 

But I don't know.

 - Jonas

 * Jonas Smedegaard - idealist & Internet-arkitekt
 * Tlf.: +45 40843136  Website: http://dr.jones.dk/

 [x] quote me freely  [ ] ask before reusing  [ ] keep private

Attachment: signature.asc
Description: signature

Reply to: