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 (No Skin)
  • No Skin
Collapse
Brand Logo

agnos.is Forums

  1. Home
  2. Programmer Humor
  3. Rust

Rust

Scheduled Pinned Locked Moved Programmer Humor
programmerhumor
99 Posts 64 Posters 0 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.
  • G [email protected]

    a community that allows squatting to happen and does nothing to resolve the issue is going to be plagued with chaos in the future. it opens an attack vector for supply chain attacks and altogether breeds distrust in the platform entirely.

    on the flip-side, a developer that squats on common library names in an attempt to garner support to resolve an issue and is ignored tells me two things;

    1. this is normal enough that the community doesn't feel the need to address the toxic behavior
    2. the issue of squatting isn't perceived as a high enough threat and they will take no action

    in my case both of those observations tell me the community at large isn't mature enough or forward thinking enough to allow me to use it as a solution. it also forces me to assume that the matter of toxic behavior will only continue to fester unchecked within the community.

    E This user is from outside of this forum
    E This user is from outside of this forum
    [email protected]
    wrote last edited by
    #86

    I guess, that's an opinion to have then. I interpreted your point about toxicity to mean something different.

    I will say that it certainly isn't the case that no one in the community cares about namesquatting. You can likely find lively discussions around that right now.

    But I have to admit that I don't concern myself with it too much.
    The thing for me is that one of the solutions that people suggest (for some of the problems that namesquatting has) is namespacing. And Rust kind of already has that, because it's already pretty customary to create basically meta-packages with feature-flags to pull in other packages transitively, meaning your users will only need to get one package name right.

    Well, and the other thing is that the official package registry isn't nearly as important in Rust as it is in many other languages, because you can also specify dependencies by providing the URL to the Git repository, with no registry involved. It's mostly just for visibility that you'd stick something onto the official registry.

    1 Reply Last reply
    0
    • pro@programming.devP [email protected]

      Piefed is not written in Rust.

      tatterdemalion@programming.devT This user is from outside of this forum
      tatterdemalion@programming.devT This user is from outside of this forum
      [email protected]
      wrote last edited by
      #87

      No one was talking about piefed.

      1 Reply Last reply
      0
      • pro@programming.devP [email protected]

        Piefed is not written in Rust.

        A This user is from outside of this forum
        A This user is from outside of this forum
        [email protected]
        wrote last edited by
        #88

        not yet

        W 1 Reply Last reply
        4
        • pro@programming.devP [email protected]

          Piefed is not written in Rust.

          R This user is from outside of this forum
          R This user is from outside of this forum
          [email protected]
          wrote last edited by
          #89

          I am still mentally in lemmy lol. Switch to piefed was pretty recent.

          1 Reply Last reply
          0
          • I [email protected]

            I am convinced Rust haters are simply refusing to learn something new, consciously or not.

            P This user is from outside of this forum
            P This user is from outside of this forum
            [email protected]
            wrote last edited by
            #90

            I don't like rust because I'm too stupid to understand it

            1 Reply Last reply
            0
            • A [email protected]

              not yet

              W This user is from outside of this forum
              W This user is from outside of this forum
              [email protected]
              wrote last edited by
              #91

              evil maniac laughter

              1 Reply Last reply
              2
              • Z [email protected]

                Be careful, a Rust Dev will accuse you of FUDposting! They might even try to collect evidence on you for being "a terrible person", then sending their followers after you, then individually contact all your publicly known friends about it!

                A This user is from outside of this forum
                A This user is from outside of this forum
                [email protected]
                wrote last edited by
                #92

                Okay, Christoph Hellwig.

                Z 1 Reply Last reply
                0
                • A [email protected]

                  Okay, Christoph Hellwig.

                  Z This user is from outside of this forum
                  Z This user is from outside of this forum
                  [email protected]
                  wrote last edited by
                  #93

                  Sorry, but Rust is still just as much a "not a functional programming language" as Java is "not an object oriented programming language"...

                  1 Reply Last reply
                  0
                  • C [email protected]

                    Where would you say Rust isn't the right solution?

                    We always hear how great Rust is, but I'd be curious to know where it isn't.

                    T This user is from outside of this forum
                    T This user is from outside of this forum
                    [email protected]
                    wrote last edited by
                    #94

                    We always hear how great Rust is, but I’d be curious to know where it isn’t.

                    • In any project that's sufficiently advanced and written in any other language. You don't simply do a rewrite of 100k+ LOC just because you want to use Rust.

                    • Somewhere where you'd rather use a scripting language like Python. I.e., rapid prototyping or gluing together some infra components.

                    • A situation where your team's expertise is in some other language.

                    • A situation where a library/framework is native/only available for a certain language.

                    Few of these are strictly technical requirements. It's obvious that you can use almost any language to do almost anything, including Rust, if that's what you prefer. However, the context matters in the real world.

                    All this being said, I wish I had a chance to write Rust professionally. It's a neat language.

                    C 1 Reply Last reply
                    1
                    • T [email protected]

                      We always hear how great Rust is, but I’d be curious to know where it isn’t.

                      • In any project that's sufficiently advanced and written in any other language. You don't simply do a rewrite of 100k+ LOC just because you want to use Rust.

                      • Somewhere where you'd rather use a scripting language like Python. I.e., rapid prototyping or gluing together some infra components.

                      • A situation where your team's expertise is in some other language.

                      • A situation where a library/framework is native/only available for a certain language.

                      Few of these are strictly technical requirements. It's obvious that you can use almost any language to do almost anything, including Rust, if that's what you prefer. However, the context matters in the real world.

                      All this being said, I wish I had a chance to write Rust professionally. It's a neat language.

                      C This user is from outside of this forum
                      C This user is from outside of this forum
                      [email protected]
                      wrote last edited by
                      #95

                      Lots of your point apply to any language it seems. I should have specified new projects I guess.

                      But the points you've made are good nonetheless

                      1 Reply Last reply
                      1
                      • D [email protected]

                        Rust [...] could use a higher level scripting language, or integrate an existing one, I guess.

                        One approach is to use more macros. These are still rooted in the core Rust language, so they give up none of the compile-time checks required for stability. The tradeoff is more complex debugging, as it's tough to implement a macro without side effects and enough compile-time feedback that you'd expect from a DSL.

                        Another is to, as you suggest, embed something. For example, Rust has Lua bindings. One could also turn things inside out and refactor the rust program (or large portions of it) as a Python module.

                        C This user is from outside of this forum
                        C This user is from outside of this forum
                        [email protected]
                        wrote last edited by
                        #96

                        Are Rust macros akin to the C macros? Basically an inline replacement of a code section?

                        D 1 Reply Last reply
                        0
                        • C [email protected]

                          Are Rust macros akin to the C macros? Basically an inline replacement of a code section?

                          D This user is from outside of this forum
                          D This user is from outside of this forum
                          [email protected]
                          wrote last edited by [email protected]
                          #97

                          Kind of. They do center on code generation, at the end of the day. That's where the similarities end. You can't insert macros into your code arbitrarily, nor can you generate arbitrary text as an output. Rust macros take parsed tokens as input, and generated (valid) code as output. They must also be used as annotations or similar to function calls, depending on how they're written. The limitations can be frustrating at times, but you also never have to deal with brain-breaking #define shenanigans either.

                          That said, I've seen some brilliant stuff. A useful pattern is to have a macro span a swath of code, where the macro adds new/additional capabilities to vanilla Rust code. For example, here's a parser expression grammar (PEG) implemented that way: https://github.com/kevinmehall/rust-peg

                          1 Reply Last reply
                          1
                          • L [email protected]

                            I like how this takes familiarity with the original xkcd comic as a given.

                            M This user is from outside of this forum
                            M This user is from outside of this forum
                            [email protected]
                            wrote last edited by
                            #98

                            I think half of Lemmy knows most of XKCD

                            1 Reply Last reply
                            0
                            • I [email protected]

                              I am convinced Rust haters are simply refusing to learn something new, consciously or not.

                              L This user is from outside of this forum
                              L This user is from outside of this forum
                              [email protected]
                              wrote last edited by
                              #99

                              “Everyone is gunning for you when you're at the top!”
                              ~ someone, after CE

                              1 Reply Last reply
                              0
                              Reply
                              • Reply as topic
                              Log in to reply
                              • Oldest to Newest
                              • Newest to Oldest
                              • Most Votes


                              • Login

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