6 ms·
Rust is about letting the compiler slap you for your mistakes in the privacy of your own Xterm, instead of letting Jenkins do it 10 minutes later, in front of a
by ocschwar 10y ago
Rust is about letting the compiler slap you for your mistakes in the privacy of your own Xterm, instead of letting Jenkins do it 10 minutes later, in front of all your co-workers.
- geodel 10y agoMaybe it will change in future. Currently slaps seems so hard that developers are still smarting and not producing code for production
- steveklabnik 10y agoRust is being used in a number of places in production for a wide variety of things: https://www.rust-lang.org/en-US/friends.html https://www.rust-lang.org/en-US/friends.html
- geodel 10y agoI know and I would also try Rust if I can make some small but useful things at work. But I mostly deal with various combinations of XML, SOAP, HTTP, LDAP etc. Rust does not have anything over Java, which I use currently, in my usecases.
- ocschwar 10y agoI have to deal with a pre-REST, pre-SOAP XML API, which I would love, love, to be able to handle in Rust. But until Serde-XML is able to deserialize more of that stuff and preferably handle XSDs, I'm stuck too.
- yawaramin 10y agoMaybe you could call out to a C XML library in the interim?
- nnethercote 10y agoIt's perfectly reasonable to say "Rust isn't appropriate for my use case". Your comment higher up was more along the lines of "Rust isn't appropriate for anyone" which is far less reasonable.
- zerofan 10y agoIf you're going to put words in his mouth, you should make them much stronger words. It's not a valid argument either way, but it'll seem more dramatic. (He didn't say either of your quotes...)
- tomjakubowski 10y agoI downvoted you initially, but changed to an upvote to hopefully ungrey your comment. The use of quotation marks on the Internet (especially on Internet discussion forums) has become non-standard, and I can see how it could be confusing. I think on HN that we tend to use italics or email-style > block-quoting to indicate direct quotations of posts or user comments. Quotation marks on forums like HN tend to be used either to mark dialogue (things spoken out loud) or to mark paraphrased or "hypothetical" thoughts. This is different from the use of quotation marks in formal English writing, as described by Wikipedia [1]. Here, the quotation marks are used to separate the "paraphrased thought" from the rest of the sentence. I'm actually finding it hard to describe exactly how quotation marks are used this way on the Internet; it's something I've just developed a "feel" for. There's more discussion of this phenomenon here. http://metatalk.metafilter.com/23184/Should-we-keep-quotation-marks-just-for-quotations http://metatalk.metafilter.com/23184/Should-we-keep-quotatio... [1]: https://en.wikipedia.org/wiki/Quotation_marks_in_English https://en.wikipedia.org/wiki/Quotation_marks_in_English
- zerofan 10y agoSorry, next time I'll say something like "If you're going to misrepresent his intention" so as not to confuse a quoted sentence. And I won't use the word "say", because clearly nobody says anything in a text forum. /s I find it very obnoxious when people exaggerate what someone else said so as to make it easier to contradict. I gather you don't have any problem with that? Yet you do have a problem with people calling it out as bad behavior? Are you sure you know why you're policing anything?
- deleted 10y ago[deleted]
- deleted 10y ago[deleted]
- catnaroek 10y agoWhat exactly is being figuratively slapped? And what exactly do you propose the compiler should do when the code is obviously wrong?
- pimeys 10y agoWe've been in production with Rust almost six months already. Couldn't be happier with the language. Works like a charm with our consumers.
- kibwen 10y agoCan I ask which company you're with? Are you already listed on https://www.rust-lang.org/friends.html https://www.rust-lang.org/friends.html ?
- echelon 10y agoIt takes time to get used to writing Rust, dealing with the borrow checker, and fulfilling the proper trait bounds (Sync, Send, Sized, etc). I don't run into nearly as many compiler complaints now that I've written my fair share of Rust code. I feel like I'm quite productive in Rust, actually.
- ghthor 10y agoThose slaps represent a bunch of tests that were being reinvented for each program that have now been factored out and up into the compiler.