Linus Färnstrand

Results 403 comments of Linus Färnstrand
trafficstars

Great research both of you. I will experiment a bit with this. Do you know how to verify what functions are placed in IRAM for a given compiled firmware/app?

What's the status on this issue? It's still broken for me on Fedora 39.

Just wanting to add my +1 to this issue. Discovered and tried out lapce for the first time today. Looks really promising to be honest! Great work devs :sparkles: Sadly...

Yeah. I was aiming to keep my `main` branch usable/up to date/improved. But I figured I should also chop up the work into isolated improvements and submit them as PRs....

The `merge_imports` (https://github.com/rust-lang/rustfmt/issues/3362) issue has seen a lot of discussion about different styles of `use` statements and which one should be default. In this comment (https://github.com/rust-lang/rustfmt/issues/3362#issuecomment-642564290) @dtolnay summarize four distinct...

My personal opinion is that the `module` style merge is a great default. It's readable and still somewhat compact. It's IMO the perfect balance between all trade-offs one has to...

> and (in addition) more readable git diffs during code reviews The git diffs are more readable. I agree with that. But the *code itself* is way less readable under...

Letting a single person who happens to have a bit more free time than the others decide the format for everyone, but not letting three people decide because they are...

If you are happy with a solution that is basically just a busy spin loop, then you don't need `parking_lot` at all. You don't get any of the benefits of...

A spin loop based lock that never have to actually spin, that can proceed through the lock on the first or second try every time is indeed very efficient. But...