News for hackers. Stuff that matters.
Re:Zig self hosted compiler is now capable of building itself by Georgelemental on Saturday April 16, 2022 @07:10PM (#31056917)
`rust-analyzer` lets you find the trait/impl that provides a method, if you don't have it in your IDE you should get it.
Re:Zig self hosted compiler is now capable of building itself by capableweb on Sunday April 17, 2022 @05:31AM (#31059632)
True, that does help when you want to dig into things. I think my main pain-point here is that without extra tooling, the reference is not surfaced. Compare this to Clojure, where every reference is explicit, things normally don't get "magically" created in your scope. Just by searching for a var in the current file upwards (up to the `ns` declaration), you can find out where code is coming from, which is not always possible in Rust.
Re:Zig self hosted compiler is now capable of building itself by jackosdev on Saturday April 16, 2022 @09:14PM (#31057553)
It takes you to the trait definition but not the specific implementation. There is an open issue looks like a hard problem to solve, but intellij does it so must be doable.