코딩Coding
-
인라인 함수의 장/ 단점코딩Coding/CleanCode_코딩아이디어 2025. 5. 4. 10:11
# inline 해주면 썽으로 넣어주기 때문에 빠르지만 코드가 길어 지는 단점 1-3줄 사이의 짧은 코드에 적용해야 한다인라인 함수를 사용함으로써 성능의 향상과 매크로의 부작용을 해결할 수 있다고 하지만, 인라인 함수를 너무 남발하게 되면 실행 코드 자체가 커지게 되는 단점이 있다. 그리고 인라인 함수의 모토는 1~3줄 정도의 짧은 코드를 함수화시킴으로써 효율성의 낭비를 막고자 함이었는데, 코드가 5줄 이상이 되어버린다면 굳이 인라인 함수를 사용할 이유가 없다.자세한 내용은 밑에 내용 참고https://thinkpro.tistory.com/m/140 inline function (인라인 함수) 란?c++언어에서는 인라인 함수라는 것을 제공한다. 인라인이라는 의미는 코드 라인 자체가 안으로 들어간다는 뜻...
-
Embedded] 메모리는 SRAM이 아니다!!! feat. MMIO & Flash이해하기코딩Coding/코딩기초상식_필수지식 2025. 2. 19. 16:51
Embedded] 메모리는 SRAM이 아니다!!! feat. MMIO 차완기 - @2023. 7. 30. 오후 7:47:00 https://www.varofla.com/251bb058-8b0e-461a-96d0-7892fd25044c [Embedded] 메모리는 SRAM이 아니다!!! feat. MMIOPC에서의 상식이 통하지 않는, 임베디드 MCU에서의 메모리에 대해 알아보았습니다.www.varofla.com
-
[컴퓨터 구조] Cache코딩Coding/코딩기초상식_필수지식 2025. 2. 19. 16:44
# [컴퓨터 구조] Cache공학/컴퓨터구조 2023. 8. 12. 03:12- https://yohda.tistory.com/entry/TLB?category=1006655 [컴퓨터 구조] Cache글의 참고 - 64-ia-32-architectures-software-developer-vol-3a-part-1-manual.pdf - https://en.wikipedia.org/wiki/CPU_cache#Multi-level_caches - https://en.wikipedia.org/wiki/Locality_of_reference - https://en.wikipedia.org/wiki/CPU_cache - https://en.wikyohda.tistory.com
-
9월 10-13 러스트 컨퍼런스 Join us for the 9th edition of RustConf2024 🇨🇦카나다코딩Coding/★★Rust★★최신동향★및관련글 2024. 6. 3. 09:31
# 9월 10-13 러스트 컨퍼런스 Join us for the 9th edition of RustConf in beautiful Montreal, Canada or online from wherever you are! September 10-13, 2024 Montreal & Online https://rustconf.com/RustConf 24 - The largest annual gathering of the Rust-language communityThe largest annual gathering of the Rust-language community · Talks and Trainings · Discord rooms for live discussion · Digital and in-person..