Interesting Question but with the speed at which hardware advances how long does it normally take for a new laptop to stop being new and be able to run almost anything as far as Linux goes? I'd say probably a decade
You'd be blown away by the answer: you'd get fucked over by the software ecosystem long before hardware ever becomes an issue. See
@nut butter's 2010 laptop anecdote for an example.
Broader ecosystem gobbledygook that most end users don't necessarily need to "know" about when they first get started, but will almost certainly come across at the most inconvenient time (re: when you're 3-4 hours into attempting to make something work, only to find out it's no longer possible): Linux has absolutely fucking
awful long-term API/ABI backward compatibility.
On Windows, you can dig up a super obscure old application like Adobe Photoshop CS2, install it, find one of the CD keys on GitHub, and away you go. That's because Windows itself is a properly unified, engineered operating system where long-term binary compatibility is an intended feature. Linux itself is not automatically an operating system. Insert RMS GNU plus Linux copypasta here, but in reality, most Linux-based operating systems you see are an amalgam of the below components:
* The Linux kernel itself
* The various GNU userland utilities like binutils, coreutils, basically all of the command line shit you've been dipping your toes into. Android and Alpine use different userland utilities like busybox, but the concept is the same.
* Mesa for graphics primitives. Android has its own graphics primitives, but I digress.
* A display server stack (this is another horrible nightmare of components unto itself, but in your case, think Wayland + KWin as the backend moving pixels on your screen)
* Miscellaneous user and system applications like Firefox, LibreOffice, MPV, Steam, Docker, Podman, Llama.cpp, etc
This is a non-comprehensive, non-exhaustive list, and I'm pretty damn sure each bullet I outlined has eleventy bazillion exceptions because this shit gets annoyingly complicated far too quickly for my taste. Nevertheless: each component or group of components are developed entirely independently of one another. This is why Linux-based operating systems are often referred to as "distributions" or "distros" by Linux dorks like yours truly.
A consequence of all these components being developed independently of one another and being
just interoperable enough to play nice with one another is that
you can make your own Linux distribution entirely from scratch. Not very many people
want to embark upon such an undertaking... but that's something you're more than able to do with Linux that you can't do with Windows, macOS, let alone any of the BSDs. Save that for when you're 2-3 levels deeper onto the iceberg chart.
Unfortunately, what often happens is that Linux distributions have a high "churn" rate, if you will. If you have user applications that require older graphical libraries like say... Qt4 from 2009-2013, you can't get away with running them as-is on Linux. Qt is already at version 6, that's the officially supported mainline version, and trying to run Qt4 and Qt6 at the same time requires you, the end user, to avoid annoying dependency hells like version mismatches and conflicts. And sometimes, they just won't fucking work at all.
This is the perennial example I always keep turning back to: Witcher 2: Assassin of Kings has a Linux port of already dubious quality, but hey, Linux port from 2014 back when game developers were just barely flirting with offering it. The W2 port requires GTK2, and that's a stupidly old graphics library from the early-to-mid 2000s that only recently got sunsetted as of 2024. I literally
cannot run Witcher 2's native Linux port unless I decide to fire up Ubuntu 14.04 in a virtual machine and manually download the GOG offline installer or some other horrific bespoke workaround like that.
To be absolutely fair here: the kernel team themselves have done great work separating out what runs in userspace vs. kernel mode, but the kernel team ain't the one responsible for making your day-to-day software play nicely. At least not directly. Even so, I can only be so kind when Linus Torvalds himself admitted to working on projects that package Windows and Mac binaries, but only offer source for Linux.
If you think I'm being unfair or a bit facetious, see above from DebConf 2014. He literally calls packaging Linux binaries "a huge fucking pain in the ass" and explains in painstaking detail why he genuinely fucking hates packaging shit for Linux on non-kernel projects. AppImages, Flatpaks, and Snaps also ain't the panacea that their most ardent proponents think they are for unique problems each one has. Now you know why Proton is so fucking invaluable for Linux users: because churn baby churn is all fun and games until an application from 5-10 years ago shits itself due to any one of these issues I outlined.