I wonder what the motivation was for rewriting it in Rust. It doesn't make sense to me.
Rust doesn't automatically prevent web application bugs caused by unsafe string concatenation or poor input validation. It doesn't prevent bugs in business logic or access controls either.
It prevents php bugs themselves to affect all wordpress sites while being faster and with less memory consumption and memory safety.
> Rust doesn't automatically prevent web application bugs caused by unsafe string concatenation or poor input validation. It doesn't prevent bugs in business logic or access controls either.
of course, but I imagine that in theory and I may be totally wrong here (as I usually am), but it is possible to use verus for formal verification which could perhaps help with some of this stuff or could help in finding these bugs?
I'm curious, why do a drop-in replacement instead of something that has a migration tool?
A lot of WordPress sites rely on plugins for core functionality, and I don't see a pathway for those to work with this. Not in a drop-in fashion, anyway. How would that work?
A drop in replacement has the advantage of not needing a migration. It looks the same for users, it acts the same and you can't tell it is running a different codebase. The users don't have to relearn.
I built two drop in replacements with the help of AI for old school php-5 era codebases (50k loc each, no frameworks), in house db management/data entry/reporting systems.
You treat the old system as a black box, fuzz the user facing part -walk all links, hit all buttons, submit all forms. Record side effects - changes to the database, fs and network calls etc, map the test cases against code paths, measure line coverage. Then build the new system in rust against this parity harness. It's not 100% foolproof, but it gets you 90% there. The rest you fix from user feedback.
But I do not think this can be productized. As you said, WP relies heavily on plugins. And also a lot of installations are customized, especially old sites that would benefit most. There is no size fits all.
> A drop in replacement has the advantage of not needing a migration. It looks the same for users, it acts the same and you can't tell it is running a different codebase.
So that means that all the Wordpress plugins - which, as the grandparent notes, is the whole reason Wordpress is so popular - work out of the box?
Otherwise it’s not a drop in replacement and adoption will not happen.
This sounds like "Isn't the point of a drop in replacement to be a drop in replacement?" Well... yes
and to answer the question that comes naturally: it doesn't support Wordpress plugins yet. this is because they are aiming to sandbox them (1) and it currently doesn't run PHP (2).
no idea why/how/when but that's what the README says.
If you're vibe coding (not to say this is), the output is typically much better in the medium term atleast if it's structured to a standard.
WordPress being FOSS means your agent has the spec, and an implementation and a gold standard for most decisions around function.
Couple that with Rust and you get surprisingly good output with agents. Rust brings its static/compile time rigidity that hopefully stops a LLM half arsing something without it being obvious.
In the short term a vibe coded app might produce something nice and ergonomic without realising its not scalable, longer term you've tied yourself to the project you're replacings fundementally bad choices. If they didnt make bad choices why are you replacing them?
I'm surprised no one has mentioned EmDash, and that it's not mentioned in the readme as well. It made some noise a few months ago, and I was unimpressed then, but the Cloudflare team kept going at it, and now I am a lot less skeptical.
EmDash is basically the something that has a migration tool [1], and that future looks brighter to me. Also, I have more trust in software made by people on payroll rather than an upstart hobby project
The Idea behind making it a drop-in replacement is that you can switch quickly without a lot of migration work. For plugins we are porting them separately at https://github.com/hyscaler/HyScribe-Extensions/. It’s very early, but the plan is port as many open source plugins as we can.
Who is going to maintain those rewritten plugins? I don't think this is a viable solution. I wish you luck, but I have my doubts about adoption. Wordpress really just needs to die in favor of something that's actually better with a real community, not just a rewrite in Rust.
Running agents and compiling Rust on every upload takes far more resources than typical shared hosting can provide, so porting once centrally makes more sense.
I think what we need is a migration tool, something that can crawl and scrape pages and rebuild them in an ai friendly stack. My brt is on astro with vanilla css and/or htmx. All these stacks and frameworks were built prior to ai to facilitate clumsy human builders. I think we can safely outsource the toilet and time consuming task of writing html(x) to ai now.
I’ve been converting my freinds’ buggy stale Wordpress and squarespace installs to Astro. In most cases it’s a short single paragraph prompt. I install keystatic which lets them edit the site through a simple GitHub app and login, and GitHub is set up to deploy to a free cloudflare tier on merges to main, and generate preview links before publishing.
Never heard of keystatic before this comment, so thanks for posting about it. I've been wanting to port some of my wife's sites off WordPress to be static generated, but I appreciate the approachability of a WYSIWYG editor. Thought maybe some self-hosted Keystone (wanted to avoid cloud providers like Sanity) but wanted just simple git integration instead of content storage in a DB and needing to deal with keystone schemas.
Looks like this might do the trick assuming I can have it look at our Forgejo and not GitHub!
The core is still a big piece of work, and porting it is only the first step. We’re working on porting plugins and themes next, starting with open source ones.
Good then, that in order to make use of that ecosystem mostly securely, all one needs to do is to use as few plugins as possible, and to stick to the WP core.
Not yet but PostgreSQL support is on the roadmap. It just wouldn’t be drop-in anymore. On MySQL you can switch back to wordpress on the same database at any time, and once your data is on Postgres that easy way back is gone.
First I think this is a pretty silly implementation. As much as I owe some of my career to WP, it is time to move on from some of its implementation decisions, and improve on others. Though I fully endorse the idea that a scripting language is an unacceptable security risk for a public facing website.
But I want to ask: when did it become OK to slavishly replicate someone’s UI work like this? It’s such an uncool thing to do.
It’s not WordPress.
1) Why steal the UI to the extent that you will confuse people. It can’t be identical in function so it shouldn’t be identical in look.
2) Given your evident use of the universal thinking machine, why not get it to do a really innovative UI?
I am not surprised that this has been done (it’s something I have considered doing myself in a vague way). My conclusion is that this is an interim step to 100% vibe coded static sites, with the possible (but unlikely) exception of actual blog sites (where the WP architecture is most aligned). Possibly something more useful to do with your tokens would be some kind of down to earth CMS with well known patterns for product listings, tagging, blogging and so on. Oh, maybe that’s Rust Laravel ;-)
so php plugins just don't run? readme says they need porting to their wasm runtime and no popular one is ported yet, and anything not on a default block theme gets served with twenty twenty-five. calling that drop-in is a stretch https://github.com/hyscaler/HyScribe#readme
Rust is a very nice overall language. It is unfortunate it has been cast as a memory safe language; I find its strength is a combination of design choices which make it easy to work with. From my observations, the "Memory safe language" trope was (Surprising to me) propagated from within the rust common unity.
The main benefit is maybe not memory safety, but performance. Laravel just released Laravel Rust. Apparently they see around 18x performance improvements, and use 1/4 of the memory. You can save a lot on your servers. That is one benefit.
But why would memory safety not be a thing for a web app?
” PHP2Shell (October 2026) showed that every WordPress site can be compromised through the PHP runtime itself, with no plugin at fault. HyScribe keeps WordPress's data, URLs and ecosystem, and replaces the runtime with memory-safe Rust and sandboxed plugins. See docs/VISION.md.”
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
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
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.
Wordpress became popular because of its plugin and theme ecosystem. It's kind of sad to see that some people try to ride the popularity of other software, written by LLM and built in Rust™, instead of coming up with new, original ideas that solve real problems.
Rust doesn't automatically prevent web application bugs caused by unsafe string concatenation or poor input validation. It doesn't prevent bugs in business logic or access controls either.
> Rust doesn't automatically prevent web application bugs caused by unsafe string concatenation or poor input validation. It doesn't prevent bugs in business logic or access controls either.
of course, but I imagine that in theory and I may be totally wrong here (as I usually am), but it is possible to use verus for formal verification which could perhaps help with some of this stuff or could help in finding these bugs?
A lot of WordPress sites rely on plugins for core functionality, and I don't see a pathway for those to work with this. Not in a drop-in fashion, anyway. How would that work?
I built two drop in replacements with the help of AI for old school php-5 era codebases (50k loc each, no frameworks), in house db management/data entry/reporting systems.
You treat the old system as a black box, fuzz the user facing part -walk all links, hit all buttons, submit all forms. Record side effects - changes to the database, fs and network calls etc, map the test cases against code paths, measure line coverage. Then build the new system in rust against this parity harness. It's not 100% foolproof, but it gets you 90% there. The rest you fix from user feedback.
But I do not think this can be productized. As you said, WP relies heavily on plugins. And also a lot of installations are customized, especially old sites that would benefit most. There is no size fits all.
So that means that all the Wordpress plugins - which, as the grandparent notes, is the whole reason Wordpress is so popular - work out of the box?
Otherwise it’s not a drop in replacement and adoption will not happen.
and to answer the question that comes naturally: it doesn't support Wordpress plugins yet. this is because they are aiming to sandbox them (1) and it currently doesn't run PHP (2).
no idea why/how/when but that's what the README says.
WordPress being FOSS means your agent has the spec, and an implementation and a gold standard for most decisions around function.
Couple that with Rust and you get surprisingly good output with agents. Rust brings its static/compile time rigidity that hopefully stops a LLM half arsing something without it being obvious.
In the short term a vibe coded app might produce something nice and ergonomic without realising its not scalable, longer term you've tied yourself to the project you're replacings fundementally bad choices. If they didnt make bad choices why are you replacing them?
But in the medium term it works well.
There are few MD files...
EmDash is basically the something that has a migration tool [1], and that future looks brighter to me. Also, I have more trust in software made by people on payroll rather than an upstart hobby project
[1]: https://docs.emdashcms.com/migration/from-wordpress/
Looks like this might do the trick assuming I can have it look at our Forgejo and not GitHub!
you mean one extra person in contributions? don't hyperbole, it looks bad
But I want to ask: when did it become OK to slavishly replicate someone’s UI work like this? It’s such an uncool thing to do.
It’s not WordPress.
1) Why steal the UI to the extent that you will confuse people. It can’t be identical in function so it shouldn’t be identical in look.
2) Given your evident use of the universal thinking machine, why not get it to do a really innovative UI?
What’s the use case here? “Likes blogging but likes CGI more than php” is a bit of a crowded space at the moment
Really makes you think, what is the reason you need memory safety FOR THIS
But why would memory safety not be a thing for a web app?
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
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
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.