게임 프로그래밍을 위한 순수 함수형 언어의 활용

Apply A Pure Functional Language for Game Programming

  • 이동주 (부산대학교 컴퓨터 공학과) ;
  • 변석우 (경성대학교 컴퓨터 과학과) ;
  • 우균 (부산대학교 컴퓨터 공학과)
  • Lee Dong-Ju (Department of Computer Engineering, Pusan National University) ;
  • Byun Suk-Woo (Department of Computer Science, Kyungsung University) ;
  • Woo Gyun (Department of Computer Engineering, Pusan National University)
  • 발행 : 2005.05.01

초록

일반적으로 게임 프로그램을 구현할 때 C언어와 같은 명령형 프로그래밍 언어가 주로 사용된다. 하지만 복잡하고 다양한 그림의 모습 및 동작을 표현하기에는 프로그래머의 많은 노력이 요구된다. 복잡한 게임 프로그램을 보다 간결하고 명확하게 표현하는 방법으로 순수 함수형 언어인 Haskell을 이용하는 방법을 시도한다. Haksell과 같은 순수 함수형 프로그래밍은 기술적인 우수성을 가지고 있으며, 현재 많은 분야에서 특화된 언어로 되고 있다. 본 논문에서는 동일한 게임을 Haskell과 C로 직접 구현함으로서, 게임 개발 측면에서 두 언어의 차이점과 장단점에 대해서 논의한다. 또한 향후 Haskell의 실용화 가능성에 대해서도 논의한다.

The imperative programming language like C language is Generally used when we develop the game program. But there is the need of much effort and time on low-level-details in order to express the game program that has complicated and varied motion. I will try to take measures to use the pure functional language, Haskell as the method of simplifying complex game program. The pure functional programming language like Haskell has excellence of technology and it has become specific in many domains. In this paper I'll discuss the difference between The two languages and merits and demerits in the game development aspect. Also discuss the possibility of putting Haskell to practical use in the future.

키워드