frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

Open in hackernews

Announcing the Clippy feature freeze

https://blog.rust-lang.org/inside-rust/2025/06/21/announcing-the-clippy-feature-freeze/
61•jmillikin•5h ago

Comments

andy_ppp•3h ago
FYI “Rust’s Clippy is a collection of lints (static analysis rules) designed to catch common mistakes and suggest improvements in your Rust code.”
tialaramex•2h ago
It's also very tunable. If you (or your team) hate shadowing for example, which is a common idiom in Rust but is often seen as undesirable in other languages, there are several Clippy rules you can enable for a project to either forbid specific kinds of shadowing or introduce a blanket prohibition.

Or at the other end of the scale, the average Rust programmer doesn't care that their code could panic if numbers stop making sense, for example if I'm summing the number of employees who quality for a bonus scheme, the fact that this operation (which I think might reach hundreds but likely is only dozens) could panic if it exceeds u32::MAX isn't worth linting. But if you write jet engine firmware, you need to take such "this can't happen" cases more seriously so you can turn on a lint which forbids these naive operations.

PartiallyTyped•3h ago
I’ve contributed quite a few patches into clippy, it’s a great project and a great way to learn how the rustc “sees” code; from the AST, to HIR, to using typeck — sometimes we even construct types at runtime to validate the code against — to tracking traits and their implementations across a whole crate!

Clippy really is a labour of love project, and it’s been great to work with these folk <3

I will try to pick up some issues in the coming weeks.

lewdwig•1h ago
If Clippy struggles to account for current and future changes to the Rust compiler this to me raises an obvious question: why isn’t Clippy part of the Rust compiler?
afdbcreid•57m ago
I wouldn't say it struggles to do that. And, it is part of the Rust compiler, somewhat. Every PR to the Rust compiler builds Clippy in CI and tests it (although I'm not sure if all tests are run or only part of them).

Clippy is a large collection of mostly unrelated lints, and more are always added. Understandably, they accumulate craft. I think stopping new lints for some time is a reasonable thing to do to keep a healthy codebase.

jedisct1•1h ago
Just to be clear, this has nothing to do with Microsoft Clippy. This post is about a tool for a programming language called Rust.

LibRedirect – Redirects popular sites to alternative privacy-friendly frontends

https://libredirect.github.io
145•riffraff•6h ago•39 comments

TPU Deep Dive

https://henryhmko.github.io/posts/tpu/tpu.html
214•transpute•9h ago•19 comments

Sound As Pure Form: Music Language Inspired by Supercollider, APL, and Forth

https://github.com/lfnoise/sapf
107•mindcrime•10h ago•26 comments

Denmark Is Switching to Linux

https://www.pcgamer.com/software/operating-systems/denmark-is-switching-to-linux/
16•ricecat•26m ago•2 comments

Mbake – A Makefile formatter and linter, that only took 50 years

https://github.com/EbodShojaei/bake
106•rainmans•2d ago•37 comments

P-Hacking in Startups

https://briefer.cloud/blog/posts/p-hacking/
183•thaisstein•4d ago•87 comments

Remote MCP Support in Claude Code

https://www.anthropic.com/news/claude-code-remote-mcp?campaignId=13926158&source=i_email&medium=email&content=Oct2024AnalysisTool&messageTypeId=140367
82•surprisetalk•3d ago•26 comments

The AIpocalypse is here for web sites as search referrals plunge

https://www.theregister.com/2025/06/22/ai_search_starves_publishers/
32•rntn•1h ago•9 comments

LaborBerlin: State-of-the-Art 16mm Projector

https://www.filmlabs.org/wiki/en/meetings_projects/spectral/laborberlin16mmprojector/start
179•audionerd•16h ago•34 comments

The bad boy of bar charts: William Playfair (2023)

https://blog.engora.com/2023/05/the-bad-boy-of-bar-charts-william.html
67•bryanrasmussen•3d ago•5 comments

Samsung embeds IronSource spyware app on phones across WANA

https://smex.org/open-letter-to-samsung-end-forced-israeli-app-installations-in-the-wana-region/
772•the-anarchist•1d ago•434 comments

Type Inference Zoo

https://zoo.cuichen.cc/
108•mpweiher•4d ago•3 comments

What is the most realistic submarine movie? (2019)

https://www.usni.org/magazines/proceedings/2019/october/what-most-realistic-submarine-movie-ever-made
36•bookofjoe•3d ago•21 comments

Denmark's Archaeology Experiment Is Paying Off in Gold and Knowledge

https://www.scientificamerican.com/article/denmark-let-amateurs-dig-for-treasure-and-it-paid-off/
156•sohkamyung•4d ago•81 comments

Airpass – Easily overcome WiFi time limits

https://airpass.tiagoalves.me/
318•herbertl•3d ago•214 comments

Largest Wildlife Bridge Spanning 10 Lanes of CA 101 Is Nearly Complete

https://www.thedrive.com/news/worlds-largest-wildlife-bridge-spanning-10-lanes-of-101-freeway-is-nearly-complete
26•PaulHoule•3d ago•5 comments

When Humans Learned to Live Everywhere

https://www.nytimes.com/2025/06/18/science/ancient-human-adaptation-environments.html
17•pepys•3d ago•3 comments

Show HN: I'm building an app to replace Overleaf and Notion

19•WolfOliver•3d ago•4 comments

U.S. bombs Iranian nuclear sites

https://www.bbc.co.uk/news/live/ckg3rzj8emjt
845•mattcollins•12h ago•2419 comments

Phoenix.new – Remote AI Runtime for Phoenix

https://fly.io/blog/phoenix-new-the-remote-ai-runtime/
564•wut42•1d ago•246 comments

uBlock Origin Lite Beta for Safari iOS

https://testflight.apple.com/join/JjTcThrV
276•Squarex•1d ago•62 comments

Requiem for a Solar Plant

https://7goldfish.com/articles/Requiem_for_a_solar_plant.php
66•akkartik•13h ago•72 comments

Delta Chat is a decentralized and secure messenger app

https://delta.chat/en/
264•Bluestein•1d ago•158 comments

Announcing the Clippy feature freeze

https://blog.rust-lang.org/inside-rust/2025/06/21/announcing-the-clippy-feature-freeze/
61•jmillikin•5h ago•6 comments

Using Microsoft's New CLI Text Editor on Ubuntu

https://www.omgubuntu.co.uk/2025/06/microsoft-edit-text-editor-ubuntu
259•jandeboevrie•4d ago•271 comments

Scaling our observability platform by embracing wide events and replacing OTel

https://clickhouse.com/blog/scaling-observability-beyond-100pb-wide-events-replacing-otel
186•valyala•1d ago•82 comments

Tell HN: Beware confidentiality agreements that act as lifetime non competes

329•throwarayes•20h ago•208 comments

Unexpected security footguns in Go's parsers

https://blog.trailofbits.com/2025/06/17/unexpected-security-footguns-in-gos-parsers/
197•ingve•4d ago•109 comments

AllTracker: Efficient Dense Point Tracking at High Resolution

https://alltracker.github.io/
88•lnyan•19h ago•9 comments

'Gwada negative': French scientists find new blood type in woman

https://www.lemonde.fr/en/science/article/2025/06/21/gwada-negative-french-scientists-find-new-blood-type-in-woman_6742577_10.html
165•spidersouris•1d ago•63 comments