-
Notifications
You must be signed in to change notification settings - Fork 13.2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"oxidize" in the make process is confusing people. #13781
Comments
I like oxidize, don't want it to be changed. For developers who compile
|
If that is a big concern, how about simply using "build"? Rustc does not have a traditional notion of separate compilation and link phases anyway (even though it technically does), so the generic term would be more sufficient. |
It confused me for some time. The change happened just before I tried building a crosscompiler for ARM for the first time, so I thought it was connected to that. Then it also said 'oxidize' when building normally. Much confusion, until I found the issue that changed Oxidize is cute but needlessly confusing. |
I agree |
If the one thing you don't understand about rust is what "oxidize" means, then I think you're doing quite well! Otherwise, there's probably more pressing issues to attend to... |
It would be easy enough to change once a simple decision is reached.
Trying to contribute to rust, I found this somewhat confusing at first. Eventually I inferred that it simply meant that it was building each crate. I think changing |
We should document it better (and make sure it is Google-able), but I think we should leave it - I think we should be confident about introducing little Rust-isms like this (as long as they don't hinder learning). They give the language its own feel and give a nice feeling of knowing your way around once you learn them |
Do you really want to have to explain this to every single new user? Cute names get tiresome quickly. |
For what it's worth, I originally thought that perhaps oxidize was a documentation extraction phase, similar to doxygen. If you get odd questions about documentation extraction, others may have similar misconceptions. Also, Rust is the programming language, and going from "Rust code" to "bare metal machine code" would be a reduction reaction, not an oxidation reaction. |
"compile_and_link" and "build" are more clear than "oxidize," and the change would be easy to make. What are the advantages to keeping oxidize? Are there any? |
It's cute, "Rusty" and gives us character. BTW, I believe this is just a makefile thing, anyone using a binary installer or a package doesn't see it, only those building from source.
I think this is the real kicker: we wouldn't want to be wildly chemically inaccurate. :P |
@nick29581 But part of the issue with cute things like this is that it makes things totally ungoogleable for newbies as well - the oxidization of Fe into Fe2O3 is all you'll find. Rust is already slightly painful for googling, why make it more so? |
New users are not required to compile rust from source, there's pre-build 2014年4月27日 上午6:52于 "nnethercote" notifications@github.com写道:
|
@huonw Well I guess it's okay if it's "only those" who have an interest in contributing to Rust that are confused. After all, nobody likes those people anyway ;) |
I wondered what 'oxidize' meant for a while during my first compilation until - call me slow - I remembered the name of the language was Rust.. then the penny dropped. I do think it is non-obvious though. Cute, but non-obvious. And noobs googling I think would continue to find problems in finding results. Just my ha'penny.. |
This was my addition and I think we should change it. I do like sprinkling this kind of whimsical "character" throughout the product, but it's not at all worth the confusion it's caused. "build" or "compile" is fine. |
FWIW, I built a rust before I actually wrote any rust code. When I /had/ some rust that I wanted to build, I tried |
One thing that i do kind of want is to distinguish Rust compilation from other compilation steps. "compile_and_link" served that purpose at the expense of being kind of silly since we know that building Rust crates involves linking. |
On a slight tangent, it would be really good to show the whole command line when we build rather than just the target. Makes it much easier to debug (just copy and paste, rather than think) and makes it explicit what phase compiler is used for what. |
Sorry, didn't mean to post that twice. Anyway, I discovered |
@nick29581 |
close rust-lang#13781 The `slow_vector_initialization` lint currently only suggests using the `vec!` macro with size, but it does not suggest removing the `resize` method call. changelog: [`slow_vector_initialization`]: improve `slow_vector_initialization` suggestion
Quite some time back, we changed "compile_and_link" to "oxidize" (#12126).
I’ve given up counting the number of people that have been confused by it and wasted time trying to find out what it means.
It was a bit of fun that is, unfortunately, actively making things harder for people.
Can we please change it back to "compile_and_link"?
The text was updated successfully, but these errors were encountered: