TWiR quote of the week

As the Captain Anton Fetisov once said,

(the rest of the paragraph is good too, but cut like this is just too good of a cultural reference to miss)

6 Likes

Thanks to all for the very helpful responses. "The Book" says The community is very welcoming and happy to answer students’ questions "; I expected that to be just marketing, but I was wrong.

By @Daryl in w\Why is it called "unit"?

8 Likes

"That's one of the great things about Rust: sometimes you can do something really dumb and get away with it."

-- Rik Arends at RustNL, talking about code optimization or the lack thereof

8 Likes

I do wish that people could see Rust as more than a better C/C++. It's an amazing language for web services and CLIs.

It's not just that it doesn't have a GC. It also doesn't have some of the worst features of OOP, it also has a sane std library, it also has an expressive type system, etc. Rust helps you write better code, even when compared to languages like Java or Python.

insanitybit on Hacker News

7 Likes

That is an odd comparison to me. Java does very little to help write better code, Python even less. A comparison to something like Ada would be more fitting.

1 Like

This is what I get for taking a quote out of context :grinning:

The parent comment compared Rust to C/C++; the one I quoted argues that Rust shines not only as a C/C++ replacement, but also when compared to higher level languages and applied to tasks where you wouldn't typically be reaching for C/C++ (web services).

...some people found error messages they couldn't ignore more annoying than wrong results, and, when judging the relative merits of programming languages, some still seem to equate "the ease of programming" with the ease of making undetected mistakes.

On the foolishness of "natural language programming", E.W. Dijkstra

21 Likes

It was a public post and making joke using a marginalized community.

Due to the nature of this thread, I think it's best to – if possible – avoid answering to posts too far back :wink:

These open-source projects show that Rust provides both high performance and pace of development while also attracting a lot of contributors. There is a long-standing tradition of developing tooling for a programming language using that language. Rust breaks from this tradition quite effectively.

There are a few other possible quotes in the article, worth reading in full.

Yeah. I spaced out and didn't notice the date.

1 Like

From an exchange I had over here.

3 Likes

I'd like to propose this quote from the Rust matrix channel as quote of the week:

As sometimes we need to remember to care for life beyond our software. :slight_smile: :crab:

8 Likes

.

18 Likes

His last paragraph has been obsolete for a few months now, and the whole world will soon find out how apt the rest of the essay is

We shall see. At the end of the day, the hard part of programming has always been high-level, big-picture planning with an understanding of the system's strengths and weaknesses.

If GPT-4 can do a better job of that than any other attempt to give "the people who already have the domain knowledge for the business" direct ability to write the code, we have a lot more to worry about as a society than some lost programmer jobs.

Likewise, I don't see how it alters his statement that moving from natural language to formal syntax was important for the evolution of mathematics. It's essentially the same problem as people asking for a way to add Rust's guarantees to C++ without all that complex retrofitting annotation of invariants that gets disguised as "writing Rust bindings".

3 Likes

While it's from a couple of months ago, I only just discovered this quote now and I found it particularly appealing:

Logging is fundamentally debug print statements, but phrased and annotated correctly, so that it looks professional both in the code and in the log, and uses actual logging mechanisms with timestamps and log levels and stuff.

-- Jimmy Hartzell @ The Importance of Logging :: The Coded Message

In its full context, it's even more entertaining because it comes after talking about how professors discourage debug print statements.

3 Likes

If we ever find a way to efficiently simulate quantum mechanics in classical computers, it'll probably be via compilation speed benchmarks.

@H2CO3, Is dylib library compile faster? - #2 by H2CO3

2 Likes

Also, something I wrote over on Hacker News yesterday which, having slept on it, still feels punchy enough to throw into the ring:

Panics are overgrown ASSERTs, not an underbuilt exception system.

-- Stephan Sokolow @ > Did Rust end up with both errors and panics because the community suppressed r... | Hacker News

(As the summing up of my perception of how panics organically became exception-like.)

8 Likes

Oh, just so everyone knows, I'll probably be finding quotes to share a lot less often. Reddit cut my Thunderbird off from the /r/rust/ RSS feed and I've got better things to do than manually polling a social network for updates.

(Odds are, this is the last you'll see of me on Reddit, period, and Reddit was the only social network I used because it was the only one with RSS and the /r/rust/ moderators to make it psychologically worthwhile.)

11 Likes