Show HN: HyScribe – A drop-in replacement for WordPress, written in Rust (opens external site)
View full thread · View on Hacker News
To get push notifications on iPhone or iPad, add Hack and Chat to your Home Screen: tap Share → Add to Home Screen, then open the installed app and enable push in Settings.
View full thread · View on Hacker News
Really makes you think, what is the reason you need memory safety FOR THIS
Replies (4)
Because underlying php vulns were memory management issues.
” PHP versions as early as 5.4 (released in 2012)[9] were affected by these vulnerabilities, and while concerns around memory safety bugs had been raised decades before, no action was taken at the time because it was not thought that developing a working exploit could be feasible.[10][6.2] A PHP core developer discovered the out-of-memory error behind one of the vulnerabilities during an audit in 2024, but the bug was never fixed; the development team could not reach consensus on how to do so, and a specific exploit had not yet been discovered, so the issue was not prioritized.[11][12]” https://en.wikipedia.org/wiki/PHP2Shell
But why would memory safety not be a thing for a web app?
Replies (1)
Replies (1)
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)
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.
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.