We’ve been searching for a memory-safe programming language to replace C++ in Ladybird for a while now. We previously explored Swift, but the C++ interop never quite got there, and platform support outside the Apple ecosystem was limited. Rust is a different story. The ecosystem is far more mature for systems programming, and many of our contributors already know the language. Going forward, we are rewriting parts of Ladybird in Rust.

Porting LibJS

I used Claude Code and Codex for the translation. This was human-directed, not autonomous code generation. I decided what to port, in what order, and what the Rust code should look like. It was hundreds of small prompts, steering the agents where things needed to go. After the initial translation, I ran multiple passes of adversarial review, asking different models to analyze the code for mistakes and bad patterns.

  • TomAwezome@lemmy.world
    link
    fedilink
    arrow-up
    0
    arrow-down
    2
    ·
    8 hours ago

    I never made that point, so I didn’t address it. After you said “I’d rather remove you from society” it was pretty clear to me you were letting emotions get the best of you. Again, no need for ad hominem depictions.

    • orc girly@lemmy.ml
      link
      fedilink
      arrow-up
      2
      ·
      7 hours ago

      Their point is that attraction doesn’t entail crime or even willingness to commit crimes. Punishing someone for a thought crime is unenforceable and absurd.

      • TomAwezome@lemmy.world
        link
        fedilink
        arrow-up
        1
        arrow-down
        1
        ·
        7 hours ago

        I wouldn’t consider resident rehabilitation punishment, more of an opportunity really, but it still serves the purpose of keeping those people away from the rest of society and reintegrating them once they’re fit to be around vulnerable individuals

        • orc girly@lemmy.ml
          link
          fedilink
          arrow-up
          2
          ·
          7 hours ago

          You said:

          Nobody should pity pedophiles, you should want them removed from society permanently. If that’s controversial, so be it

          (Emphasis mine)

          You backpedaled after being called out, and it’s particularly annoying because removing permanently can also mean extermination. But giving you grace and only interpreting it as rehabilitation (assuming the individual is deemed to no longer be a danger to others), it’s still impossible to enforce until there’s a crime.

          • TomAwezome@lemmy.world
            link
            fedilink
            arrow-up
            1
            arrow-down
            2
            ·
            7 hours ago

            Someone who undergoes resident rehabilitation as a pedophile and is successfully treated results in someone who is no longer a pedophile. That permanently removes the pedophile from society.

            • Spectrism@lemmy.dbzer0.com
              link
              fedilink
              arrow-up
              1
              arrow-down
              1
              ·
              edit-2
              6 hours ago

              You can’t make someone “no longer a pedophile” any more than you can make someone “no longer gay/lesbian/bisexual/[insert any other sexual orientation]”.

              • TomAwezome@lemmy.world
                link
                fedilink
                arrow-up
                1
                arrow-down
                1
                ·
                6 hours ago

                A sexual preference towards men, women, or nonbinary isn’t a mental illness. A sexual preference to children is. Refer to this for further explanation.

                • Spectrism@lemmy.dbzer0.com
                  link
                  fedilink
                  arrow-up
                  1
                  arrow-down
                  1
                  ·
                  5 hours ago

                  Does a condition being considered a mental illness magically make it curable? Was homosexuality curable when it was still classified as a mental disorder? Not that I know of. But feel free to show me a reputable study claiming that is indeed possible to cure pedophilia or paraphilias in general.

                  • TomAwezome@lemmy.world
                    link
                    fedilink
                    arrow-up
                    1
                    arrow-down
                    1
                    ·
                    4 hours ago

                    Of course not, an individual with such a disorder can be successfully treated to reduce if not fully eliminate pedophilic urges or inclinations. Medications and treatments are available to reduce sexual libido and urges in afflicted individuals, as well as to rebuild the mental pathways from pedophilic to normophilic, without altering sexual orientation. A resource to consider is the Handbook of Clinical Sexuality for Mental Health Professionals by Stephen B Levine, Candace B Rice, Stanley E Althof. For a study, as you’ve requested, feel free to give Changes in Sexual Arousal as Measured by Penile Plethysmography in Men with Pedophilic Sexual Interest a cursory reading.

    • Spectrism@lemmy.dbzer0.com
      link
      fedilink
      arrow-up
      1
      ·
      edit-2
      7 hours ago

      Yes, you did make that point, by claiming that “we should remove all pedophiles from society”. I gave you an equivalent example to show you how stupid that is. And you didn’t just “not address it”, you completely spun it around to fit your narrative. That whole point was your emotional knee-jerk reaction, I was simply throwing it back at you.

      • TomAwezome@lemmy.world
        link
        fedilink
        arrow-up
        1
        ·
        7 hours ago

        It’s pretty simple, thorough and extensive rehabilitation to treat and rid individuals of the severe mental illness, such that they’re fit for reintroduction into society. That’s how rehab works.

        • Spectrism@lemmy.dbzer0.com
          link
          fedilink
          arrow-up
          1
          ·
          7 hours ago

          treat and rid individuals of the severe mental illness

          It’s not a mental illness. If anything, it’s a mental disorder or just a sexual orientation. And when exactly have we ever been able to get rid of a sexual preference? Is conversion therapy your goal? That shit doesn’t work.

          You seem to be making a lot of wrong assumptions here. Because just like men in the rapists example, pedophiles overwhelmingly are fit for society and don’t need treatment or rehabilitation in the first place. And for the ones that do feel like they need help, it would actually be better to not shame and stigmatize them to actually give them the chance of trusting someone to talk about it.

          • TomAwezome@lemmy.world
            link
            fedilink
            arrow-up
            1
            ·
            6 hours ago

            It’s not a mental illness. If anything, it’s a mental disorder

            Those are the same thing. “A mental disorder, also referred to as a mental illness, a mental health condition, or a psychiatric disability”

            Most mental illnesses can be successfully treated, many live to tell the tale. Drug addicts who become treated are no longer addicts, sufferers of emotional cognitive disorders who become successfully treated are no longer emotionally suffering. Some disorders are treatment resistant, and afflicted individuals undergo life-long consistent maintenance therapy.

            A sexual preference towards men, women, or nonbinary isn’t a mental illness. A sexual preference to children is.

            • Spectrism@lemmy.dbzer0.com
              link
              fedilink
              arrow-up
              1
              ·
              edit-2
              5 hours ago

              I thought I’ve read somewhere that “mental disorder” is a broader term, whereas “mental illness” was mostly referring to conditions that impact general behaviour and functioning. But okay, let’s use them synonymously, in which case it’s still not a severe mental illness that can be cured.

              A sexual preference towards men, women, or nonbinary isn’t a mental illness. A sexual preference to children is.

              Even if go with this assumption, that doesn’t mean it requires treatment (which is not really possible anyway), let alone forcefully.