4. 구글링
Graphics/Game In Lisp
•장점
•Immutable persistant data structure
•awesome for game scripting
•awesome for interactive programming
!
•고려할점
•careful for performance
•natural GC-heavy process
•mutability
8. 리습을 공부해도 쓸일이 없다
리습과 나
•Clojure SNG 서버를 만들어 보았다
■ 프로토타이 단계에서 필요한 기능을 금방 만들었다.
■ 금방 만들다 보니 금방 실증났다.
■ 다른 프로그래머가 쳐다 보기도 싫어한다.
■ 차라리 Python이나 Go 로 만들지 그랬냐며 빈정댄다.
!
•다른 걸 해보자.
■ 굳이 Clojure로 하지 않아도 될것들
■ 그냥 최근에 C로 짜본건들
■ Raytracer / Raymarching
9. Tracing Rays :-)
Raytracer
•The “Hello World” in Graphics
•A numerical application(Linear Algebra)
•Rendering algorithms
•Takes lots of time
20. Why should I use defrecord in clojure
defstruct vs defrecord
•Performance
•With additional macro machinery around
defrecord, I can get field validation, default
values, and whatever other stuff I want
•Records can implement arbitrary interfaces
or protocols (maps can't)
•Records act as maps for most purposes
•keys and vals return results in stable (per-
creation) order