2018년 5월 24일 목요일

오늘의 스터디 - 2018년 2월 23일

Beyond the Basics of Image Optimization

- the old ones
PNG vs JPEG vs GIF

- the new ones
PNG vs JPG vs WebP vs HEIF

mozjpeg

optipng

img-loader for webpack

Blur Up

the contrast swap technique

Never use GIFs

Image processing pipeline: Download -> Decode -> VRAM -> Composite

2018년 5월 7일 월요일

참고하는 Swift 소스

RxSwift

ReSwift

Alamofire

IGListKit
 
GPUImage2

에디터( Editor ) 어떻게 만들지?

Text Editor: Data Structures

아래의 4가지 data type 에 대해 설명한다.

1. Array

Redis로 유명한 Antirez가 재미로 만든 kilo를 기반으로 하여 에디터 만들기를 설명하는 블로그가 있다. 처음 시작으로 좋을 듯.

2. Rope

Rust로 만든 에디터인 xi-editor가 rope로 구현되어 있다.

3. Gap Buffer

Emacs가 Gap Buffer를 사용하여 구현되어 있다고 한다.

4. Piece Table

Atom, Visual Studio Code가 Piece Table로 구현되어 있다고 한다.

Generic interfaces 요점

 https://go.dev/blog/generic-interfaces  Generic interface를 정의할 때 최소한의 제약만을 정의하고 실제 구현체들이 자신만의 필요한 제약을 추가할 수 있도록 하는 것이 좋다. pointer receiver를...