43 points Sid_Lmao 2 hours ago 32 comments
Sid_Lmao 2 hours ago | parent
benxh 1 hour ago | parent
Really makes you think, what is the reason you need memory safety FOR THIS
savolai 1 hour ago | parent
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
flakeoil 1 hour ago | parent
But why would memory safety not be a thing for a web app?
pier25 1 hour ago | parent
llm_nerd 55 minutes ago | parent
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.
zsoltkacsandi 1 hour ago | parent
bovermyer 1 hour ago | parent
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?
zsoltkacsandi 1 hour ago | parent
Sid_Lmao 1 hour ago | parent
bonki 54 minutes ago | parent
Sid_Lmao 45 minutes ago | parent
basch 34 minutes ago | parent
Sid_Lmao 12 minutes ago | parent
petra 10 minutes ago | parent
rustyhancock 30 minutes ago | parent
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.
illright 13 minutes ago | parent
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
pampa 11 minutes ago | parent
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.
hadi77ir 1 hour ago | parent
beaconamber98 1 hour ago | parent
baalimago 1 hour ago | parent
Sid_Lmao 47 minutes ago | parent
monkey_monkey 1 hour ago | parent
Sid_Lmao 39 minutes ago | parent
zelphirkalt 24 minutes ago | parent
pier25 1 hour ago | parent
SidLais 1 hour ago | parent