Skip to content
HomeVideosBooksBlogs
AllTop postsTopics
Podcasts
HistoryListsWatch laterLiked videosFollowing

The videos, books, blogs and podcasts Hacker News keeps recommending, all in one place.

VideosBooksBlogsPodcastsAboutPrivacySettings

Data from Hacker News, HackerTube, HackerBooks, HackerBlogs and Open Library. Credits · Not affiliated with Y Combinator.

HomeVideosBooksBlogsPodcasts
Ctrl K
    K

    Kenny Kerr

    kennykerr.ca · Personal blog · on HN since 2011

    Kenny Kerr, a Microsoft engineer and author of C++/WinRT, writes about C++, Rust, and Windows API language bindings.

    Visit blogHN submissions
    Languages & CompilersProgrammingSystems & Performance
    What HN says

    HN commenters cite it for how Microsoft's Rust for Windows crates work, including why windows-sys is large and how Win32 and WinRT are unified.

    Stats for nerds
    15HN people shared it
    26linked in comments
    49story points
    Feb 2025last shared
    2015people per year2025

    Top posts on HN

    1. 1
      Rust/WinRT Coming Soon
      4 people · 9 points · first shared 2020 · Discussion on HN
    2. 2
      State of C++ on Windows
      3 people · 5 points · first shared 2019 · Discussion on HN
    3. 3
      Getting Started with Rust/WinRT
      1 person · 5 points · first shared 2020 · Discussion on HN
    4. 4
      Modern C++ as a Better Compiler
      1 person · 4 points · first shared 2015 · Discussion on HN
    5. 5
      Xlang: a cross-language, cross-compiler, cross-platform generalization of WinRT
      1 person · 4 points · first shared 2018 · Discussion on HN
    6. 6
      C++: What does it mean to be constexpr complete?
      1 person · 3 points · first shared 2015 · Discussion on HN
    7. 7
      C++/WinRT and xlang repos (status update)
      2 people · 2 points · first shared 2019 · Discussion on HN
    8. 8
      A second dark age for C++
      1 person · 2 points · first shared 2015 · 1 comments on HN
    9. 9
      Getting Started with Modules in C++
      1 person · 2 points · first shared 2015 · Discussion on HN
    10. 10
      C++/WinRT: fully open source WinAPI development using C/C++/Rust
      1 person · 2 points · first shared 2021 · 2 comments on HN

    What HN people wrote when they linked it

    • tal8dDec 2019

      > I guess shipping Windows API cargo crates makes too much sense. Does anyone have any context for gaps in Rust they are addressing?

      I haven't finished digging through the OP, but it looks like a bunch of Microsoft employees (already aware of Rust's safety benefits) have started recognizing the commitment to FFI as well. My last project had a feature that depended on a bind to win32, which turned out to be the most time consuming aspect - as it demanded a bunch of tooling that was otherwise unnecessary (valgrind, etc). If they were to take stewardship of that interface, lots of unsafe{} would disappear overnight.

      https://kennykerr.ca/2019/11/05/rust/

    • the_mitsuhikoFeb 2025

      The reason why the windows-sys (and below the windows-targets) crate are so beefy is that they are basically a bunch of binary blobs that are needed to link stuff together due to how import libs work on Windows. https://kennykerr.ca/rust-getting-started/understanding-windows-targets.html

      In theory that would not be necessary any more on more modern rustc versions, but if you want to target rustc < 1.70 you still need that.

    • acqqMay 2015

      Which makes me feel I've spent the energy reading about the potential vaporware. Ugh.

      The author writes:

      http://kennykerr.ca/2014/08/29/a-modern-update/

      "I have started using it myself and am really enjoying the experience but it has a few rough edges that I need to work on before I can make it more widely available"

      So he has the site about it, writes the articles about it... and it works only for him.

    • mwcampbellJan 2021

      Kenny Kerr's blog post on this may also be of interest. In particular, it answers the question I was going to ask about how they're handling Win32 and WinRT in a unified way.

      https://kennykerr.ca/2021/01/21/rust-for-windows/

    • pjmlpMar 2020

      Wishes sometime turn into reality.

      https://kennykerr.ca/2019/11/05/rust/

      https://twitter.com/benwilliamson/status/1240113606374686721

    • jarjouraNov 2019

      Looks like Windows will soon be launching a way for Rust to call into their COM UI API platform.

      https://kennykerr.ca/2019/11/05/rust/

    Related

    Matt Warrenmattwarren.org49 people

    Adding a new Bytecode instruction to the .NET runtime

    Matt Warren
    Personal · last shared 2023
    C++ Team Blogdevblogs.microsoft.com/cppblog131 people

    We used C++20 to eliminate a class of runtime bugs

    C++ Team Blog
    Company · last shared 2026
    MSRC Blogmsrc.microsoft.com240 people

    SolarWinds hackers were able to access Microsoft source code

    MSRC Blog
    Company · last shared 2026
    foonathanfoonathan.net35 people

    Carbon’s most exciting feature is its calling convention

    foonathan
    Personal · last shared 2026
    Herb Sutterherbsutter.com204 people

    Bjarne Stroustrup on Dennis Ritchie: They said it couldn't be done, & he did it

    Herb Sutter
    Personal · last shared 2026
    Visual C++ Team Blogblogs.msdn.microsoft.com/vcblog86 people

    Visual C++ for Linux Development

    Visual C++ Team Blog
    Company · last shared 2019
    Alexis Beingessnercglab.ca/~abeinges61 people

    Rust, Generics, and Collections

    Alexis Beingessner
    Personal · last shared 2024
    Kenny Tiltonsmuglispweeny.blogspot.com29 people

    Ooh Ooh My Turn Why Lisp? (2008)

    Kenny Tilton
    Personal · last shared 2021