GithubHelp home page GithubHelp logo

Convert the code to Rust about notqmail HOT 3 OPEN

notqmail avatar notqmail commented on June 14, 2024
Convert the code to Rust

from notqmail.

Comments (3)

josuah avatar josuah commented on June 14, 2024 2

Refactoring the code would also break all the 3rd-party patches there are for qmail.

If qmail gets widely acknowledged by the community and we end-up with non-patch extension mechanisms (already widely supported by qmail by adding or replacing one of its programs), followed by most, then I guess this removes the need of having a pure-C codebase.

In the other hand, if there are such a project of rewriting qmail in another language, it will be interesting to know it for notqmail team, so that all initiatives remain compatible: the mail queue format, install locations, programs naming and pipe/file descriptor interaction.

from notqmail.

schmonz avatar schmonz commented on June 14, 2024

Thank you for this well-structured suggestion, including rationale, tools to help with incremental migration, and a worked real-world example. I personally find the idea more than a little intriguing (perhaps especially because it would provide me an excuse to finally learn Rust).

The biggest tradeoff I can think of is, as soon as any important part of notqmail is written in Rust, we lose a great deal of OS and architecture portability that has historically been one of qmail's strengths. This might well be a worthwhile tradeoff, given how risky it is to live with C. No matter what we decide, it will be a consequential decision.

from notqmail.

najamelan avatar najamelan commented on June 14, 2024

@schmonz You can find the supported targets/architectures here.

from notqmail.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.