hash retweeted
๐ช๐ต๐ฎ๐ ๐๐๐ฒ๐ฟ๐ ๐ฃ๐ฟ๐ผ๐ด๐ฟ๐ฎ๐บ๐บ๐ฒ๐ฟ ๐ฆ๐ต๐ผ๐๐น๐ฑ ๐๐ป๐ผ๐ ๐๐ฏ๐ผ๐๐ ๐ ๐ฒ๐บ๐ผ๐ฟ๐?
Check out this interesting article by Ulrich Drepper, which discusses computer memory systems and their implications for software developers.
Understanding these concepts is crucial if you aim to build highly efficient software.
The paper covers:
๐น ๐๐ฃ๐จ ๐๐ฎ๐ฐ๐ต๐ฒ๐ โ Why they exist and how to optimize cache usage for faster data access.
๐น ๐ฉ๐ถ๐ฟ๐๐๐ฎ๐น ๐ ๐ฒ๐บ๐ผ๐ฟ๐ โ How memory management happens behind the scenes and what that means for your applications.
๐น ๐ ๐ฒ๐บ๐ผ๐ฟ๐ ๐๐ฐ๐ฐ๐ฒ๐๐ ๐ฃ๐ฎ๐๐๐ฒ๐ฟ๐ป๐ โ The key to writing code well with the memory hierarchy.
๐น ๐ฃ๐ฒ๐ฟ๐ณ๐ผ๐ฟ๐บ๐ฎ๐ป๐ฐ๐ฒ ๐ง๐ผ๐ผ๐น๐ โ Practical advice on tools to identify and fix memory-related performance bottlenecks.
๐น ๐๐ผ๐ฐ๐ธ๐ โ Understanding the memory implications of multi-threaded programming.
๐น ๐ ๐๐น๐๐ถ-๐๐ต๐ฟ๐ฒ๐ฎ๐ฑ๐ฒ๐ฑ ๐ฃ๐ฟ๐ผ๐ด๐ฟ๐ฎ๐บ๐บ๐ถ๐ป๐ด ๐ฎ๐ป๐ฑ ๐ ๐ฒ๐บ๐ผ๐ฟ๐ โ How non-uniform memory access affects your program's performance on modern multi-core machines.
๐น ๐๐ป๐ฑ ๐บ๐ผ๐ฟ๐ฒ.
As software becomes more demanding and CPUs outpace memory speeds, mastering memory access can improve an application's performance.
It is a must-read for developers who want to understand low-level optimizations.
Link: people.freebsd.org/~lstewartโฆ
#programming #softwareengineering #developers
hash retweeted
๐๐ผ ๐ฌ๐ผ๐ ๐ก๐ฒ๐ฒ๐ฑ ๐ง๐ผ ๐๐ป๐ผ๐ ๐๐น๐น ๐๐ฒ๐๐ถ๐ด๐ป ๐ฃ๐ฎ๐๐๐ฒ๐ฟ๐ป๐?
The answer is no. Even though we have 23 design patterns, around ten are mostly used in everyday development. Knowing which patterns exist overall is good, but you need to know these very well.
Design patterns can be divided into three main types:
๐ญ. ๐๐ฟ๐ฒ๐ฎ๐๐ถ๐ผ๐ป๐ฎ๐น ๐ฃ๐ฎ๐๐๐ฒ๐ฟ๐ป๐
These design patterns deal with object creation mechanisms, trying to create objects in a manner suitable to the situation.
Important patterns in this group are:
๐น๐๐ฎ๐ฐ๐๐ผ๐ฟ๐: This pattern allows delegating the instantiation logic to factory classes. The Factory Method creates objects without exposing the instantiation logic to the client.
๐น๐ฆ๐ถ๐ป๐ด๐น๐ฒ๐๐ผ๐ป: The Singleton pattern ensures that a class has only one instance and provides a global point of access to it. It's useful when exactly one object is needed to coordinate actions across the system.
๐ฎ. ๐ฆ๐๐ฟ๐๐ฐ๐๐๐ฟ๐ฎ๐น ๐ฃ๐ฎ๐๐๐ฒ๐ฟ๐ป๐
These patterns deal with the composition of classes and objects which form larger structures.
Important patterns in this group are:
๐น๐๐ฑ๐ฎ๐ฝ๐๐ฒ๐ฟ: This pattern works as a bridge between two incompatible interfaces. It wraps an existing class with a new interface to become compatible with the client's interface.
๐น๐๐ฎ๐ฐ๐ฎ๐ฑ๐ฒ: The Faรงade pattern provides a unified interface to a set of interfaces in a subsystem. Faรงade defines a higher-level interface that makes the subsystem easier to use.
๐น๐๐ฒ๐ฐ๐ผ๐ฟ๐ฎ๐๐ผ๐ฟ: This pattern dynamically adds/overrides behavior in an existing method of an object. This pattern provides a flexible alternative to subclassing for extending functionality.
๐น๐ฃ๐ฟ๐ผ๐
๐: The Proxy pattern provides a surrogate or placeholder for another object to control access to it. In its most general form, a proxy is a class functioning as an interface to something else.
๐ฏ. ๐๐ฒ๐ต๐ฎ๐๐ถ๐ผ๐ฟ๐ฎ๐น ๐ฃ๐ฎ๐๐๐ฒ๐ฟ๐ป๐
These patterns are specifically concerned with communication between objects and how they interact and distribute work.
Important patterns in this group are:
๐น๐๐ผ๐บ๐บ๐ฎ๐ป๐ฑ: The Command pattern encapsulates a request as an object, thus allowing users to parameterize clients with queues, requests, and operations.
๐น๐ง๐ฒ๐บ๐ฝ๐น๐ฎ๐๐ฒ ๐ ๐ฒ๐๐ต๐ผ๐ฑ: This pattern defines the program skeleton of an algorithm in a method called template method, which defers some steps to subclasses.
๐น๐ฆ๐๐ฟ๐ฎ๐๐ฒ๐ด๐: The Strategy pattern defines a family of algorithms, encapsulates each one, and makes them interchangeable. Strategy lets the algorithm vary independently from clients that use it.
๐น๐ข๐ฏ๐๐ฒ๐ฟ๐๐ฒ๐ฟ: This pattern defines a one-to-many dependency between objects so that all its dependents are notified and updated automatically when one object changes state.
#technology #softwareengineering #programming #techworldwithmilan #developers
aodakjdaoijdoissd asoidjasoidjaoi adsaoidjaoidqm<cozxo docs.microsoft.com/en-us/linโฆ
1
1



