Skip to content

Design Principles

Minkyu Lee edited this page Dec 20, 2021 · 3 revisions

Design Principles for Kaluma

  • Keep minimal RAM usage
  • Synchronous API is default (add asynchronous API when required)
    • 동기와 비동기 모든 API를 지원하기에는 프로그램이 너무 커진다.
    • 기본적으로 I/O를 비동기로 구동하기 위한 Thread가 존재하지 않는다.
    • 동기를 기본으로 하고 (필요한 경우 별도의 module로 비동기 API를 추가한다: e.g. fs_promise, fs_callback)
    • 동기가 프로그래밍이 쉽다!
  • Multiple smaller modules rather than single larger module
  • Load modules dynamically only when required
  • Keep API simpler
Clone this wiki locally