From: brainchild <ericlevy-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: pandoc-discuss <pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
Subject: Re: build customizability
Date: Sun, 3 May 2020 23:45:09 -0700 (PDT) [thread overview]
Message-ID: <f9fd9cfe-e03f-45d3-bcb5-07267c28e565@googlegroups.com> (raw)
In-Reply-To: <43e8ce91-0738-4477-bcf5-e826219d9b1d-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
[-- Attachment #1.1: Type: text/plain, Size: 3131 bytes --]
Thank you for the recent comments. Let me respond to all in one message, as
they overlap in scope.
I address a few issues, in sequence, as follows:
1. *Markdown reader dependencies: *I now understand the conflict. In
many potential deployment scenarios, for example applications that employ
Markdown source, the embedding of snippets in some target language is
unlikely to be needed, except perhaps as narrowly allowed for equations.
Thus, if this functionality were entirely enclosed in extensions, and if
those extensions could be disabled in the build, then in principle it may
be possible to realize the benefit of removing the dependencies on the
parsers. I understand that it would require restructuring the code.
2. *Evaluating size of library dependencies: *If, as Albert says, only a
handful of packages may be eliminated from the build, even in the case that
only a few readers or writers were needed, and if the size of these
packages is not vastly greater than the size of others, then clearly the
material benefit of eliminating certain readers and writers from the build
is very limited. However, I make a few notes:
1. Is the reason that most dependencies would remain even after
removing most of the readers and writers that these dependencies are needed
separately by all the readers and writers, or rather that they are needed
by the core application? In the latter case, perhaps some of the core
functionality not needed in basic uses, again at least in principle, can be
separated.
2. My earlier question directed mostly at the difficulty of
determining confidently the complete set of dependencies to remove, without
invoking a formal solution such as graph traversal, compared to the
possibility of missing a set in an informal assessment.
3. *Footprint of Runtime System:* No, I was not specifically aware of
the size of the Runtime System. I am having difficulty finding a clear
indication of how much size it adds to the final executable size, but
estimates that seem to recur are in the 10-15 megabyte range. If these
estimates are accurate, then it would be impossible to achieve vastly
smaller sizes, obviously, but this information alone is not sufficient to
conclude the impossibility of achieving significant savings through methods
already discussed. Also, I am seeing some hints that a GHC backend for LLVM
is available that makes possible much more optimal build results.
Unfortunately, I have not found any quantitative assessment of these
savings, nor can I find any active project maintaining this interface.
--
You received this message because you are subscribed to the Google Groups "pandoc-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pandoc-discuss+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To view this discussion on the web visit https://groups.google.com/d/msgid/pandoc-discuss/f9fd9cfe-e03f-45d3-bcb5-07267c28e565%40googlegroups.com.
[-- Attachment #1.2: Type: text/html, Size: 3406 bytes --]
next prev parent reply other threads:[~2020-05-04 6:45 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-01 13:57 brainchild
[not found] ` <43e8ce91-0738-4477-bcf5-e826219d9b1d-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2020-05-01 15:51 ` John MacFarlane
[not found] ` <m2wo5vy7pz.fsf-pgq/RBwaQ+zq8tPRBa0AtqxOck334EZe@public.gmane.org>
2020-05-03 8:05 ` brainchild
[not found] ` <a9b39338-0830-45dc-bf30-59d8de61278b-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2020-05-03 12:39 ` Albert Krewinkel
[not found] ` <87wo5tgpkn.fsf-9EawChwDxG8hFhg+JK9F0w@public.gmane.org>
2020-05-03 12:55 ` brainchild
[not found] ` <459f63cf-31b3-48a4-adfe-21d5f23f9d22-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2020-05-03 13:39 ` Ivan Lazar Miljenovic
[not found] ` <CA+u6gbwbuU9QhDFygzHh259Pa99qCTNBAq6-Jym6z24hhCF=PQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2020-05-03 14:05 ` BPJ
2020-05-03 15:07 ` Albert Krewinkel
2020-05-04 6:45 ` brainchild [this message]
[not found] ` <f9fd9cfe-e03f-45d3-bcb5-07267c28e565-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org>
2020-05-04 14:47 ` Daniel Staal
[not found] ` <75f238b6-2ae0-2e73-66c9-54245b7cd655-Jdbf3xiKgS8@public.gmane.org>
2020-05-05 2:11 ` brainchild
2020-05-05 8:39 ` Colored text R. Wils
[not found] ` <CAJPsUMeBTr2BcSL8V8mQuh=50LDx+z8+547MUcMzZYqahF9CAQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2020-05-05 8:42 ` brainchild
2020-05-04 8:36 ` build customizability brainchild
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=f9fd9cfe-e03f-45d3-bcb5-07267c28e565@googlegroups.com \
--to=ericlevy-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
--cc=pandoc-discuss-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).