• 0 Posts
  • 66 Comments
Joined 2 years 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






  • I don’t think you understand how fractional reserve banking works. The first paragraph of that Wikipedia page already clearly contradicts you. The banks can still only lend money they have (otherwise how would they lend it? Where would it come from? Only the central bank can print currency). What fractional reserve banking is saying is that banks can invest some portion of the customer deposits that they hold into non-liquid assets, often in the form of loans to other customers, but it could also be invested in other things eg government bonds. The interest banks earn by doing that helps pay for the interest they pay to customers on their saving. They also have to carefully manage their liquidity: maximising returns while still holding enough liquid assets to cover any potential spikes in withdrawals.

    Even when investing customer funds, banks still have to meet captial requirements set by the regulators which basically say that their risk-adjusted assets have to cover the liabilities of customer deposits, so that for example they can’t just invest all the deposits in Bitcoin as that would pose too high a risk of insolvency. The reason SVB went insolvent recently was that they successfully lobbied the Trump administration to relax capital requirements for banks of their size, then made risky investments that lost money and they suddenly had less money than they owed their customers.