Big changes could be coming to Linux programming

Linux


Linus Torvalds has come up against 80-character-lines as a de facto programming standard since making the transition from Intel to AMD recently.

As mentioned by The Register, in a recent Linux kernel cleLinus Torvalds argues against 80 character line limit ahead of Linux 5.7's release
an-up update, Torvalds shared his thoughts on the subject of line lengths where he argued that restricting lines to 80 characters would cause 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 when column width is limited large monitors can handle many small windows.

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

  • Linux on Windows 10 is getting a major boost in computing

  • Microsoft admits it was wrong about Linux and open source

  • This Linux laptop hack could be vital to protecting your privacy

 

"There are excessive line breaks to BAD. They trigger problems in real and daily life. They trigger problems in the patterns as well as performance for items like "grep," because grep (and many other very simple unix utilities) is essentially line-based. But the truth is, many of us have long ago missed the whole "80-column terminal" pattern, for the same reason that we have a lot more lines visible than 25 lines at a time.

Torvalds also made the argument that wrapping lines after 80 characters could be ideal for those with restrictive hardware but ultimately uncomfortable for more resource developers.

5.7 Linux

Torvalds provided details on new features and changes to Linux 5.7 in yet another post.

These include a new Samsung exFAT driver which will improve the performance of SD cards, a fix for Intel graphics bug CVE-2019-14615 and support Intel's Tiger Lake graphics. There will also be a driver for the fast-charging tech from Apple and more support for Arm apps.

Torvalds hopes to avoid the problems that occurred when the previous version of the Linux kernel was shipped with a faulty Wi-Fi driver with the release of Linux 5.7.

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

Leave a comment

Please note, comments must be approved before they are published