PolyJuS: A Squeak/Smalltalk-based Polyglot Notebook System for the GraalVM

被引:3
|
作者
Niephaus, Fabio [1 ]
Krebs, Eva [1 ]
Flach, Christian [1 ]
Lincke, Jens [1 ]
Hirschfeld, Robert [1 ]
机构
[1] Univ Potsdam, Hasso Plattner Inst, Potsdam, Germany
关键词
Polyglot Programming; Notebooks; GraalVM; GraalSqueak;
D O I
10.1145/3328433.3328434
中图分类号
TP31 [计算机软件];
学科分类号
081202 ; 0835 ;
摘要
Jupyter notebooks are used by data scientists to publish their research in an executable format. These notebooks are usually limited to a single programming language. Current polyglot notebooks extend this concept by allowing multiple languages per notebook, but this comes at the cost of having to externalize and to import data across languages. Our approach for polyglot notebooks is able to provide a more direct programming experience by executing notebooks on top of a polyglot execution environment, allowing each code cell to directly access foreign data structures and to call foreign functions and methods. We implemented this approach using GraalSqueak, a Squeak/Smalltalk implementation for the GraalVM. To prototype the programming experience and experiment with further polyglot tool support, we build a Squeak/Smalltalk-based notebook UI that is compatible with the Jupyter notebook file format. We evaluate PolyJuS by demonstrating an example polyglot notebook and discuss advantages and limitations of our approach.
引用
收藏
页数:6
相关论文
共 20 条
  • [1] GraalSqueak Toward a Smalltalk-Based Tooling Platform for Polyglot Programming
    Niephaus, Fabio
    Felgentreff, Tim
    Hirschfeld, Robert
    PROCEEDINGS OF THE 16TH ACM SIGPLAN INTERNATIONAL CONFERENCE ON MANAGED PROGRAMMING LANGUAGES AND RUNTIMES (MPLR '19), 2019, : 14 - 26
  • [2] GraalVM: Metaprogramming inside a Polyglot System
    Bonetta, Daniele
    PROCEEDINGS OF THE 3RD ACM SIGPLAN INTERNATIONAL WORKSHOP ON META-PROGRAMMING TECHNIQUES AND REFLECTION (META '18), 2018, : 3 - 4
  • [3] Hierarchical Layer-Based Class Extensions in Squeak/Smalltalk
    Springer, Matthias
    Masuhara, Hidehiko
    Hirschfeld, Robert
    COMPANION PROCEEDINGS OF THE 15TH INTERNATIONAL CONFERENCE ON MODULARITY (MODULARITY COMPANION'16), 2016, : 107 - 112
  • [4] GX - A SMALLTALK-BASED PLATFORM FOR GREENHOUSE ENVIRONMENT CONTROL .1. MODELING AND MANAGING THE PHYSICAL SYSTEM
    GAUTHIER, L
    TRANSACTIONS OF THE ASAE, 1992, 35 (06): : 2003 - 2009
  • [5] A META MODEL SUPPORTING BOTH HARDWARE AND SMALLTALK-BASED EXECUTION OF FPGA CIRCUITS
    Le Xuan Sang
    Lagadec, Loic
    Fabresse, Luc
    Laval, Jannik
    Bouraqadi, Noury
    INTERNATIONAL WORKSHOP ON SMALLTALK TECHNOLOGIES 2015, 2015,
  • [6] GX - A SMALLTALK-BASED PLATFORM FOR GREENHOUSE ENVIRONMENT CONTROL .2. SUPPORTING AND IMPLEMENTING CONTROL STRATEGIES
    GAUTHIER, L
    TRANSACTIONS OF THE ASAE, 1992, 35 (06): : 2011 - 2020
  • [7] A SMALLTALK WINDOW SYSTEM BASED ON CONSTRAINTS
    EPSTEIN, D
    LALONDE, WR
    SIGPLAN NOTICES, 1988, 23 (11): : 83 - 94
  • [8] INTEGRATING A RULE-BASED OBJECT SYSTEM WITHIN THE SMALLTALK ENVIRONMENT
    KWOK, AD
    NORRIE, DH
    JOURNAL OF OBJECT-ORIENTED PROGRAMMING, 1994, 6 (09): : 48 - 55
  • [9] Curriculum System Construction Based On Notebook Industrial Chain
    Liang, Xin-yuan
    Deng, Zhong-bo
    Guo, Cai-xia
    Yao, Qiang
    2015 INTERNATIONAL CONFERENCE ON EDUCATION, MANAGEMENT AND SYSTEMS ENGINEERING (EMSE 2015), 2015, : 64 - 70
  • [10] Landmark-based audio fingerprinting system applied to vehicle squeak and rattle noises
    Pogorilyi, Oleksandr
    Fard, Mohammad
    Taylor, David
    Davy, John
    NOISE CONTROL ENGINEERING JOURNAL, 2020, 68 (02) : 113 - 124