kcmetercec.github.io's Issues
Effective C++ :管理资源 | explorer
http://kcmetercec.top/2022/04/17/effective_cpp_obj_resource/
这里的资源主要是:内存、文件描述符、互斥锁、数据库连接、socket 等,一旦不使用它们,都要归还给系统。
ERPC 接口内存的申请和释放 | explorer
http://kcmetercec.top/2022/01/17/framework_erpc_allocate_free/
在 ERPC 的 IDL 说明文档中,对于接口内存的申请和释放是这样描述的: On the client side: All memory space has to be allocated and provided by the user code. The shim code only reads from or writes into this memory space. On the
Effective C++ :delete 优于私有未定义行为 | explorer
http://kcmetercec.top/2022/04/14/effective_cpp_delete_func/
如果不想让用户使用某个函数,那么有以下 3 种做法: 使用delete限定 将该函数设定为私有 直接不定义该函数 最为合适的做法,就是使用delete限定。
如何使用 Qml 实现 TabWidget? | explorer
http://kcmetercec.top/2022/02/14/qtquick_impl_tabwidget/
Qt, C++, linux, CS
使用 Wireshark 观察访问 Internet 上的 Web 服务器 | explorer
http://kcmetercec.top/2022/06/07/net_base_http/
Qt, C++, linux, CS
ERPC 使用体验 | explorer
http://kcmetercec.top/2021/12/18/framework_erpc_demo/
Qt, C++, linux, CS
Effective C++ :异常的注意点 | explorer
http://kcmetercec.top/2022/04/14/effective_cpp_excption/
Qt, C++, linux, CS
Effective C++ :赋值重载的注意点 | explorer
http://kcmetercec.top/2022/04/15/effective_cpp_operator=/
复制重载涉及到拷贝赋值和移动赋值两种情况,有些点需要注意一下。
| explorer
关于我一个在成都工作 10 年的嵌入式软件工程师。 经过多年的挣扎,才明白一个简单的道理: 只有接收现实,并根据自身情况设定一个切实可行的目标。然后向该目标持续积累,才能够慢慢摆脱现状。 切勿盲目比较、心浮气躁,常常反省自己所做的事是否偏离了目标。 联系方式QQ:304301959 微信:kcmetercec Gmail:kcmete
C++ concurrency:线程间同步 | explorer
http://kcmetercec.top/2022/05/19/cpp_concurrency_synchronize/
Qt, C++, linux, CS
理解 Window 和 Viewport | explorer
http://kcmetercec.top/2022/07/21/qtwidget_painter_viewport_window/
Qt, C++, linux, CS
Effective C++ :为多态基类声明 virtual 析构函数 | explorer
http://kcmetercec.top/2022/04/14/effective_cpp_virtual/
Qt, C++, linux, CS
C++ concurrency:设计基于锁的可以并发操作的数据结构 | explorer
http://kcmetercec.top/2022/05/22/cpp_concurrency_lock_based_data_structures/
Qt, C++, linux, CS
Effective C++ :对象的初始化 | explorer
http://kcmetercec.top/2022/04/12/effective_cpp_obj_initialize/
要养成好的习惯:永远在使用对象之前先将它初始化。 对于内置类型,在定义时就初始化 对于类类型,在构造函数初始值列表中按照声明顺序初始化 类类型中的私有变量是内置类型时,也可以在声明时初始化,这样可以避免初始值列表过长。 如果期望类类型中的对象以默认构造函数初始化时,那也可以不用放在初始值列表中
如何高效的绘制动态曲线? | explorer
http://kcmetercec.top/2022/03/02/qtquick_curve_performance/
Qt, C++, linux, CS
STM32 SPI 作为从机的注意事项 | explorer
http://kcmetercec.top/2022/03/31/stm32spi_as_slave/
Qt, C++, linux, CS
Effective C++ :构造,析构和继承 | explorer
http://kcmetercec.top/2022/04/15/effective_cpp_condestruct_virtual/
构造和析构函数中调用虚函数,由于其派生类还未被构造和已被析构,所以得到的结果不会是预期的。 重载父类虚函数,需要加上override关键字
ERPC 的执行效率 | explorer
http://kcmetercec.top/2022/01/24/framework_erpc_performance/
Qt, C++, linux, CS
Effective C++ :智能指针 | explorer
http://kcmetercec.top/2022/04/17/effective_cpp_smart_pointers/
传统指针具有以下缺陷: 单从一个指针的声明,无法判定它是指向一个对象还是指向一个包含该对象的数组 单从一个指针的声明,无法判定当不使用该指针时,是否需要释放它所指向对象所占用的资源 当需要释放指针所指向对象的资源时,并不能明确的知道是该使用delete,还是使用其它专有的释放函数 当需要使用delete释放资源时,到底是使用delete还是delete[],这需要小心使用,否则会造成内存泄漏或未
ERPC 同时运行一个服务端和客户端 | explorer
http://kcmetercec.top/2021/12/20/framework_erpc_cs_together/
Qt, C++, linux, CS
C++ concurrency:线程间共享数据 | explorer
http://kcmetercec.top/2022/05/17/cpp_concurrency_share_data/
Qt, C++, linux, CS
Effective C++ :认识编译器的默认生成函数 | explorer
http://kcmetercec.top/2022/04/13/effective_cpp_default_func/
Qt, C++, linux, CS
tags | explorer
关于我一个在成都工作 10 年的嵌入式软件工程师。 经过多年的挣扎,才明白一个简单的道理: 只有接收现实,并根据自身情况设定一个切实可行的目标。然后向该目标持续积累,才能够慢慢摆脱现状。 切勿盲目比较、心浮气躁,常常反省自己所做的事是否偏离了目标。 联系方式QQ:304301959 微信:kcmetercec Gmail:kcmete
IMX8MM 使用 ERPC 结合 rpmsg 完成 A53 和 M4 的通信 | explorer
http://kcmetercec.top/2021/12/21/framework_erpc_imx8mm_rpmsg/
Qt, C++, linux, CS
categories | explorer
http://kcmetercec.top/categories/
关于我一个在成都工作 10 年的嵌入式软件工程师。 经过多年的挣扎,才明白一个简单的道理: 只有接收现实,并根据自身情况设定一个切实可行的目标。然后向该目标持续积累,才能够慢慢摆脱现状。 切勿盲目比较、心浮气躁,常常反省自己所做的事是否偏离了目标。 联系方式QQ:304301959 微信:kcmetercec Gmail:kcmete
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.