• Title/Summary/Keyword: native-code

Search Result 42, Processing Time 0.031 seconds

A Study on Platform Independent of Javascript Application based Native Code (Native 코드 기반 자바스크립트 애플리케이션의 플랫폼 독립성을 위한 연구)

  • Nam, Hyunwoo;Park, Neungsoo
    • Proceedings of the Korea Information Processing Society Conference
    • /
    • 2014.04a
    • /
    • pp.328-330
    • /
    • 2014
  • 최근 크로스 플랫폼을 지원하기 위한 애플리케이션 개발 언어로서 자바스크립트가 채택되어 사용되고 있다. 하지만 스크립트 기반 애플리케이션에서도 C, C++ 라이브러리를 활용해야 하거나 성능적인 이슈를 해결하기 위하여 Native 코드를 사용하는 경우가 있다. 따라서 Native 코드가 적용된 자바스크립트 애플리케이션 패키지는 여전히 Native 코드 사용으로 인하여 CPU 및 OS 와 같은 플랫폼에 의존성이 발생하였다. 따라서 본 연구에서는 이를 해결하기 위한 관련 기술들을 분석하고, 이를 통해 성능을 보장하면서도 크로스 플랫폼 지원이 가능한 시스템 설계 방안에 대하여 제시한다.

A study stack allocation on JIT Code Generator for reducing register load traffic (레지스터 로드 트래픽 감소를 위한 JIT Code Generator에 스택할당 정책 적용 방안 연구)

  • Song, Kyung-Nam;Kim, Hyo-Nam;Won, Yoo-Hun
    • Proceedings of the Korea Information Processing Society Conference
    • /
    • 2001.10b
    • /
    • pp.1541-1544
    • /
    • 2001
  • Java virtual machine의 성능을 향상시키기 위해 "JIT(Just-in-Time)"code generator가 고안되었다[3], JIT code generator는 스택기반의 자바 바이트 코드를 레지스터 기반의 native machine code로 변환해 주는 역할을 수행하여 바이트 코드의 번역시간을 줄여준다. 그러나 JIT 는 많은 레지스터의 사용을 야기시키므로 효율적인 레지스터 allocation 정책이 필요하고 스택과 레지스터 간의 traffic 을 가중시킨다. 그러므로 본 논문에서는 자바 바이트 코드의 효율적인 stack allocation 정책을 JIT code generator에 적용함으로 레지스터와의 traffic을 줄이는 방법을 제시하였다.

  • PDF

Translation of Java Bytecode into C code with the JNI (자바 바이트코드로부터 JNI를 사용한 C 코드의 변환)

  • 권혜은;김상훈
    • The Journal of Information Technology
    • /
    • v.4 no.1
    • /
    • pp.1-7
    • /
    • 2001
  • The well-known tradeoff of Java's portability is the inefficiency of its basic execution model, which relies on the interpretation of an virtual machine. Many solutions have been proposed to overcome this problem, such as just-in-time(JIT) and offline bytecode compilers. However, JIT compiler can not avoid the overhead of runtime. since it translate bytecode into native code at runtime. And, pure offline bytecode compiler limits the ability of dynamic class loading. In this paper, we present an approach which preserves the ability to dynamically load bytecode, and is more efficient than JIT. In contrast to existing bytecode-to-C translator using the old NMI, our translator maintain complete compatibility and portability through using the Java Native Interface(JNI) standard. We have designed and implemented an translator for converting bytecode to C code with JNI.. named MyJNItool.

  • PDF

Design and Implementation of Intermediate Code Translator using String Pattern Matching Technique (스트링 패턴 매칭 기법을 이용한 중간 코드 변환기의 설계 및 구현)

  • 고광만
    • Journal of Internet Computing and Services
    • /
    • v.3 no.3
    • /
    • pp.1-9
    • /
    • 2002
  • The various researches are investigated for transforming byte code into objective machine code which can be implemented in the specific processor using classical compiling methods to improve the execution speed of the JAVA language. The code generation techniques using pattern matching can generate more high-quality code than code expansion techniques. We provide, in this research, the standardized pattern describing methods and pattern matching techniques that can be used to generate the register-based inter-language which is for the effective native code generation from byte code. And we designed and realized the inter-code transformer with which we can generate the high-quality register-based inter-code using standardized pattern described formerly.

  • PDF

Neural bases underlying Native or Foreign word production, and Language switching (모국어와 외국어의 단어산출 및 언어 간 전환에 따른 뇌 활성화 과정)

  • Kim, Choong-Myung
    • Journal of the Korea Academia-Industrial cooperation Society
    • /
    • v.16 no.3
    • /
    • pp.1707-1714
    • /
    • 2015
  • The neural bases underlying within or between-language picture naming was investigated by using event-related fMRI. The present suudy explorered the following two goals: The first is to compare cortical activation areas relevant to naming process in native and foreign language, and to decide whether the activation pattern of the foreign word will be the same as native words or not. The next is to find the cerebral areas involved only in alternating language switching between native and foreign language condition. Differential activation patterns were observed for language switching against one-language. Both naming tasks all activated the left inferior frontal gyrus (LIFG) as expected. However the differences in naming between languages were reflected in the activation amount of the LIFG, namely more activation in naming the native language than the foreign language. Especially, naming of the foreign word from English showed the similar area and size in activation with native language suggesting that the process of borrowed noun resembles that of native common noun. And the language switching between languages newly activated the right middle frontal gyrus as well as the left inferior frontal areas. The right middle frontal gyrus engagement in switching conditions obviously identified that right hemisphere is recruited in code switching possibly with respect to meta-cognition controlling language index at a subconscious level.

Malware Analysis Mechanism using the Word Cloud based on API Statistics (API 통계 기반의 워드 클라우드를 이용한 악성코드 분석 기법)

  • Yu, Sung-Tae;Oh, Soo-Hyun
    • Journal of the Korea Academia-Industrial cooperation Society
    • /
    • v.16 no.10
    • /
    • pp.7211-7218
    • /
    • 2015
  • Tens of thousands of malicious codes are generated on average in a day. New types of malicious codes are surging each year. Diverse methods are used to detect such codes including those based on signature, API flow, strings, etc. But most of them are limited in detecting new malicious codes due to bypass techniques. Therefore, a lot of researches have been performed for more efficient detection of malicious codes. Of them, visualization technique is one of the most actively researched areas these days. Since the method enables more intuitive recognition of malicious codes, it is useful in detecting and examining a large number of malicious codes efficiently. In this paper, we analyze the relationships between malicious codes and Native API functions. Also, by applying the word cloud with text mining technique, major Native APIs of malicious codes are visualized to assess their maliciousness. The proposed malicious code analysis method would be helpful in intuitively probing behaviors of malware.

Design and Implementation of HAL and Java API for Embedded System (임베디드 시스템을 위한 HAL과 JAVA API 설계 및 구현)

  • Lee, Jin-Kwan;Lee, Dae-Hyung;Jung, Kyu-Cheol;Lee, Jong-Chan;Park, Ki-Hong
    • Convergence Security Journal
    • /
    • v.8 no.1
    • /
    • pp.57-65
    • /
    • 2008
  • The implement of JAVA API for supporting the embedded system is capable of developing the object oriented system with code reuse because the developer is able to use JAVA in the embedded system. The system dependant parts for implementing JAVA API are realized from a native function. In this paper, we devide JAVA API into the platform-independent JAVA part and platform-dependent native part for the implementation of JAVA API to manage the linux based embedded system devices, and focus on the control of the embedded system devices using JAVA API.

  • PDF

Application of DNA Test for Individual Traceability in the Brand Marketing of Korean Native Pig. (한국 재래돼지 브랜드 돈육 원산지 검증을 위한 유전자 원산지 감식 기법 활용 연구)

  • Choi, Bong-Am;Lee, Hak-Kyo;Jeon, Gwang-Joo;Oh, Jaen-Don;Choi, Il-Sin;Park, Mi-Hyun;Kong, Hong-Sik;Jung, Il-Jung;Kim, Tae-Hun;Yoon, Doo-Hak;Cho, Byung-Wook
    • Korean Journal of Organic Agriculture
    • /
    • v.12 no.2
    • /
    • pp.197-207
    • /
    • 2004
  • Identification of animals has been used with an e ar tag with dummy code and blood typing has been used for paternity and individual identification in live animals. Various genetic markers are different for breeds of pig and hence, it is necessary to identity the discrete genetic marker in korean native pig. A total of 240 pigs were used to find korean native pig population specific markers that expressed in population of korean native pigs. To identify the individual traceability, 20 animals were randomly chosen and tested for a whole process from being live to slaughter stages. The candidate genetic marker used in the study were 18 DNA microsatellites which were identified in pig genome. The number of alleles of those DNA microsatellites ranged form a minimum of 3 to maximum of 6. The heterozygote frequency rang6d from 0.44 to 0.69. Effective number of alleles for each DNA microsatellotes were 2 to 4. By choosing 6 candidate genetic markers among all, the traceability of individual identification was estimated as accurate as 99.99%(p>0.0014), nearly.

  • PDF

Automated Code Generation Framework for Industrial Automation Applications based on Timed Automata Model (타임드 오토마타 모델 기반 산업 자동화 응용 자동생성 프레임워크)

  • Lee, Kyunghyun;Kim, Ikhwan;Kim, Taehyoun
    • Journal of KIISE
    • /
    • v.44 no.12
    • /
    • pp.1307-1312
    • /
    • 2017
  • Due to their convergence with state-of-the-art ICT technologies, the complexity and reliability demands of industrial automation systems have been rapidly increasing. In recent years, to cope with these demands, several research works have been carried out to adopt formal methods to the application development cycle at the early design stage. In this paper, we propose an automated code generation framework for industrial automation applications, based on a timed automata model. As a case study, we developed a formal model for a traffic light control system and verified the timing properties described in the specification. We finally demonstrated that the operation of a test-bed based on the auto-generated native code was identical to that of the model specification.

Mixed-mode execution environment using the JNI (JNI를 사용한 혼합형 실행 환경)

  • Kim Sang-Hoon
    • The Journal of Information Technology
    • /
    • v.5 no.4
    • /
    • pp.35-44
    • /
    • 2002
  • The tradeoff of Java's portability is the inefficiency of interpretation. Also, the standard Java class library may not support the platform-dependent features needed by your application. Several solutions have been proposed to overcome these problems, such as JNI, JIT, off-line bytecode compilers. In this paper, we present an mixed-mode execution model which Java virtual machine executes together with native code. This execution model and its translator preserves the ability to dynamically load bytecode, and reduce the difficulties of JNI usages. Our system is more efficient than JIT, and helps programmer to write C implementation for the native method without the concept of JNI.

  • PDF