DOPPIO: Breaking the Browser Language Barrier

被引:0
|
作者
Vilk, John [1 ]
Berger, Emery D. [1 ]
机构
[1] Univ Massachusetts, Sch Comp Sci, Amherst, MA 01003 USA
关键词
Languages; Design; Web; Browsers; Programming Languages; JVM; Operating Systems; !text type='Java']Java[!/text]Script; COMPILATION;
D O I
10.1145/2666356.2594293
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Web browsers have become a de facto universal operating system, and JavaScript its instruction set. Unfortunately, running other languages in the browser is not generally possible. Translation to JavaScript is not enough because browsers are a hostile environment for other languages. Previous approaches are either non-portable or require extensive modifications for programs to work in a browser. This paper presents DOPPIO, a JavaScript-based runtime system that makes it possible to run unaltered applications written in general-purpose languages directly inside the browser. DOPPIO provides a wide range of runtime services, including a file system that enables local and external (cloud-based) storage, an unmanaged heap, sockets, blocking I/O, and multiple threads. We demonstrate DOPPIO's usefulness with two case studies: we extend Emscripten with DOPPIO, letting it run an unmodified C++ application in the browser with full functionality, and present DOPPIOJVM, an interpreter that runs unmodified JVM programs directly in the browser. While substantially slower than a native JVM (between 24 x and 42 x slower on CPU-intensive benchmarks in Google Chrome), DOPPIOJVM makes it feasible to directly reuse existing, non compute-intensive code.
引用
收藏
页码:508 / 518
页数:11
相关论文
共 50 条
  • [41] Barrier breaking
    不详
    NATURE, 2019, 565 (7739) : 389 - 389
  • [42] Breaking the barrier
    Rachel David
    Nature Reviews Microbiology, 2011, 9 : 768 - 768
  • [43] Breaking the barrier
    Jones, R
    PHOTONICS SPECTRA, 2006, 40 (01) : 12 - 12
  • [44] BREAKING THE OR BARRIER
    CLARE, MV
    AMERICAN JOURNAL OF NURSING, 1964, 64 (09) : 116 - 118
  • [45] BREAKING THE BARRIER
    SIDDALL, TH
    BYTE, 1989, 14 (05): : 40 - 40
  • [46] Breaking the language barrier: Machine assisted diagnosis using the medical speech translator
    University of Geneva, TIM, ISSCO, Geneva, Switzerland
    不详
    不详
    1600, 811-816 (2005):
  • [47] Breaking the Language Barrier: Machine Assisted Diagnosis Using the Medical Speech Translator
    Starlander, Marianne
    Bouillon, Pierrette
    Rayner, Manny
    Chatzichrisafis, Nikos
    Hockey, Beth Ann
    Isahara, Hitoshi
    Kanzaki, Kyoko
    Nakao, Yukie
    Santaholma, Marianne
    CONNECTING MEDICAL INFORMATICS AND BIO-INFORMATICS, 2005, 116 : 811 - 816
  • [48] BREAKING THE LANGUAGE BARRIER - CREATING YOUR OWN PATHWAY TO SUCCESS - BROWN,HD
    TAYLOR, MB
    TALIA, T
    TESOL QUARTERLY, 1992, 26 (01) : 149 - 152
  • [49] BREAKING THE LANGUAGE BARRIER - CREATING YOUR OWN PATHWAYS TO SUCCESS - BROWN,HD
    CAMPBELL, CM
    MODERN LANGUAGE JOURNAL, 1992, 76 (04): : 539 - 539
  • [50] Breaking the sound barrier
    Pope, C
    PROFESSIONAL ENGINEERING, 2002, 15 (01) : 35 - 35