Hacker News new | ask | show | jobs
by lonk 1472 days ago
Borrow checker is a good motivator

And rust is hard: https://hirrolot.github.io/posts/rust-is-hard-or-the-misery-...

2 comments

I'm not a Rust zealot but even I recognize that this blog post (which is about the difficulty about writing generic library code wrt lifetimes + Rust async) is pretty much a meme now that's thrown around without any sort of context.

Can you explain how this blog post relates to the difficulty of using Rust for writing a window manager?

http://way-cooler.org/blog/2019/04/29/rewriting-way-cooler-i...

Is a really good write up, though very specific to Wayland.

I think posts like these are why I haven’t even looked at rust as an alternative.

Here the author has boiled the problem down to its minimal form, and it’s still 10s of lines of code.

It is this weird overlap of over-verbosity a-la c++ and extreme succinctness a-la Perl. You have to spell everything out and every bit of punctuation matters.