• Title/Summary/Keyword: C 프로그램

Search Result 2,487, Processing Time 0.034 seconds

Comparison Program Language in the Android System (안드로이드 시스템에서 프로그램 언어 비교 연구)

  • Janf, Seung Ju;Kim, Seung Jin
    • Proceedings of the Korean Institute of Information and Commucation Sciences Conference
    • /
    • 2013.10a
    • /
    • pp.681-684
    • /
    • 2013
  • This paper compares the Java program environments and NDK program environments in the Android system. This paper experiments that how much is the performance enhancement in the NDK C programming of the Android system. I program sum of 1 to n for Java program and NDK C program. I experiment whether the influence an effect on a performance by changing n value. In experiment, NDK C program is over 50% performance enhancement than Java program.

  • PDF

Design of the Metrics Suite $\pi_{java}$for Java Program Complexity (자바 프로그램의 복잡도 측정을 위한 척도 $\pi_{java}$의 설계)

  • Eun-Mi Kim
    • Journal of the Korea Computer Industry Society
    • /
    • v.2 no.3
    • /
    • pp.407-416
    • /
    • 2001
  • In this paper we propose a suite of metrics $\pi_{java}$ Java/, for evaluating the complexity of Java Programs based on a suite of metrics $\pi_{java}$ c++/, which we previously presented for C++ programs. So far, a lot of metrics for C++ are proposed for C++ programs. But since the specific properties of Java programs are not explicitly considered in those metrics, it is hard to apply them to Java programs. Thus we aim to develop a metric suite that is applicable to Java Programs. At first, we decide if any properties are commonly possessed by both C++ programs and Java programs, or not. For example, the multiple inheritance of the class in C++ is not implemented in Java. On the other hand, the features such as package and interface are newly implemented in Java, and therefore we cannot discuss the complexity of Java programs without considering these new features. Then we define a new suite of metrics $\pi_{java}$ Java/ for Java programs by deleting 3 metrics $\pi_{java}$/c++/, and then incorporating 3 metrics which are newly defined or modified for Java programs to $\pi_{java}$ c++/. Finally, we analytically evaluate the new metric with regard to Weyuker's measurement principles and also compare it with conventional metrics for Java.

  • PDF

Design and Implementation of a SOAP-Based Application Logic Dispatcher (SOAP 기반 응용프로그램 디스패쳐의 설계 및 구현)

  • 김신강;임효상;이정훈;한욱신;황규영
    • Proceedings of the Korean Information Science Society Conference
    • /
    • 2003.04a
    • /
    • pp.752-754
    • /
    • 2003
  • 컴퓨터 기술의 발전과 인터넷의 보급에 따라 분산된 컴퓨팅 자원과 정보를 효율적으로 사용하기 위한 분산 응용프로그램의 개발이 활발히 이루어 지고 있다. 분산 응용프로그램 개발 표준으로는 RPC, CORBA, EJB 등이 있고, 각각 독자적인 통신 프로토콜을 사용하여 분산 응용프로그램을 호출할 수 있는 응용프로그램 디스패쳐를 제공한다. 응용프로그램 디스패쳐는 분산 응용프로그램 개발 플랫폼의 핵심 모듈로서, 개발자가 작성한 응용프로그램을 저장, 관리하면서 클라이언트로부터의 응용프로그램 수행 요청을 받아 그에 맞는 응용프로그램을 분기 시켜 수행하고 결과를 돌려주는 기능을 수행한다. 최근 W3C 에서는 분산 응용프로그램을 통합된 방법으로 호출할 수 있도록 하는 통신 프로토콜인 SOAP 을 제정하였다. 본 논문은 SOAP 을 기반으로 하는 응용프로그램 디스패쳐를 설계하고 구현한다. 본 논문에서 제안하는 시스템은 다음과 같은 특징을 가진다. 첫째, C, C++와 Java로 작성된 다양한 응용프로그램 수행을 지원함으로써 분산 응용프로그램 개발을 위한 핵심 플랫폼으로서 사용될 수 있다. 둘째, 응용프로그램의 오류로 인하여 발생할 수 있는 문제에 대처하여 안정적인 수행을 제공한다. 셋째, SOAP 표준을 따름으로써 SOAP 을 지원하는 다른 분산 응용프로그램 개발 표준들과 상호 호출이 가능하다.

  • PDF

Use of Visual C++ program to generate Ramjet Simulation code (Visual C++프로그램을 이용한 Ramjet Simulation Code의 생성방법)

  • Kong, Chang-Duk;Owino, George Omollo
    • Proceedings of the Korean Society of Propulsion Engineers Conference
    • /
    • 2008.05a
    • /
    • pp.25-30
    • /
    • 2008
  • This paper presents on research findings of how Visual C++ program can be used to generate codes capable of performing ramjet engine simulation an arbitrary ramjet model will be considered for which generated output values will be compared with those from a commercial program GASTURB 9 Several governing thermodynamic equations will first be discussed in order that we understand the fundamental idea behind values printed out on the GUI. The program is designed that it generates its station input value. Similar results were realized compared to those produced by gasturb 9.

  • PDF

Design and Implementation of Bytecode-to-C Converter (Bytecode-to-C 변환기의 설계 및 구현)

  • 권혜은;김상훈
    • Proceedings of the Korean Information Science Society Conference
    • /
    • 2001.04a
    • /
    • pp.52-54
    • /
    • 2001
  • 자바프로그램이 사용하는 바이트코드는 자바가상머신을 통해 플랫폼에 독립적인 특징을 갖는다. 이러한 장점은 인터프리터를 통해 실행되므로 실행속도의 저하와 플랫폼에 의존적인 작업이 어려운 문제점등을 가진다. 이러한 문제점을 보완하기 위한 기술로 JIT 컴파일러와 JNI 기술이 사용된다. 본 논문에서는 JIT 컴파일러가 가지는 실행속도의 향상과 JNI 프로그램의 편리한 작성에 도움을 주고, JVM에 독립적인 번역기를 설계하고 구현하였다. 번역기는 클래스파일을 읽어들여 이 프로그램을 위한 스텁 자바프로그램과 C 프로그램을 생성하고, 기존 C 컴파일러를 사용하여 번역하고 최적화 시키는 과정으로 이루어진다.

Design of Timing Analysis Tool for Timing-C Language (Timing-C 언어에서의 시간 분석 도구 설계)

  • 최영준;서진철;이준동;원유헌
    • Proceedings of the Korean Information Science Society Conference
    • /
    • 1999.10a
    • /
    • pp.403-405
    • /
    • 1999
  • 실시간 시스템에서 프로그램의 실행시간을 예측하는 것은 중요한 일이다. 기존의 언어에서는 실행시간은 예측하기에 힘든 요소들이 있다. Timing-C는 이러한 요소를 제거하고 사용자로부터 시간 제약을 입력받을 수 있도록 하였다. Timing-C언어를 이용하여 실시간 프로그램밍을 하기 위해 작성한 프로그램이 시간제약을 준수하고 있는지 알기 위해 시간 분석 도구가 필요하다. 시간 분석 도구는 작성된 프로그램의 실행시간을 제한하여 사용자에게예측된 결과를 알려주는 도구이다. 개발자는 이러한 도구를 이용하여 작성하고 있는 프로그램의 수행시간을 더욱 정확하게 예측할 수 있다.

  • PDF

C2JNI: An Embedded C to JNI Translator (C2JNI: 내장 C 언어에서 JNI 코드를 생성하는 변환기)

  • 유재우;최종명;김영철
    • Journal of KIISE:Software and Applications
    • /
    • v.31 no.11
    • /
    • pp.1551-1559
    • /
    • 2004
  • Java, a platform independent object-oriented programming language, is widely used, however it should be integrated with JNI to use system services or to reuse legacy systems. Though JNI provides the standard APIs which allow Java to be combined with C/$C^{++}$, it is very hard and cumbersome for developers to use JNI APIs. In order to address this problem, we introduce a translator named C2JNI, which converts the embedded C program into a JNI compatible C program. With C2JNI, developers can Integrate Java and C programs without JNI APIs, and it will reduce the complexity caused by JNI APIs.

A Program-Plagiarism Checker using Abstract Syntax Tree (구문트리 비고를 통한 프로그램 유형 복제 검사)

  • 김영철;김성근;염세훈;최종명;유재우
    • Journal of KIISE:Software and Applications
    • /
    • v.30 no.7_8
    • /
    • pp.792-802
    • /
    • 2003
  • Earlier program plagiarism check systems are performed by using simple text, attribute or token string base on match techniques. They have difficulties in checking program styles which have nothing to do with program syntax such as indentation, spacing and comments. This paper introduces a plagiarism check model which compares syntax-trees for the given programs. By using syntax-trees, this system can overcome the weekness of filtering program styles and have advantage of comparing the structure of programs by syntax and semantic analysis. Our study introduces syntactic tree creation, unparsing and similarity check algorithms about C/C++ program plagiarism checking for internet cyber education and estimate plagiarism pattern.

Development of a Maintenance Support System for C++ Programs (C++프로그램의 유지보수 지원 시스템 개발)

  • Moon, Yang-Sun;Jang, Gun-Sil;Yoo, Cheol-Jung;Chang, Ok-Bae
    • The Transactions of the Korea Information Processing Society
    • /
    • v.5 no.7
    • /
    • pp.1759-1773
    • /
    • 1998
  • This paper introduces a maintenance support tool for C++ programs. The tool was extended by adding a documentation supporting tool(DT) and an OOD/OOP style guidelines supporting tool(OOD\ulcornerP-GT) to previous work results, the complexity measurement tool(CT) and the visualization tool(VT). The tool was named C++ MT. For the extention, we studied a documentation method of object oriented programs, analyzed and grouped the OOD/OOP style guidelines suggested in some works. The DT developed in this paper helps programmer understand, cange, and est programs, and also extract the reuse components. OOD/P-GT provides guielines for programmer to improve program quality.

  • PDF

The Design and Implementation of On-Line Performance Monitor for JaNeC (JaNeC을 위한 온라인 성능감시기의 설계 및 구현)

  • Kim, Myung-Ho;Kim, Nam-Hoon;Choi, Jae-young
    • The KIPS Transactions:PartA
    • /
    • v.9A no.4
    • /
    • pp.563-572
    • /
    • 2002
  • A performance monitor is indispensable to trace and evaluate performance of a program under distributed processing environment. A performance monitor il classified as off-line and on-line according to its output method. An off-line performance monitor analyzes its performance after a program terminates, and an on-line performance monitor analyzes its one while a program runs. Therefore, the on-line function is essential to analyzing and debugging the program fast. JaNeC, distributed processing environment that is implemented in Java, contains an off-line performance monitor for this. However, this performance monitor may not analyze the program running on JaNeC efficiently. Consequently, this paper explains that an on-line performance monitor is designed and implemented for fast analysis and debugging of the program running on JaNeC. This on-line performance monitor is designed to minimize effects on a program to analyze, and provides various forms of graphic output, to analyze the program effectively. In addition, even after a program terminates, it provides interface with the off-line performance monitor, to analyze again.