Giter Site home page Giter Site logo

[RFC] ping rewrite: can be in Rust? about iputils HOT 3 OPEN

pevik avatar pevik commented on September 7, 2024
[RFC] ping rewrite: can be in Rust?

from iputils.

Comments (3)

pevik avatar pevik commented on September 7, 2024 1

Thanks for your point. ping deserve complete rewrite (the code is very old, hard to maintain). That's why it's IMHO good opportunity to at least think about other alternatives to C, but of course we can endup with keeping C. Rust is far from being perfect, but it it cannot be ignored that it's will be sooner or later safer C alternative.

And even if the rewrite will be in C, it would be a separate project (e.g. ping2) and the original ping will be maintained until the new project is mature enough. This would be for sure the same even if it's written in Rust (e.g. rping).

from iputils.

nmeyerhans avatar nmeyerhans commented on September 7, 2024 1

This was previously discussed in #96. The primary issue raised there was about architecture support; Rust does not necessarily support all architectures supported by Linux. So this means that the C version would still need to be supported for some time either way. Though I suspect Linux and Rust to converge on a single set of supported architectures over time.

from iputils.

yvs2014 avatar yvs2014 commented on September 7, 2024

downside of rust is lack of

from my subjective view on rewritting in Rust:
C language is simple and efficient with consistent ABI and easy integrable with different build systems. Replacement of a working tool rewritting it in a busybox style with a way more complex language for sake of ???, IDK if that worths it even for C++ or new projects.

from iputils.

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.