GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — try_catch rename · Issue #208 · Rcpp11/Rcpp11

try_catch rename #208

New issue
Copy link
New issue
Copy link
Open
Open
try_catch rename#208
Copy link
Labels
APIdesign

Description

@romainfrancois
romainfrancois
opened on Jun 24, 2014
Issue body actions

I think the name try_catch is kind of confusing, especially if we really want to catch we would have to do something like:

try{
    try_catch( []{
         // whatever unsafe C code
    } )
} catch( ... ){

}

What try_catch really does is sandbox the C code so that it does not longjump too far.

So perhaps we should call it safe or sandbox or something.

Activity

  1. romainfrancois
    added
    API
    on Jun 24, 2014
  2. kevinushey commented on Oct 22, 2014

    @kevinushey
    kevinushey
    on Oct 22, 2014
    Contributor
    More actions

    I like sandbox -- or maybe with_sandbox or even just eval, evaluate -- does that make sense?

  3. romainfrancois commented on Oct 22, 2014

    @romainfrancois
    romainfrancois
    on Oct 22, 2014
    ContributorAuthor
    More actions

    I like with_sandbox. what this really does is promote a jump, so perhaps trampoline ;)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    APIdesign

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402775 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.