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
    F

    Federico Mena-Quintero

    people.gnome.org/~federico · Personal blog · on HN since 2010

    Federico Mena-Quintero, a GNOME developer, writes about maintaining librsvg and porting it from C to Rust.

    Visit blogHN submissions
    Languages & CompilersOpen Source & LinuxProgramming
    What HN says

    Commenters praise his work and point to his librsvg Rust porting talk and his post on Rust's lack of a stable ABI, discussed in C-to-Rust threads.

    Stats for nerds
    46HN people shared it
    46linked in comments
    844story points
    Feb 2021last shared
    2017people per year2021

    Top posts on HN

    1. 1
      Rust things I miss in C
      3 people · 340 points · first shared 2018 · 162 comments on HN
    2. 2
      "Rust does not have a stable ABI"
      2 people · 163 points · first shared 2020 · 215 comments on HN
    3. 3
      Helping Cairo, the rendering library
      2 people · 123 points · first shared 2018 · 30 comments on HN
    4. 4
      Librsvg, Rust, and non-mainstream architectures
      5 people · 36 points · first shared 2021 · Discussion on HN
    5. 5
      Librsvg gets Rusty
      5 people · 29 points · first shared 2016 · 1 comments on HN
    6. 6
      Rust+Gnome Hackfest in Berlin, 2017
      1 person · 24 points · first shared 2017 · Discussion on HN
    7. 7
      CSS in librsvg is now in Rust, courtesy of Mozilla Servo
      2 people · 23 points · first shared 2019 · Discussion on HN
    8. 8
      Librsvg's build infrastructure: Autotools and Rust
      3 people · 10 points · first shared 2017 · Discussion on HN
    9. 9
      Material about Christopher Alexander
      1 person · 10 points · first shared 2013 · Discussion on HN
    10. 10
      Replacing C library code with Rust: What I learned with librsvg [pdf]
      2 people · 9 points · first shared 2017 · Discussion on HN

    What HN people wrote when they linked it

    • tmztNov 2020

      You may also consider doing it in Rust.

      It's possible to implement GObject subclasses in Rust which little additional overhead as compared to doing it in C, but you get the syntactical niceties of for each loops, traits, and other features of Rust.

      librsvg makes good use of these bindings, and is undergoing a rewrite in Rust. Gstreamer bindings are also becoming more complete, and example implementations of many of the standard plugins have been rewritten. The official implementation is still in C though.

      Vala is a neat concept though and a pretty clean language.

      https://people.gnome.org/~federico/blog/librsvg-gobject-in-rust.html

      https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs

    • bluejekyllJun 2018

      Staying a little more focused, I have reasons for none of the languages you mention, but in terms of ease of integration of C and Rust, here’s one real world example: https://people.gnome.org/~federico/blog/librsvg-build-infrastructure.html

      Which recently passed a milestone of having less C than Rust: https://www.reddit.com/r/rust/comments/8ofa0w/librsvg_has_now_more_rust_code_than_c_code/?st=JI35DG9U&sh=2e2ab3ec

      At this point I personally find it much easier to move C to Rust than C++, and end up with a much safer codebase.

    • JnrJan 2021

      Have you tried Rust?

      The ABI in Rust is doable: https://people.gnome.org/~federico/blog/rust-stable-abi.html

      And it doesn't feel like C++ when writing it. The syntax and language features are nice and feel modern.

      It does require more attention because of what it compiles down to, but the compiler is there to help with it.

      I haven't been excited about any programming languages in years, but Rust has certainly taken my attention lately.

    • ndesaulniersFeb 2021

      This comes up a lot with my work on compiling the Linux kernel with LLVM. So much so I've made a tier list to describe what I picture as a Venn diagram of support: https://clangbuiltlinux.github.io/

      Also recently seen on this topic:

      https://people.gnome.org/~federico/blog/librsvg-rust-and-non-mainstream-architectures.html

      https://www.reddit.com/r/rust/comments/lfysy9/pythons_cryptography_package_introduced_build/gmq9vi8/

    • ploxilnJul 2020

      One example: librsvg was rewritten from C into Rust, gradually, while retaining the C API:

      https://gitlab.gnome.org/GNOME/librsvg
      https://people.gnome.org/~federico/news-2016-10.html

      (I do not necessarily endorse this, as I find the dependency on a Rust compiler of very recent vintage, to be much more annoying than depending on any decent C compiler from the last 7 years or so.)

    • adwhitFeb 2018

      For more detail into the porting effort, I recommend taking a look at these slides, taken from a talk the author gave last year:

      https://people.gnome.org/~federico/blog/docs/fmq-porting-c-to-rust.pdf

      "Rust revived my interest in maintainership. It is very empowering to finally have a good language that I can use at the level of the stack where I work."

    Related

    Rust Blogblog.rust-lang.org533 people

    Announcing Rust 1.0

    Rust Blog
    Company · last shared 2026
    Robert O'Callahanrobert.ocallahan.org149 people

    Choose Firefox Now, or Later You Won't Get a Choice (2014)

    Robert O'Callahan
    Personal · last shared 2025
    Sylvestre Ledrusylvestre.ledru.info15 people

    Debian Running on Rust Coreutils

    Sylvestre Ledru
    Personal · last shared 2025
    Felipe Contrerasfelipec.wordpress.com51 people

    Another user/developer banned from GNOME's bugzilla without any warning

    Felipe Contreras
    Personal · last shared 2025
    Sebastian Drögecoaxion.net16 people

    Porting EBU R128 audio loudness analysis from C to Rust

    Sebastian Dröge
    Personal · last shared 2023
    Patrick Waltonpcwalton.github.io53 people

    Pathfinder, a fast GPU-based font rasterizer in Rust

    Patrick Walton
    Personal · last shared 2025
    Graham Jenkinsdarkcoding.net44 people

    Facebook’s code quality problem (2015)

    Graham Jenkins
    Personal · last shared 2025
    Gavin Howardgavinhoward.com43 people

    Is It Even Worth Working on FOSS Anymore?

    Gavin Howard
    Personal · last shared 2026