Stream: git-cranelift

Topic: cranelift / Issue #1164 Use a better naming scheme for Se...


view this post on Zulip GitHub (Jan 06 2020 at 15:03):

bnjbvr assigned Issue #1164 (assigned to bnjbvr):

Settings have weird naming schemes so far: some of them use the form "verb + nouns" (enable_verifier), others use "nouns + verb in past form" (probestack_enabled), and others only have nouns (colocated_libcalls).

We should use the form "verb + nouns" or only nouns, but get away from other forms. A few things could be clarified too. So I propose the following renamings:

I've also thought about renaming baldrdash_prologue_words => baldrdash_num_prologue_words, but this would repeat the setting type in addition to the type present in signature if #976 were to be implemented.

If that's agreed upon, I'm happy to do the work here. It's going to an API breaking change too. If you have ideas or opinions about names, it's a good time to chime in!

view this post on Zulip GitHub (Jan 14 2020 at 08:57):

bnjbvr commented on Issue #1164:

Fixed by https://github.com/bytecodealliance/cranelift/commit/3268b0d11f6646b95e250d9f5eba22756434bcef

view this post on Zulip GitHub (Jan 14 2020 at 08:57):

bnjbvr closed Issue #1164 (assigned to bnjbvr):

Settings have weird naming schemes so far: some of them use the form "verb + nouns" (enable_verifier), others use "nouns + verb in past form" (probestack_enabled), and others only have nouns (colocated_libcalls).

We should use the form "verb + nouns" or only nouns, but get away from other forms. A few things could be clarified too. So I propose the following renamings:

I've also thought about renaming baldrdash_prologue_words => baldrdash_num_prologue_words, but this would repeat the setting type in addition to the type present in signature if #976 were to be implemented.

If that's agreed upon, I'm happy to do the work here. It's going to an API breaking change too. If you have ideas or opinions about names, it's a good time to chime in!


Last updated: Nov 22 2024 at 16:03 UTC