Unofficial Hacker News companion — get notified on comment replies, and more.

Show HN: HyScribe – A drop-in replacement for WordPress, written in Rust (opens external site)

94 points by Sid_Lmao 1 day ago github.com 79 comments (opens Hacker News) Vote (opens Hacker News)

View full thread · View on Hacker News

Comment thread (4)

  1. I am not trying to be snarky, but are you asking why you need memory safety for a project serving dynamic content to the public web? Because that seems eminently self-evident. Or is the premise "if your wordpress host gets wrecked, so what?"

    Mind you, 99.9999% of WP sites are effectively static content, and having a dynamic generator is a massive waste of time, and an unnecessary exposure. Solutions like Astro are better replacements.

    EDIT: I've been bizarrely downvoted, but still haven't received an answer. Asking why you would benefit from memory safety for a public facing, internet exposed service is a legitimately insane question

    Replies (3)
    1. I can only imagine, but I suppose they might have thought PHP is already memory managed so what's the difference.

      Or that websites are not critical systems in the same sense as automation systems or cars or aeroplanes, so that may make the issue less critical in their mind.

      "Legitimately insane question" was a new one for me. It seems like your points of view just differ.

    2. Agreed on memory safety. On static sites, you’re right that many WP sites could be static, but people stay on WordPress for the editing experience, not the rendering. We want to keep that experience and shrink what’s exposed to attackers.
    3. I think memory safety is a bad way to look at it. PHP, C#, Java, Python, etc., are all memory safe, but they do it via GC. Rarely do we cast these languages as memory safe (at least as far as why we choose them).

      IMHO, the strictness of rustc and the excellent compiler error and warning messages are very helpful to agentic coding, and the idea that "if it compiles, it's probably correct" is incredibly beneficial.

      Performance, low-memory usage, and memory safety (without a GC) are nice, but not necessarily the primary drivers for selecting Rust.