This week I Learned 51

주영택·2020년 12월 21일
0

This Week What I Learned

목록 보기
49/50

CSS 박스 모델

CSS is all about boxes. Everything that is displayed on the screen has a box, and the Box Model describes how the size of that box is worked out — taking into account margins, padding, and borders. The standard CSS Box Model takes the width that you have given an element, then adds onto that width the padding and border — meaning that the space taken up by the element is larger than the width you gave it.

프론트엔드 개발자들에게 묻는 단골 질문, basic of basic 이라고 생각하는데 모르는 분들이 너무 많더라...

Interface Design Checklists (PDF) 도 사고 싶다.

Rust 의 힙 메모리 관리 타입

러스트의 포인터 타입 중 RC 타입과 ARC 타입이 궁금해서 검색 한 결과들

https://www.google.com/search?q=rc+vs+arc

정리하면

  • Box is for single ownership.
  • Rc is for multiple ownership.
  • Arc is for multiple ownership, but threadsafe.
  • Cell is for “interior mutability” for Copy types; that is, when you need to mutate something behind a &T.

그리고

  • 적당한 포인터 타입 고르는 설명을 담은 포스트
  • ARC 의 동작에 대한 설명을 담은 포스트

링크들

profile
NodeJS 백엔드 웹 개발자입니다.

0개의 댓글