[cppia] Add jit compilation for local functions

Open
#1,213 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
cpp
Domain
compilers

Research direction

No source file or test is named. Start by tracing the cppia local-function path in JIT and interpreter modes, then use the exception differences discussed in #876 and #1212 as behavioral constraints; done means local functions are JIT compiled without changing expected exception behavior.

Written by the indexing model from the issue text.

Description

In cppia jit mode, local functions do not get compiled and are interpreted instead. This has been an issue because of differences in how jit and interp handle exceptions, (see #876 and #1212). It would be nice for local functions to be jit compiled, which would avoid similar issues in future and provide better performance.

Dominant language
C++
Stars
330
Forks
237
Avg merge
1d 3h
Merged PRs (30d)
20

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from HaxeFoundation/hxcpp

All issues in HaxeFoundation/hxcpp

Similar issues

More C++ issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.