|
|
Log in / Subscribe / Register

Just wait

Just wait

Posted Jun 25, 2024 14:51 UTC (Tue) by somlo (subscriber, #92421)
In reply to: Just wait by zuki
Parent article: Rust for filesystems

Having never used the Go language, I managed to "cut'n'paste" my way into writing a useful (and also stylistically and functionally correct) patch against Docker. So in principle you *should* be right about your first level of "knowing" a language concept.

However, unlike Go, I find Rust hard to skim over -- for the lack of a better word, it's too "syntax-y" for my brain :) So your "anyone should be able to deal with it" statement is actually a much bigger ask than you think, depending on the actual language's legibility to newcomers.

I then tried working my way through "The Rust Programming Language", and was mostly able to follow along and understand what's going on, and even managed to write ok-ish small programs in the process.

But without being a real, $DAYJOB Rust programmer, when I look at production code a few months later, it's back to a wall-of-syntax "foo::bar => <blah:::xyz>" incomprehensible gibberish... :D
This may be just an undiagnosed learning disability on my part, or it might be that Rust syntax is simply less legible to a large swath of the otherwise OK programmer population.

I'm also constantly high-key annoyed at how compiling a program involves downloading crap off the Internet, as part of the compilation process (this is the part where I might just be old and grumpy, and the whole download-crap-from-the-Internet thing is interfering with my lawn care routine).

Anyhow, if kernel maintainers' experience is anything like mine, I can't blame them for putting a "low pass filter" on this thing: maybe it goes away if they ignore it long enough, and they won't have to waste time on it.

Now, if based on the description of my pain points above there's a more targeted way of learning Rust in a way that sticks, I'm happy to take hints and advice...


to post comments

Just wait

Posted Oct 15, 2024 13:46 UTC (Tue) by Rudd-O (guest, #61155) [Link] (1 responses)

> "foo::bar => <blah:::xyz>" incomprehensible gibberish... :D

I found this exceedingly difficult to wrap around, the `match` and `if let` constructs felt backwards in a very weird way.

I got used eventually, but it was a solid month until it "clicked".

Now it annoys me that other languages don't do this.

Just wait

Posted Oct 16, 2024 8:20 UTC (Wed) by taladar (subscriber, #68407) [Link]

It is the way the order of those statements work in all languages I am aware of, from simple assignments over destructuring bind in Common Lisp and pattern matching in languages like Haskell.

Just wait

Posted Jan 19, 2026 10:47 UTC (Mon) by taladar (subscriber, #68407) [Link]

Interestingly enough I have the opposite experience. Go is extreme gibberish because it is so hard to spot the actual high-level flow among the sea of virtually identical copies of low level concerns in the code.

Rust on the other hand is quite clear and readable 99% of the time because it has very little of this accidental complexity all over and where it does it often isn't essential to understanding what the code is trying to do.

Just wait

Posted Jan 19, 2026 16:01 UTC (Mon) by Wol (subscriber, #4433) [Link]

> This may be just an undiagnosed learning disability on my part,

Probably unlikely

> or it might be that Rust syntax is simply less legible to a large swath of the otherwise OK programmer population.

Far more likely. The brain acquires a whole lot of abilities as it matures, and there are things that are just incomprehensible to people too young to understand it. Seeing as this acquisition stops at various stages along the path for different people, for some people "too young" maybe under 14, for others "too young" means forever.

The number of people who can't get to grips with eg Lisp (me), Haskell (lots of people, I haven't tried), Rust (I get the impression that's not too bad if $DAYJOB), yup, there are some things people just can't get because they're not old enough to have acquired the ability :-)

(Fortran, C, that sort of stuff, that's basically how we're taught Maths in Primary School! :-)

Cheers,
Wol

Just wait

Posted Jan 19, 2026 16:22 UTC (Mon) by dskoll (subscriber, #1630) [Link]

I also find Rust incomprehensible, but I suspect that is because I retired from software development 3 years ago and I have no motivation to learn it. If I had to learn it for a job, I'm fairly sure I could pick it up.


Copyright © 2026, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds