3 ms·
Looks nice, though not being based on wayland is a bummer. It also seems like the author originally wrote it in Rust and then switched to Nim. If they are arou
by lf-non 4y ago
Looks nice, though not being based on wayland is a bummer.
It also seems like the author originally wrote it in Rust and then switched to Nim. If they are around, would love to understand the motivation.
- lonk 4y agoBorrow checker is a good motivator And rust is hard: https://hirrolot.github.io/posts/rust-is-hard-or-the-misery-of-mainstream-programming.html https://hirrolot.github.io/posts/rust-is-hard-or-the-misery-...
- jojohohanon 4y agoI 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.
- zer0-c00l 4y agoI'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?
- zdragnar 4y agohttp://way-cooler.org/blog/2019/04/29/rewriting-way-cooler-in-c.html http://way-cooler.org/blog/2019/04/29/rewriting-way-cooler-i... Is a really good write up, though very specific to Wayland.