C++专业术语

SOLID: 

 SRP Single Responsibility Principle  单一责任原则
 OCP The Open Closed Principle  开放封闭原则
 LSP The Liskov Substitution Principle 里氏替换原则
 DIP The Dependency Inversion Principle 依赖倒置原则
 ISP The Interface Segregation Principle 接口分离原则

 

 

 

 

 

 

 

 

 

 


Polymorphism 多态:  Using child class behavior from base class pointers / use base class pointer to reference or make calls on derived classes

 static and dynamic/  static - function overloaded / dynamic -  virtual operations

Encapsulation 封装:- public/private / "Data Hiding" / "binding data and methods via a class

inheritance 继承:  resusability" 

inheritance vs Composition    "Is-a == inheritance"       "Has-a == data member"

DataStruct:

Array insert  : O(1) using index. Run time would be O(n) / Delete would be similar situation O (n) / Find would be O(n)

Linked list :  insertion is O(n), Deletion O(n), Find O(n) 

Binary Balanced Tree  : Smallest elements in left hand tree.  Largest on right hand side.  Insertion is Nlogn, Delete is Nlogn, Find is O(logn)

Multi-thread:

1. re-entrance 

2. Shared data between  threads can cause data to be corrupted

3. Deadlock : caused by more than two threads and two resources

4.Race condition: use a mutex to lock the critical section to prevent data corruption.

Design Pattern:
solving same problem similar ways.
Readability, reuse, organization, proven

 

 

Others:

Until now, the boundaries between PCI Express (PCIe) and Ethernet were clearly defined

  • PCIe as a chip-to-chip interconnect, and
  • Ethernet as a system-to-system technology
While Ethernet switches are most commonly used in inter-system communication, the native chip-to-chip 
interconnect and dominating serial extension bus PCIe is on its way to compete with Ethernet, especially 
for the intra-system communication. Key benefits are very low latency and simple switching logic in 
combination with reduced design complexity, power consumption and costs.

Especially in times of IoT and Industry 4.0 applications where everything is connected and massive 
'big' data needs to be processed, high-speed switching is is gaining more and more importance for 
embedded system designs. It is used to orchestrate the data flow between multiple CPU boards, storage media 
and high-speed I/Os in applications like image processing, autonomous driving, video surveillance or for 
building up supercomputers. 

- https://www.menmicro.com/news-media/product-news/highly-efficient-switching-ethernet-vs-pcie/

 

posted @   七星望  阅读(391)  评论(0编辑  收藏  举报
编辑推荐:
· 开发者必知的日志记录最佳实践
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
· 记一次.NET内存居高不下排查解决与启示
阅读排行:
· 阿里最新开源QwQ-32B,效果媲美deepseek-r1满血版,部署成本又又又降低了!
· 开源Multi-agent AI智能体框架aevatar.ai,欢迎大家贡献代码
· Manus重磅发布:全球首款通用AI代理技术深度解析与实战指南
· 被坑几百块钱后,我竟然真的恢复了删除的微信聊天记录!
· AI技术革命,工作效率10个最佳AI工具
点击右上角即可分享
微信分享提示