Stream: t-compiler

Topic: hypothetical WG-rustc-memory-usage


nnethercote (Apr 11 2019 at 23:06, on Zulip):

@nikomatsakis I am monitoring Zulip, but my timezone is terrible for these meetings.
I am open to the idea of WG-rustc-memory-usage, but I have questions. Who would be in it? What would it involve? Etc.

pnkfelix (Apr 12 2019 at 09:33, on Zulip):

I suspect its more important who would lead a WG than to worry about the overall membership

pnkfelix (Apr 12 2019 at 09:34, on Zulip):

I was musing about whether I should offer to lead a WG-rustc-memusage; now that NLL is wrapping up, its not totally absurd for me to try to take on something like that.

pnkfelix (Apr 12 2019 at 09:37, on Zulip):

In terms of what it would involve: the main tasks I could imagine are 1. investigating and documenting the best tools on each platform for measuring mem usage (@nnethercote has mentioned DHAT, a valgrind tool; I don't know if that works equally well on all platforms)

pnkfelix (Apr 12 2019 at 09:38, on Zulip):

2. identifying potential changes to either the rustc source or to libstd for reducing mem usage, trying them out, and documenting what effect they had

csmoe (Apr 12 2019 at 09:39, on Zulip):

In terms of what it would involve: the main tasks I could imagine are 1. investigating and documenting the best tools on each platform for measuring mem usage (nnethercote has mentioned DHAT, a valgrind tool; I don't know if that works equally well on all platforms)

(valgrind not working on macos)

pnkfelix (Apr 12 2019 at 09:40, on Zulip):

(BTW this topic was originally part of the meeting topic, but I moved it to its own topic, for anyone who's trying to understand @nnethercote 's first message.)

pnkfelix (Apr 12 2019 at 09:41, on Zulip):

I do admit that there is a question about whether the intention of such a WG would be a short-term goal to hit a specific target in reduction of memory usage

pnkfelix (Apr 12 2019 at 09:41, on Zulip):

or if it would be a longer-term task of trying to minimize mem usage

pnkfelix (Apr 12 2019 at 09:42, on Zulip):

the latter does not sound terribly fun

pnkfelix (Apr 12 2019 at 09:42, on Zulip):

I think its easier to get people excited if you have a concrete goal and a deadline you're trying to hit to reach that goal

pnkfelix (Apr 12 2019 at 09:42, on Zulip):

but of course that requires choosing a goal that is actually realistic.

pnkfelix (Apr 12 2019 at 11:51, on Zulip):

Oh BTW I had forgotten about this label: https://github.com/rust-lang/rust/labels/I-compilemem

Last update: Nov 22 2019 at 05:05UTC