Skip to content

[Idea] Consider libcosmic with Rust for ProtonVPN's native Linux client #89

@iamkartiknayak

Description

@iamkartiknayak

We are happy to answer your questions about the code or discuss technical ideas.

Please complete the following checklist (by adding [x]):

  • I have searched open and closed issues for duplicates
  • This isn't a feature request
  • This is not a report about my app not working as expected

As of now, the native Linux client is developed using Python. While Python is great for rapid development, I was wondering if you would consider leveraging libcosmic and the Rust programming language for the ProtonVPN Linux client?

There are issue with the current linux app not working properly due to python config in certain systems. We could eliminate all these issues by switching to an app i.e compiled and independent of system config.

Why Rust?

  • Security - Rust ownership model ensures memory safety without the need for a garbage collector, reducing vulnerabilities such as buffer overflows and null pointer dereferences, which are crucial for a security-focused application like ProtonVPN.

  • Performance: Rust's performance is similar to the OG language such as C for superior performance.

Why libcosmic?

If ProtonVPN considers developing their linux desktop app utilizing libcosmic could allow for better user experiences, such as seamless integration with desktop applets and native widgets. Also, Cosmic DE is gaining traction beyond Pop!_OS, with major distributions like Arch, Fedora, NixOS & others are adding support for Cosmic. Adopting libcosmic would position ProtonVPN to natively support a growing user base of Cosmic Desktop users.

Could this be something the team might explore in the future? I'd love to hear your thoughts on the feasibility and potential roadmap for this.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions