• Title/Summary/Keyword: Scala 3

Search Result 11, Processing Time 0.023 seconds

Feasibility Study Of Functional Programming In Scala Language By Implementing An Interpreter

  • Sugwoo, Byun
    • Journal of the Korea Society of Computer and Information
    • /
    • v.28 no.2
    • /
    • pp.111-119
    • /
    • 2023
  • In this paper, we investigate the feasibility of functional programming in the Scala language. The main issue is to what extent Scala is able to handle major properties of functional programming such as lambda expression, high-order functions, generic types, algebraic data types, and monads. For this purpose, we implement an interpreter of an imperative language. In this implementation, the same functional programming techniques are applied to both Haskell and Scala languages, and then these two versions of implementations are compared and analyzed. The abstract syntax tree of an imperative language is expressed as algebraic data types with generics and enum classes in Scala, and the state transition of imperative languages is implemented by using state monad. Extension and given, new features of Scala, are used as well.

Development of a Kernel Thread Web Accelerator (SCALA-AX) (커널 쓰레드 웹가속기(SCALA-AX) 개발)

  • Park, Jong-Gyu;Min, Byung-Jo;Lim, Han-Na;Park, Jang-Hoon;Chang, Whi;Kim, Hag-Bae
    • The KIPS Transactions:PartA
    • /
    • v.9A no.3
    • /
    • pp.327-332
    • /
    • 2002
  • Conventional proxy web cache, which is generally used to caching server, is a content-copy based system. This method focuses on speeding up the phase delivery not improving the webserver performance. However, if immense clients attempt to connect the webserver simultaneously, the proxy web cache cannot achieve the desired result. In this paper, we propose the web accelerator called the SCALA-AX, whitch improves web server performance by accelerating the delivery contents. The SCALA-AX is built in the Linux-based kernel as a kernel modulo and works in combination with the conventional webserver program. The SCALA-AX speeds up the processing rate of the webserver, because it processes the requests using the kernel thread. The SCALA-AX also applies the well-developed cache algorithm to the processing, and thus it obtains the advantage of the caching server without installing additional hardware. A banchmarking test demonstrates that the SCALA-AX improves webserver performance by up to 500% for content delivery.

Development of a Web Accelerator in the Kernel

  • Park, Jong-Gyu;Lim, Han-Na;Kim, Hag-Bae
    • 제어로봇시스템학회:학술대회논문집
    • /
    • 2001.10a
    • /
    • pp.70.3-70
    • /
    • 2001
  • In this paper, we suggest a kernel level multi thread web accelerator (called the SCALA-AX), which significantly improves the performance of the web soerver. In comparison with a conventional proxy web cache that is generally called a caching server and a simple content-copy based system, the primary functions and goals of SCALA-AX are designed to maximize the content services of a front end web server with high performance. Specifically, the SCALA-AX runs on the kernel level of a web sorrel, based on the newest caching techniques. Moreover, the SCALA-AX supports the http 1.1 protocol and allows the dynamic pages as well as static pages to be processed.

  • PDF

Evaluation of the Cochlear Electrode Behavior in the 3D Human Cochlea Model by FEM Analysis (3차원 달팽이관 모델에서의 인공와우 전극의 거동에 대한 유한요소해석)

  • 임윤섭;박세익;김용협;오승하;김성준
    • Journal of Biomedical Engineering Research
    • /
    • v.25 no.3
    • /
    • pp.207-215
    • /
    • 2004
  • A finite element analysis is used in this study to model 6 kinds of electrode by a genetic program in order to evaluate the mechanical effect on the 3D human cochlea model and the behavior of electrode. Human cochlea is modeled by the spiral-approximation method and the shape of scala tympani is extracted from the mid section of the human cochlea. Contact pressure at the tip and the insertion force are found to be highest when the wires stack horizontally. Axial rotation of electrode is minimal comparing with the stimulating current spread. The results indicate that the electrode stiffness is important to minimize the trauma.

Control the length of beam trajectory with a quadruple triplet for heavy ion accelerator

  • Wei, Shaoqing;Zhang, Zhan;Lee, Sangjin;Kim, Do Gyun;Kim, Jang Youl
    • Progress in Superconductivity and Cryogenics
    • /
    • v.18 no.4
    • /
    • pp.40-43
    • /
    • 2016
  • Beam trajectory is needed to be controlled in heavy ion accelerator system. Quadruple magnets are widely used in heavy ion accelerator for focusing the transporting particles. A quadruple triplet system which consists of three consecutive quadrupoles, Q1, Q2 and Q3, is used to control beam trajectory at a focused position. Q1 and Q3 have symmetry with respect to Q2. The beam trajectory in magnet system is affected by higher order fields existed in real fields. For quadrupoles, the representation simulation of beam trajectory was carried out to study the beam trajectory and to estimate an effect of higher order field in triplet system. SCALA program was used to simulate the beam trajectory in $Opera^{TM}$. SCALA can analyze a large number of beam trajectories at the same time by adjusting the size of finite element of the emitter. With $Opera^{TM}$ and $Matlab^{TM}$ programs, the position of focused beam spot in quadruple triplet system can be increased or decreased using evolution strategy (ES) method, therefore the length of triplet system can be controlled. Finally, the quadruple triplet system with the appropriate length and expected beam spot range was suggested in this paper.

Effects of Carrier Wave on the Brain Stem Electric Response (BER) in Scala Tympanic Electrode Array

  • Duck-Hwann Lim;Byu
    • Journal of Biomedical Engineering Research
    • /
    • v.3 no.2
    • /
    • pp.105-112
    • /
    • 1982
  • Using electronic cochlear implant system, we studied in cats the difference in the response of the brain stem evoked response (BER) during the stimulation with the acoustic signals and the electric signals. These brain stem electric responses were analyzed using the integral pulse frequency modulation method of the auditory nervous system. Animal experimental results and the analysis show that the carrier wave hasimprored the frequency specificity. of the electronic auditory prosthesis.

  • PDF

A GF($2^{163}$) Scalar Multiplier for Elliptic Curve Cryptography for Smartcard Security (스마트카드 보안용 타원곡선 암호를 위한 GF($2^{163}$) 스칼라 곱셈기)

  • Jeong, Sang-Hyeok;Shin, Kyung-Wook
    • Journal of the Korea Institute of Information and Communication Engineering
    • /
    • v.13 no.10
    • /
    • pp.2154-2162
    • /
    • 2009
  • This paper describes a scalar multiplier for Elliptic curve cryptography for smart card security. The scaler multiplier has 163-bits key size which supports the specifications of smart card standard. To reduce the computational complexity of scala multiplication on finite field, the non-adjacent format (NAF) conversion algorithm which is based on complementary recoding is adopted. The scalar multiplier core synthesized with a 0.35-${\mu}m$ CMOS cell library has 32,768 gates and can operate up to 150-MHz@3.3-V. It can be used in hardware design of Elliptic curve cryptography processor for smartcard security.

Auditory Sensation by the Inserted "Electronic Cochlea" in the Cases of the Experim entally Destroyed Receptor Organ of Corti of the Cat (와우 수용기 모세포를 파괴한 가묘의 "전기와우" 삽입에 의한 "청각감")

  • 장인원;김성남;양한모;정규화;최윤호;정종진;조용범;국태진;이정헌
    • Proceedings of the KOR-BRONCHOESO Conference
    • /
    • 1979.05a
    • /
    • pp.4.3-4
    • /
    • 1979
  • In the cases of the experimentally destroyed receptor organ of the Corti of the cats, "electric cochlea" were inserted near the auditory neuron through the Scala tympani as an input of the inner device, and outer device is placed near the receiver of the audiometer. During exposing noise through the outer device, kymographic record were obtained as following: 1) Correlation between increasing intensity and amplitude showed parallel responses 2) The auricular reflex by repeated stimulation of the sound showed considerable increase at first, and decrease respectively. 3) In this experimental animals, absolutely non-responsed period, relatively non-responsed period and responsed period were observed. 4) Above mentioned reflex indicate that "Auditory sensation" can be induced by inserted "Electric cochlea" in the cases of the experimentally destroyed receptor organ of Corti of the cats.

  • PDF

Influences of Aerobic and Resistance Exercise on Health-related Problems in Cancer Patients: A review of the literature

  • Ye-Na Jeon;Jeongwoo Jeon;Jihoen Hong;Jaeho Yu;Jinseop Kim;Seong-Gil Kim;Dongyeop Lee
    • Journal of The Korean Society of Integrative Medicine
    • /
    • v.11 no.3
    • /
    • pp.79-89
    • /
    • 2023
  • Purpose : Until recently, the number of cancer patients continues to increase, and these patients have many limitations in their activities of daily living. In the republic of Korea, cancer patients are showing an increasing trend every year. Cancer disease not only significantly reduces the quality of life in individuals, but also causes various side effects if not managed. The purpose of this study was to investigate the effects of aerobic exercise and resistance exercise on health-related problems in cancer patients. Methods : This study searched for studies that applied aerobic exercise and resistance exercise to cancer patients reported in search engines (google scala, dbpia, and pubmed) from 2017 to 2022. Six randomized controlled trials and two systematic reviews and meta-analyses were used for analysis in our study. "physical activity", "exercise", "aerobic exercise", "resistance exercise", and "cancer patient" were the main search terms. The data included aerobic exercise, resistance exercise, cancer patients' muscle strength, physical strength, quality of life, and physical activity. Results : According to the eight studies that met the criteria included in this review study, it was found that aerobic exercise and resistance exercise had an effect on the increase in physical fitness, muscular strength, quality of life, and range of motion in cancer survivors. Conclusion : It was confirmed that aerobic exercise and resistance exercise are safe and effective interventions that can be applied to cancer patients without side effects. A limitation of this study is that it did not examine cancer diseases in various population groups such as the elderly and children. Therefore, in future studies, studies that consider specific details such as age, gender, type of cancer, and physical differences are needed.