An Advice Mechanism for Non-local Flow Control

被引:0
|
作者
Masuhara, Hidehiko [1 ]
Fujita, Kenta [1 ]
Aotani, Tomoyuki [1 ]
机构
[1] Tokyo Inst Technol, Dept Math & Comp Sci, Tokyo, Japan
关键词
Aspect-oriented programming; exception handling; delimited continuations;
D O I
10.1145/2892664.2892674
中图分类号
TP39 [计算机的应用];
学科分类号
081203 ; 0835 ;
摘要
We propose an advice mechanism called Chop&Graft for non-local flow control. It offers a novel chop pointcut that lets a piece of advice terminate the current execution, and graft and retry operators that resume and restart the terminated executions. By using pointcuts for specifying the region of termination, the mechanism is more robust and more concise than the traditional exception handling mechanisms that rely on names or exception classes. The paper presents the design of the mechanism along with the sketches of two implementations using delimited continuations or threads and exceptions.
引用
收藏
页码:73 / 78
页数:6
相关论文
共 50 条
  • [21] Non-local formulation for multiscale flow in porous media
    Delgoshaie, Amir H.
    Meyer, Daniel W.
    Jenny, Patrick
    Tchelepi, Hamdi A.
    JOURNAL OF HYDROLOGY, 2015, 531 : 649 - 654
  • [22] A Spatially Non-Local Model for Flow in Porous Media
    Mihir Sen
    Eduardo Ramos
    Transport in Porous Media, 2012, 92 : 29 - 39
  • [23] General non-local electrodynamics: Equations and non-local effects
    Tarasov, Vasily E.
    ANNALS OF PHYSICS, 2022, 445
  • [24] Non-local weighted regularization for optical flow estimation
    Huang, Zhenghua
    Pan, Aimin
    OPTIK, 2020, 208 (208):
  • [25] On non-local stability properties of extrernum seeking control
    Tan, Ying
    Nesic, Dragan
    Mareels, Iven
    AUTOMATICA, 2006, 42 (06) : 889 - 903
  • [26] Distributed-Order Non-Local Optimal Control
    Ndairou, Faical
    Torres, Delfim F. M.
    AXIOMS, 2020, 9 (04) : 1 - 12
  • [27] Non-local metasurfaces for perfect control of reflection and transmission
    Diaz-Rubio, Ana
    Asadchy, Viktar
    Kwon, Do-Hoon
    Tcvetkova, Svetlana
    Tretyakov, Sergei
    2017 11TH INTERNATIONAL CONGRESS ON ENGINEERED MATERIALS PLATFORMS FOR NOVEL WAVE PHENOMENA (METAMATERIALS), 2017, : 352 - 354
  • [28] Non-local scattering control in coupled resonator networks
    Roman-Garcia, D. A.
    Maldonado-Villamizar, F. H.
    Jaramillo-Avila, B.
    Rodriguez-Lara, B. M.
    OPTICS EXPRESS, 2022, 30 (22): : 39382 - 39395
  • [29] Non-local skew and non-local skew sticky Brownian motions
    Colantoni, Fausto
    JOURNAL OF EVOLUTION EQUATIONS, 2025, 25 (02)
  • [30] On the relationship between the non-local clustering mechanism and preferential concentration
    Bragg, Andrew D.
    Ireland, Peter J.
    Collins, Lance R.
    JOURNAL OF FLUID MECHANICS, 2015, 780 : 327 - 343