This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2020-06-17
Channels
- # announcements (2)
- # aws (4)
- # babashka (20)
- # beginners (256)
- # calva (15)
- # chlorine-clover (1)
- # cider (12)
- # clj-kondo (25)
- # cljsrn (16)
- # clojure (115)
- # clojure-europe (7)
- # clojure-finland (5)
- # clojure-italy (10)
- # clojure-nl (35)
- # clojure-spec (13)
- # clojure-uk (83)
- # clojurescript (42)
- # code-reviews (81)
- # conjure (8)
- # cursive (6)
- # data-science (1)
- # datomic (3)
- # duct (18)
- # emacs (2)
- # figwheel-main (40)
- # fulcro (21)
- # helix (1)
- # jackdaw (7)
- # java (2)
- # lein-figwheel (5)
- # luminus (1)
- # observability (12)
- # off-topic (32)
- # parinfer (5)
- # pedestal (19)
- # re-frame (5)
- # reagent (8)
- # reitit (17)
- # rewrite-clj (47)
- # rum (19)
- # shadow-cljs (48)
- # spacemacs (4)
- # sql (40)
- # tools-deps (22)
- # vrac (1)
- # xtdb (25)
Morning, gonna be doing some Rust in my free time the next weeks. But if all goes well get me to speak at Kafka Summit 😀. To bad it's not in Taxas.
How do you guys go about learning a new language like Rust; I find it immensely interesting, but never managed to get past the fighting the borrow checker stage
@lennart.buit I recommend reading the Rust book and doing the exercises
Right! That went much more elaborate since I looked at it a few years ago
Yes, Rust book, and if you are prepared it's going to be tough, it's actually not so bad. The borrow checker also gets improved over time, where the compiler does more and more of the inference, and less code/boilerplate is needed in some cases.
Yah, mostly lack of trying at my side. I didn’t really have a project or something, so I just stopped when it became a bit challenging ^^
I do have one "real" Rust project: https://github.com/babashka/pod-babashka-filewatcher of course it's to enhance babashka / Clojure 🙂
Epic! I was like, is this JNI or some epic Graal option or something, but no, just plain old stdin/stdout
I find it useful to learn one thing at a time. So for example not a new IDE and a new language at the same time. If you have a small existing project in Clojure, you could try to do the same with Rust. It decreases the complexity, and is probably easier to debug than a 'new' project.
Right; yeah, thats always my struggle. Trying to do something new in a new language
welcome to contribute to the filewatcher. one thing I want to add to it is able to unwatch a directory or something like that
the challenge there is to manage multiple filewatcher objects in some vector or mutable map and destroy them later. my Rust isn't that good yet
you would say its rust-y
I’ll show myself out
this is our office humor, can’t help it
Anyhow, I’ll take a look as to whether I can help with that. Sounds like a good / contained challenge!
it does involve some knowledge of lifetimes, the relevant knowledge is in the last part of the Rust book
looking around, seemed to me that rust-analyzer
was kinda recommended, but it's fairly hard for me to compare the two LS implementations
first result I found was https://rust-lang.github.io/compiler-team/working-groups/rls-2.0/