FeatureFuel
3

Proposal to Evaluate the Gradual Migration from PHP to Rust

Source: nextcloud/server#50909 · opened by @DioCrafts
Summary: I propose that Nextcloud consider a gradual and strategic migration from PHP to Rust for critical system components, with the goal of improving performance, security, and scalability. Justification: • Performance: Rust offers speed comparable to C/C++ with lower resource consumption • Security: Rust's ownership system prevents memory errors and vulnerabilities • Concurrency: Better handling of parallel operations to improve scalability • Interoperability: Possibility of gradual migration while maintaining compatibility with existing PHP code • Sustainability: Growing community and enterprise support for the language Initial Use Case: I propose starting with critical components such as the database system (example: DbDataCollector) and security modules. Implementation Plan: 1. Proof of Concept (PoC) phase with non-critical modules 2. Comparative benchmarking with current PHP implementations 3. PHP-Rust interoperability strategy 4. Roadmap …

No pledges yet. Be the first to back this.

Make a pledge

Pledge your monetary support if this feature is added.

$

Comments

No comments yet.

Replying to

Add a comment

What do you think about this feature request?


Similar requests