Big changes could be coming to Linux programming

The best open source software: Linux
(Image credit: Shutterstock)

After recently making the switch from Intel to AMD, Linus Torvalds has come out against 80-character-lines as a de facto programming standard.

As reported by The Register, Torvalds shared his thoughts on the topic of line lengths in a recent Linux kernel clean-up post where he argued that limiting lines to 80 characters makes for lots of line breaks. Others have argued that 80-character lines are a long-standing convention that should remain in place due to the fact that large monitors can handle many small windows when column width is limited. 

In his post, Torvalds explained how excessive line breaks can lead to numerous problems, saying:

“Excessive line breaks are BAD. They cause real and every-day problems. They cause problems for things like "grep" both in the patterns and in the output, since grep (and a lot of other very basic unix utilities) is fundamentally line-based. So the fact is, many of us have long long since skipped the whole "80-column terminal" model, for the same reason that we have many more lines than 25 lines visible at a time.”

Torvalds also made the point that wrapping lines after 80 characters may be good for those with restrictive hardware but is ultimately inconvenient for developers with more resources. 

Linux 5.7

In another post, Torvalds provided details on new features and changes coming to Linux 5.7. 

These include a new exFAT driver from Samsung that will improve SD card performance, a fix for Intel graphics bug CVE-2019-14615 and support Intel's Tiger Lake graphics. There will also be a driver for Apple's fast-charging tech and greater support for Arm devices.

With the release of Linux 5.7, Torvalds is hoping to avoid the problems that occurred when the previous version of the Linux kernel shipped with a flawed Wi-Fi driver.

The Linux 5.7 kernel is available now but it will still take some time for the kernel to find its way into popular Linux distros such as Ubuntu, Arch Linux and Linux Mint. 

Via The Register

TOPICS
Anthony Spadafora

After working with the TechRadar Pro team for the last several years, Anthony is now the security and networking editor at Tom’s Guide where he covers everything from data breaches and ransomware gangs to the best way to cover your whole home or business with Wi-Fi. When not writing, you can find him tinkering with PCs and game consoles, managing cables and upgrading his smart home. 

Latest in Software & Services
Windows 11 Start menu layout choices: Grid view
Windows 11 vs Linux for business: which operating system should you embrace?
A phone sitting on a laptop keyboard with the Microsoft Outlook logo on the screen.
Gmail vs Outlook for business: which email system is right for your organization?
Windows 11 logo
Windows 11 Pro vs Windows 11 Home: which version is right for you?
Canva HubSpot
HubSpot and Canva team up to level the creative playing field
a laptop computer
Windows 11 vs ChromeOS for business: Is one better than the other for your needs?
a laptop computer
Windows 11 vs macOS for business: which side are you on?
Latest in News
A hand holding a phone showing the Android Find My Device network
Android's Find My Device can now let you track your friends – and I can't decide if that's cool or creepy
Insta360 X4 360 degree camera without lens protector
Leaked DJI Osmo 360 image suggests GoPro and Insta360 should be worried – here's why
A YouTube Premium promo on a laptop screen
A cheaper YouTube Premium Lite plan just rolled out in the US – but you’ll miss out on these 4 features
Viaim RecDot AI true wireless earbuds
These AI-powered earbuds can also act as a dictaphone with transcription when left in their case
The socket interface of the Intel Core Ultra processor
Intel unveils its most powerful AI PCs yet - new Intel Core Ultra Series 2 processors pack in vPro for lightweight laptops and high-performance workstations alike
An Nvidia GeForce RTX 5070
Nvidia confirms that an RTX 5070 Founders Edition is coming... just not on launch day