• 0 Posts
  • 27 Comments
Joined 1 year ago
cake
Cake day: June 15th, 2023

help-circle





  • Sure :)

    There are a lot of downsides of C++ compared to more modern languages that make it not a great choice if you’re starting a web browser from scratch

    1. Complexity of the language leading to increased bugs and slower development
    2. Manual memory management is error-prone and leads to issues like memory leaks or segmentation faults. Modern browsers need to handle large amounts of dynamic content, making memory management complicated
    3. C++ lacks some of the built-in safety features of more modern languages, which has led to the majority of security vulnerabilities found in major browsers. It’s so bad that Mozilla invented an entirely new programming language just to deal with this
    4. Compared to higher-level languages, C++ can be slower to develop in, which may impact the ability to quickly implement new web standards or features unless you have a massive team
    5. While C++ is cross-platform, ensuring consistent behavior across different operating systems can be more challenging than with some other languages.
    6. Newer languages often provide built-in support for concurrent programming, garbage collection, and other features useful for browser development, which C++ lacks.

    So tl;dr: a browser but in C++ will take much longer to develop, have fewer features, more bugs, less concurrency and and more security vulnerabilities










  • Tbh you can actually quite easily buy a computer with Linux pre installed (ironically they cost more than the ones that come with windows though). I wouldn’t recommend it though, regardless of tech literacy. The problem is that Linux is like 70% easy and great, 20% frustratingly glitchy and unfinished, and 10% getting stuck on completely impossible problems that you will lose weeks of your life to before eventually concluding that no solution actually exists. Nothing ever quite just works, there’s always some caveat or minor issue and you end up chasing rabbit holes instead of actually using your computer to do what you wanted to do