Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (Darkly)
  • No Skin
Collapse
Brand Logo
  1. Home
  2. Uncategorized
  3. What is the point of converting this software?

What is the point of converting this software?

Scheduled Pinned Locked Moved Uncategorized
68 Posts 35 Posters 82 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Stefan SchollS Stefan Scholl

    @samir I think I read an article in the 1980s about how people can write FORTRAN in every language. They meant in the style of FORTRAN, not the language itself.

    And you can write C in Rust.

    I'm not sure if this is automagically free of bugs.

    samir, a special snowflakeS This user is from outside of this forum
    samir, a special snowflakeS This user is from outside of this forum
    samir, a special snowflake
    wrote last edited by
    #61

    @Stefan_S_from_H I translated some C to Rust recently. I used the unsafe keyword a lot. I don’t think this made it more safe.

    MikalaiM 1 Reply Last reply
    0
    • Matthieu LemerreM Matthieu Lemerre

      @samir Yes! I think it is better to verify that existing software is memory safe, ideally automatically, but with the help of some type-like annotations if needed. There are still some rough edges, but Codex (the static analysis library) is close to provide that!

      samir, a special snowflakeS This user is from outside of this forum
      samir, a special snowflakeS This user is from outside of this forum
      samir, a special snowflake
      wrote last edited by
      #62

      @MatthieuLemerre I am all in favour of porting C and C++ to Rust! If the maintainers want to. And as you say, if not, there are tools to check safety, which should be wielded by knowledgeable maintainers. Otherwise you end up with the Ubuntu OpenSSL debacle.

      1 Reply Last reply
      0
      • pa28P pa28

        @samir It took a while but IEEE seems to be going all in on GenAI and in the process becoming less relevant to me almost daily.

        samir, a special snowflakeS This user is from outside of this forum
        samir, a special snowflakeS This user is from outside of this forum
        samir, a special snowflake
        wrote last edited by
        #63

        @pa28 I think it’s part of a larger pattern of journalists forgetting how to ask even the most basic of questions, like “What is the motivation for this?” and “What happens afterwards?”

        Geoff WozniakG 1 Reply Last reply
        0
        • samir, a special snowflakeS samir, a special snowflake

          RE: https://mastodon.social/@ieeespectrum/116030177478995194

          What is the point of converting this software?

          Who’s gonna maintain it?

          Unless you have interest from the maintainers, you have a bunch of code that no one uses and no one maintains. Good job, folks.

          I see nothing on these sites that explain how they hope to drum up maintenance, or even engage the maintainers of the original code.

          Once again, the critical part of FOSS is ignored. It’s the people.

          Warm SignullW This user is from outside of this forum
          Warm SignullW This user is from outside of this forum
          Warm Signull
          wrote last edited by
          #64

          @samir Also, what is the deal with converting everything to Rust, considering that language is far from perfect.

          A bunch of code that no one uses, maintains and that costed 10x more development time.

          Maybe for security-critical parts, but even with those, the programmers could spend extra effort to secure it in the original language.

          MikalaiM 1 Reply Last reply
          0
          • Pascal CostanzaP Pascal Costanza

            @samir @rogersm @ieeespectrum It’s also a pity that people seem to have forgotten about the foundations of computer science. The Halting Problem is still a thing…

            Roger SenR This user is from outside of this forum
            Roger SenR This user is from outside of this forum
            Roger Sen
            wrote last edited by
            #65

            @pascal_costanza @samir @ieeespectrum

            IT is in a strange position: decided to forget computer science but never moved into computer engineering.

            We’re a pop discipline, following the fad of the hour.

            1 Reply Last reply
            0
            • samir, a special snowflakeS samir, a special snowflake

              @Stefan_S_from_H I translated some C to Rust recently. I used the unsafe keyword a lot. I don’t think this made it more safe.

              MikalaiM This user is from outside of this forum
              MikalaiM This user is from outside of this forum
              Mikalai
              wrote last edited by
              #66

              @samir @Stefan_S_from_H
              Cause it may need a rethinking of this or that piece, not a blind rewrite.
              If in C to Rust you hit unsafe, it is a moment to ponder.
              Rust does push a little twist, that is positive for long term, maintability.

              BTW, have I mentioned, "time to ponder/think"? Current GenAI's don't do that.

              1 Reply Last reply
              0
              • samir, a special snowflakeS samir, a special snowflake

                @pa28 I think it’s part of a larger pattern of journalists forgetting how to ask even the most basic of questions, like “What is the motivation for this?” and “What happens afterwards?”

                Geoff WozniakG This user is from outside of this forum
                Geoff WozniakG This user is from outside of this forum
                Geoff Wozniak
                wrote last edited by
                #67

                @samir @pa28 Tech and computer industry journalism barely qualifies as journalism these days (if it ever did).

                1 Reply Last reply
                0
                • Warm SignullW Warm Signull

                  @samir Also, what is the deal with converting everything to Rust, considering that language is far from perfect.

                  A bunch of code that no one uses, maintains and that costed 10x more development time.

                  Maybe for security-critical parts, but even with those, the programmers could spend extra effort to secure it in the original language.

                  MikalaiM This user is from outside of this forum
                  MikalaiM This user is from outside of this forum
                  Mikalai
                  wrote last edited by
                  #68

                  @warmsignull @samir
                  When blind rewrite forces into use of unsafe sections, it is telling that section in general is not-ok, not provable to be ok. Rust compiler helps in a long run.
                  Is this a rethinking of foundations? Yes.

                  1 Reply Last reply
                  1
                  0
                  • R AodeRelay shared this topic
                  Reply
                  • Reply as topic
                  Log in to reply
                  • Oldest to Newest
                  • Newest to Oldest
                  • Most Votes


                  • Login

                  • Don't have an account? Register

                  • Login or register to search.
                  Powered by NodeBB Contributors
                  • First post
                    Last post
                  0
                  • Categories
                  • Recent
                  • Tags
                  • Popular
                  • World
                  • Users
                  • Groups