• @thingsiplay@beehaw.org
    link
    fedilink
    501 year ago

    As a Thunderbird user and Rust fan, I approve this integration. However I want to mention that Thunderbird is good as it is and actually don’t think new features are needed. Only compatibility with other software or protocols could be better (which the Rust integration aims to improve). And to be honest, a way to disable some of the feature bloat would be preferable too, as I don’t use lot of the additional stuff (but I make use of the RSS Feed reader).

    • @Ohh@lemmy.ml
      link
      fedilink
      31 year ago

      Thunderbird still uses mbox. Maildir is incomplete and experimental.

      I really wish we could use maildir.

      • @thingsiplay@beehaw.org
        link
        fedilink
        11 year ago

        Yes it was shocking to learn about the file format. I reverse engineered the stuff that I need to know and its a complex mess of noodle soup (later found a description of it, but its not fully documented by Mozilla either). I am surprised that Thunderbird still uses this ancient and inefficient format.

  • @radiant_bloom@lemm.ee
    link
    fedilink
    21 year ago

    Who cares ? What matters is the features and how fast the app is. Not what language was used to achieve that.

    • mosiacmango
      link
      fedilink
      43
      edit-2
      1 year ago

      Rust is wildly fast. Learning that it is being used for a program is good to know if you care about speed. If you read the article, it even addresses your exact critiques:

      Moreover, Rust has demonstrated superior performance compared to JavaScript add-ons, resulting in a quicker and more responsive Thunderbird. Furthermore, the integration of Rust into Thunderbird will be facilitated by the fact that it is already utilized in Firefox, enabling Thunderbird to leverage existing infrastructure for testing and continuous integration.

      So not only with thunderbird be faster because Rust is faster than JavaScript, but it eliminates 3rd party addons by being native which also further increases speed. Lastly, development time for new features and improvements is faster because they can now use using the mature tooling that Mozilla has for Rust.

      So yeah, good to know its using Rust now.

      • @eveninghere@beehaw.org
        link
        fedilink
        71 year ago

        Not the person you wrote to, but TB has native code in C++, so I don’t really think the speed will change. The official website also doesn’t advertise speed improvements. It argued that Rust is (almost) as fast as the current native C++ part in TB, and that’s about it.

      • @thingsiplay@beehaw.org
        link
        fedilink
        71 year ago

        I wrote a simple commandline program in Rust to read mailbox file from Thunderbird and to output count of unread mails. The speed is insanity! Measuring the execution time with command time CMD outputs execution time of total 0m0,001s! While also providing all the features and checks from Rust (plus Clippy with pedantic options enabled), so I am confident it is not a buggy mess. I would need at least 10 years of professional experience in C to have this feeling of confidence.

      • @radiant_bloom@lemm.ee
        link
        fedilink
        01 year ago

        The improvement here is switching from interpreted to compiled. It could have been C, Zig, Odin, or even C++ (but thank Satan it isn’t C++)

        I’m not sure I understand why people like Rust over C, although I don’t have that much experience in enterprise coding. I’m generally distrustful of languages without a standardized specification, and I don’t really like that Rust has been added to the Linux Kernel. Torvalds giving in to public opinion isn’t something I thought I’d live to see…

        I get the segmentation fault thing, but to be blunt, that sounds like a skill issue more than an actual computer science problem.

        Maybe if things were less rushed and quality control was regarded more highly, we wouldn’t have such insanities as an email client (or an anything client) written in JavaScript in the first place.

        Rust is likely going to suffer the same problem as JS, where people indirectly include 6,000 crates and end up with 30 critical CVEs in their email client that they can’t even fix because the affected crate was abandoned 5 years ago…

        • @Ropianos@feddit.de
          link
          fedilink
          161 year ago

          Obviously it’s a skill issue but don’t you ever make mistakes? If Rust prevents some bugs and makes you more productive, what is not to like? It’s a new language and takes time to learn but the benefits seem to outweigh the downsides now and certainly in the long run (compared to C at least).

          Maybe Torvalds didn’t give in to public opinion but made an informed choice?

          The crates are a bit of a problem and I think Rust is a bit overhyped for high-level problems (it still requires manual memory management after all) but those are not principal roadblockers, especially in the kernel.

        • @ReversalHatchery@beehaw.org
          link
          fedilink
          English
          4
          edit-2
          1 year ago

          It’s not “the segmentation fault thing”. It’s that C allows you to shoot yourself in the foot in many various ways, part of which will immediately show itself in the form of a segfault, part of which may show itself in the form of a segfault minutes, days, or years later depending on how the users use the software, and part of which will not show itself in the form of a segfault ever but make the program unstable in other ways.

          Yeah, sure, you can say that it’s “a skill issue”, but maybe that’s not the attitude of the year if you want more contributors in the project, which is a useful goal if you don’t want it’s developer community to die out or otherwise disintegrate.

          where people indirectly include 6,000 crates and

          That’s why the maintainers shouldn’t allow anyone to just add any new dependencies without a proper consideration. I don’t think this is an unsolvable problem.

          • @radiant_bloom@lemm.ee
            link
            fedilink
            11 year ago

            I admit to not knowing how running an open source project goes, but wanting more contributors seems like the wrong metric compared to better contributors.

            I understand the pitfalls of C are not limited to segmentation faults, but I suspect it would be more productive to fix C by including some of Rust’s better ideas than to throw it away, as seems to be the current trend.

            I don’t think Rust is wholly bad, to be clear, but it seems over-engineered to me, and the fact its useful new features don’t even completely work (see rust-cve) isn’t very encouraging.

            I would recommend listening to Jonathan Blow’s opinion on Rust, which I tend to agree with. I personally think I’m just going to stick with C until Rust either becomes the standard, or I retire and let the next generation worry about that.

            • @ReversalHatchery@beehaw.org
              link
              fedilink
              English
              11 year ago

              I don’t have much experience in C, but I’m not sure if bringing Rust’s ideas over to C would help.
              As I understand, a lot of problems come from either that arrays are actually just pointers and if you don’t enforce it’s length for yourself then no one will, and in practice they span the entire area of process memory dorwards and backwards too. Or from that you free memory at the wrong time, or you never do that at all.
              You can’t make mistakes with the first thing in Rust because the compiler takes note of the array’s length, and you just can’t abuse it as it won’t compile then. The second is a nonissue too, as memory management is automatic (kind of).

              Fixing C sounds to me like patching up a sieve. That language was designed with those features in mind that make it error prone, and changing them would result in a different language. You would have to change your program anyway, and that probably wouldn’t be a small renovation. Also, you often can’t afford to not use pointers, because that’s how you pass things by reference in C, and besides passing by reference being important for performance reasons (to avoid copies) that’s the only option if so you have is a pointer to something, and when it’s stored in the heap.

            • @pingveno@lemmy.ml
              link
              fedilink
              English
              11 year ago

              including some of Rust’s better ideas than to throw it away

              The problem is that you can’t just tack Rust’s ideas onto an existing language. Generics, traits, lifetimes, borrowing, sum types, and match are key Rust features, but took considerable design time before Rust even reached 1.0. They interlock to produce a pleasant development experience. You can’t just attached them to C and call it a day.

              I don’t think Rust is wholly bad, to be clear, but it seems over-engineered to me, and the fact its useful new features don’t even completely work (see rust-cve) isn’t very encouraging.

              Most of the CVE’s listed there are in unsafe code in the standard library. At some point, some code is going to have to have to implement the tricky cases. In C, this code is common place, ready for any coder to run into problems. In Rust, these are bizarre edge cases that most people would never trigger.

              I haven’t heard Jonathan Blow’s take yet, but one thing a person pointed out is that he tends to prefer a style that uses a lot of shared state. Rust explicitly discourages that style, considering it a source of bugs.

              I encourage you to give Rust a try. It never hurts to have another language in your arsenal. Who knows, you might even find it fun.

        • @someacnt_@lemmy.world
          link
          fedilink
          3
          edit-2
          1 year ago

          Do you really think Torvalds is the one who would cave in to public opinion only? Really?

          Also how much of C programming did you do

        • @iopq@lemmy.world
          link
          fedilink
          -21 year ago

          Any bug is a skill issue. There’s literally 0.001% of programmers who are dealing with computer science problems and they are all compiler writers

    • @sibachian@lemmy.ml
      link
      fedilink
      English
      21 year ago

      people who like fast apps should care because like 99% of current software developers are building electron apps instead of giving us something that actually lets your high end computer behave like a high end computer.

      the only modern chat application that doesn’t run electron today is Telegram.

      the only cloud note taking app that doesn’t run electron is …uh. doesn’t even exist.

      the only…

      i can’t even think of something i use that was released after 2016 on my computer that doesn’t run at a crawl because of electron. fuck electron.

      • Richard
        link
        fedilink
        English
        11 year ago

        I am pretty sure all of the KDE suite software does not use Electron. Or are you using Windows?

        • @sibachian@lemmy.ml
          link
          fedilink
          English
          11 year ago

          using cinnamon. and yeah base software is largely fine. but non-base productivity apps are largely built in electron. cinnamon even offers a webapp tool so in some cases i can at least avoid it.

  • daddyjones
    link
    fedilink
    -171 year ago

    How many people still use an email client? Genuine question.

    I use either my phone or a web interface.

      • offline access and archival
      • use with multiple providers
      • seamless integration with contacts and calendar of any provider
      • better keyboard shortcuts
      • multiple windows
      • end2end encryption via PGP keys, can use same keys as the rest of the system
      • more lightweight on system resources
      • themes, I guess?
    • @HouseWolf@lemm.ee
      link
      fedilink
      English
      231 year ago

      I only recently start using it after also being a browser email user all my life.

      Kinda wondering what took me so long Thunderbird is great! don’t have to relearn questionable Ui between different email providers or re-login to check two mailboxes on the same provider.

      Only annoying thing is not supporting ProtonMail out of the box.

      • RBG
        link
        fedilink
        81 year ago

        That annoying thing is more on Protonmail though and I don’t mean that as a negative, just more difficult to connect when the provider wants to keep things secure.

        • @TCB13@lemmy.world
          link
          fedilink
          English
          21 year ago

          just more difficult to connect when the provider wants to keep things secure.

          Proton could’ve just implemented everything they did with IMAP/SMTP on Thunderbird + OpenPGP with the same level of security, but they decided not to. Yes, their solution is convenient but also close to everything else.

      • @TCB13@lemmy.world
        link
        fedilink
        English
        31 year ago

        Only annoying thing is not supporting ProtonMail out of the box.

        That’s Protons fault, they’re the ones that decided to ignore all the open and standard e-mail, contacts and calendar protocols out there and built their custom-everything stack to keep you vendor-locked into their interfaces.

    • @radiant_bloom@lemm.ee
      link
      fedilink
      141 year ago

      Web interfaces are so much worse than local apps IMO. And that doesn’t just include email, I always choose a local app over anything that runs in my browser.

    • @jokro@feddit.de
      link
      fedilink
      71 year ago

      I do, i dont want to have to access 5 accounts using the browser on 3 different websites

      Unfortunaly protonmail is not possible local (afaik) so i have to check there in the Browser.

    • @TheEntity@lemmy.world
      link
      fedilink
      71 year ago

      How many email accounts do you have? It might be a huge factor. I have about 7 accounts I need to check regularly and I cannot imagine doing it manually for each. I can see it working for one or maybe two though.

    • @baseless_discourse@mander.xyz
      link
      fedilink
      5
      edit-2
      1 year ago

      I use a client because I don’t want microsoft to remember me when I go on other microsoft site besides their web email client.

      I guess I can use a dedicated browser for email, but that is pretty much just a email client using more resources.

    • @Olap@lemmy.world
      link
      fedilink
      51 year ago

      Me. Outlook on my windows work box is hard to beat imo. Personal? All android’s default and web-ui

    • @onnekas@sopuli.xyz
      link
      fedilink
      21 year ago

      I have several mails for different projects. Also private + university mail. Then I have my Google mail that I exclusively use for everything related to android/app store.

      Checking all those mail accounts at once, managing folders/filters and signatures is all way easier with a desktop mail client.

      Some years ago I was like you. I only needed to read mail and I have to admit that a desktop client is not really necessary in that case.