• Title/Summary/Keyword: 웹 컴파일러

Search Result 22, Processing Time 0.027 seconds

Design and Implementation of Web Compiler for Learning of Artificial Intelligence (인공지능 학습을 위한 웹 컴파일러 설계 및 구현)

  • Park, Jin-tae;Kim, Hyun-gook;Moon, Il-young
    • Journal of Advanced Navigation Technology
    • /
    • v.21 no.6
    • /
    • pp.674-679
    • /
    • 2017
  • As the importance of the 4th industrial revolution and ICT technology increased, it became a software centered society. Existing software training was limited to the composition of the learning environment, and a lot of costs were incurred early. In order to solve these problems, a learning method using a web compiler was developed. The web compiler supports various software languages and shows compilation results to the user via the web. However, Web compilers that support artificial intelligence technology are missing. In this paper, we designed and implemented a tensor flow based web compiler, Google's artificial intelligence library. We implemented a system for learning artificial intelligence by building a meteorJS based web server, implementing tensor flow and tensor flow serving, Python Jupyter on a nodeJS based server. It is expected that it can be utilized as a tool for learning artificial intelligence in software centered society.

A Study on Optimization Performance of WebAssembly Compilers (웹어셈블리 컴파일러 최적화 성능에 관한 연구)

  • Chae-won Shin;Su-hyeon Song;Dong-hyun Kwon
    • Proceedings of the Korea Information Processing Society Conference
    • /
    • 2024.05a
    • /
    • pp.35-36
    • /
    • 2024
  • WebAssembly(WASM)는 웹브라우저용 바이트코드로, 다양한 언어로 작성한 코드를 손쉽게 한번에 실행할 수 있고, 기존 고수준 언어를 사용하여 웹 애플리케이션을 개발할 수 있다. WASM 은 사용자와의 실시간 소통을 필요로 하는 웹용으로 개발되었기 때문에 성능이 중요한 요소로 꼽힌다. 이 논문에서는 대표적인 WASM 컴파일러인 emscripten 과 cheerp 에 대해 각각 생성된 코드의 성능을 측정하여 최적화 정도를 비교한다. 실험 결과 emscripten 의 최적화 수준이 더욱 높았으나, 두 컴파일러의 성능 간 상충 관계가 발견되었다.

JavaScript-to-c++ Type Inferencing Transcompiler Using Cartesian Product Algorithm (Cartesian Product Algorithm을 사용한 JavaScript-to-C++ 타입 추론 컴파일러)

  • Kim, Jaeju;Han, Hwansoo
    • Proceedings of the Korea Information Processing Society Conference
    • /
    • 2015.10a
    • /
    • pp.910-913
    • /
    • 2015
  • 자바스크립트는 웹 페이지를 제어하기 위한 표준적인 스크립트 언어로 오랫동안 사용되어 왔다. 최근 웹 앱이나 서버사이드 응용 프로그램을 자바스크립트로 작성하게 되면서, 자바스크립트 프로그램을 더욱 빠르게 동작하도록 만드는 것이 중요한 이슈가 되었다. 본 논문에서는 암시적인 동적 타입 시스템을 사용하는 자바스크립트 언어에 Cartesian Product Algorithm을 적용하여 타입을 추론하고, 이 정보를 바탕으로 정적 타입 시스템인 C++ 코드로 변환하는 컴파일러의 구조와 알고리즘을 제시한다.

Call Optimization on Just-in-Time Compiler of V8 JavaScript Engine (V8 자바스크립트 엔진 적시 컴파일러의 함수 호출 코드 생성 최적화)

  • Jung, Won-Ki;Moon, Soo-Mook
    • Proceedings of the Korean Information Science Society Conference
    • /
    • 2011.06a
    • /
    • pp.135-138
    • /
    • 2011
  • 자바스크립트 언어는 클라이언트 사이드 웹 언어로서 지금까지 널리 사용되어 왔다. 그러나 최근에서야 내장형 시스템에서의 웹 브라우징이 보급되면서 그 성능이 이슈가 되고 있는데, 이를 위해 여러 오픈 소스 진영에서 적시 컴파일러를 탑재한 고성능의 자바스크립트 엔진이개발되고 있다. 그 중 V8 자바스크립트 엔진이 현재는 성능이 가장 좋은 것으로 알려져 있으나, 자바스크립트 언어의 극도로 동적인 특성으로 인하여 아직 성능의 최적화 여지가 많이 남아 있다. 본 논문에서는 V8 자바스크립트 엔진의 적시 컴파일러에서 함수 호출 코드 생성에 관한 최적화를 적용 하였다. 두 개의 명령어와 하나의 상수 풀을 사용하던 기존의 함수 호출 코드에서 하나의 명령어만으로 함수 호출을 하도록 구현함으로써 성능이 1.5% 개선되었고, 네이티브 캐시 사용량이 7.7% 감소하였다.

Reuse of the Generated Code for JavaScript Just-in-Time Compiler (자바스크립트 적시 컴파일러를 위한 생성 코드 재사용)

  • Oh, Hyeong-Seok;Moon, Soo-Mook
    • Proceedings of the Korean Information Science Society Conference
    • /
    • 2010.06c
    • /
    • pp.540-544
    • /
    • 2010
  • 모바일 환경에서 웹 브라우저 활용이 늘어나고 웹 페이지를 통한 다양한 서비스가 제공되면서 브라우저에서의 자바스크립트 성능이 중요한 요소가 되었다. 자바스크립트 엔진의 성능 개선을 위해 기존에 사용하던 인터프리터 대신에 머신 코드를 실행 시간에 생성하는 적시 컴파일러(JITC)가 도입되었다. 특히 모바일 환경에서 WebKit의 자바스크립트 엔진인 SquirrelFish Extreme(SFX)이 많이 사용되고 있다. 본 논문에서는 SFX의 성능 향상을 위하여 적시 컴파일러를 통해 생성된 머신 코드를 파일 시스템을 활용하여 파일에 저장하였다가 재사용하는 클라이언트 AOTC(ahead-of-time compilation) 방식을 제시하고 초기 실험 결과를 제시한다.

  • PDF

Register Promotion for SFX ARM Just-in-time Compiler (SFX의 ARM 적시 컴파일러를 위한 레지스터 프로모션)

  • Oh, Jin-Seok;Moon, Soo-Mook
    • Proceedings of the Korean Information Science Society Conference
    • /
    • 2011.06a
    • /
    • pp.535-538
    • /
    • 2011
  • 최근 모바일 기기가 활성화되면서 자바스크립트의 성능 향상이 이슈가 되고 있다. 적시 컴파일러를 탑재한 자바스크립트 엔진들이 등장하면서 이러한 요구를 충족하고 있다. 대표적 웹 브라우징 엔진인 WebKit의 자바스크립트 엔진인 SquirrelFish Extreme(SFX)는 콘텍스트 쓰레딩 방식의 적시 컴파일러를 사용하고 있다. 하지만 모바일 환경에서의 성능은 여전히 문제가 된다. 모바일 환경에서 많이 사용되는 ARM CPU를 위한 SFX의 적시 컴파일러는 가상 레지스터를 머신 코드에서 사용하기 위해 많은 수의 메모리 로드와 스토어를 사용하고 있다. 또한 ARM 아키텍처가 제공하는 레지스터를 제대로 사용하지 못하고 사용되지 않는 레지스터가 존재하고 있다. 사용되지 않는 레지스터를 활용하여 메모리 로드와 스토어를 줄이는 레지스터 프로모션을 적용하였다. 루프에서 머신 코드로 수행되는 바이트 코드를 중심으로 가상레지스터를 실제 머신 레지스터로 할당하여 메모리 로드와 스토어를 줄이고 일부 벤치마크에서 성능향상이 나타남을 확인 했다. 레지스터 프로모션의 효과를 더 증대하기 위해 레지스터 프로모션의 범위를 함수 전체로 넓히고 핸들러 함수 호출에서 발생하는 오버헤드를 줄이는 최적화가 필요할 것으로 보인다.

Design and Implementation of Web based Java Virtual Education Center (웹 기반 자바 가상교육센터의 설계 및 구현)

  • 이승하;한동헌;김양우;유갑상
    • Proceedings of the Korean Information Science Society Conference
    • /
    • 2001.04b
    • /
    • pp.643-645
    • /
    • 2001
  • 자바 가상교육센터(Java Virtual Education Center)는 자바 프로그래밍 교육을 위한 가상교육시스템으로 인터넷과 웹 브라우저를 통해 사용자들에게 투명하게 자바 프로그래밍 실습 환경을 제공한다. 이것은 자바 컴파일러 실행을 웹 기반으로 구현함으로써 가능하게 된다. 본 논문에서는 자바 가상교육센터 구현에 적용된 자바 기술을 정리하고, 실제 자바 가상교육센터의 구조 및 동작원리를 설명한다. 또한 구현모델이 어떠한 설계개념을 가지고 구현되었는지를 살펴봄으로써, 향후 자바뿐 아니라 C나 C++와 같은 다른 프로그래밍 언어에도 적용할 수 있는 종합적인 프로그래밍언어 가상실습실의 구현 가능성을 제시한다.

  • PDF

Optimizing Constant Value Generation in Just-in-time Compiler for 64-bit JavaScript Engine (64-bit 자바스크립트 적시 컴파일러를 위한 상수 값 생성 최적화)

  • Choi, Hyung-Kyu;Lee, Jehyung
    • Journal of KIISE
    • /
    • v.43 no.1
    • /
    • pp.34-39
    • /
    • 2016
  • JavaScript is widely used in web pages with HTML. Many JavaScript engines adopt Just-in-time compilers to accelerate the execution of JavaScript programs. Recently, many newly introduced devices are adopting 64-bit CPUs instead of 32-bit and Just-in-time compilers for 64-bit CPU are slowly being introduced in JavaScript engines. However, there are many inefficiencies in the currently available Just-in-time compilers for 64-bit devices. Especially, the size of code is significantly increased compared to 32-bit devices, mainly due to 64-bit wide addresses in 64-bit devices. In this paper, we are going to address the inefficiencies introduced by 64-bit wide addresses and values in the Just-in-time compiler for the V8 JavaScript engine and propose more efficient ways of generating constant values and addresses to reduce the size of code. We implemented the proposed optimization in the V8 JavaScript engine and measured the size of code as well as performance improvements with Octane and SunSpider benchmarks. We observed a 3.6% performance gain and 0.7% code size reduction in Octane and a 0.32% performance gain and 2.8% code size reduction in SunSpider.

Compiler technology training through a virtual e-learning content programming language (가상 컴파일러 기술을 통한 실습 형 프로그래밍언어 e-learning 콘텐츠)

  • Lee, Ho-Jin;Kang, Hee-Su;Youn, Jun-Su;Moon, Il-Young
    • Proceedings of the Korean Institute of Information and Commucation Sciences Conference
    • /
    • 2014.05a
    • /
    • pp.867-870
    • /
    • 2014
  • Currently a number of universities and other educational institutions in the e-learning education system being implemented. Also that there is a demand. However, existing e-learning system has many problems. First, the theory of how the university -centered education and training institutions to adopt e-learning system has become the biggest obstacle. In addition, students can not engage the problem of a one-way lecture. In this paper, the theory -oriented and practice to overcome the one-way river systems programming language will develop e-learning content. Using socket communication and multi-threaded server-side Web browser on the client side through the compiler without installing a separate application installation and environmental learning environment can be unrestricted. Hands- content programming language allows the learner to direct the client-side source code in a web browser by entering the lecture is leading the way. For learners to enter the source code compiled to run on the server side, the compiler provides the learner results. Hands- because the future e-learning content development in e-learning systems will be a major contribution to.

  • PDF

An Implementation of the Web Services that Convert WML Page Into .NET Mobile Web Page (WML Page를 .NET 모바일 웹 페이지로 변환하는 웹 서비스 구현)

  • Kim Yoon-Joong;Kim Seung-Yeon;Hong In-Suk
    • Journal of Korea Multimedia Society
    • /
    • v.8 no.3
    • /
    • pp.413-420
    • /
    • 2005
  • In this paper, we describe a design and implementation of Web Services that convert WML(Wireless Markup Language) Page into .NET Mobile Web Page. The Web Services has an advantage that is available everybody without restriction oi platform and programming language. In this paper, we implement the Web Services Provider providing of converting system and the Web Services Consumer using this system. The Clients can get results of .NET Mobile Web Page without difficulty through Web Server because of implementation of Web Services Consumer using Web Services. Also the clients can develop new application using Web Services without respect of its implement process.

  • PDF