Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calling Bend from C #716

Open
o1lo01ol1o opened this issue Sep 13, 2024 · 1 comment
Open

Calling Bend from C #716

o1lo01ol1o opened this issue Sep 13, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@o1lo01ol1o
Copy link

o1lo01ol1o commented Sep 13, 2024

Is your feature request related to a problem? Please describe.

I'd like to be able to call bend programs from the c-runtime so that I can use bend as a part of existing ecosystems.

Describe the solution you'd like

I'd like to write a bend program along with a header file that describes the given implementation, compile the bend program to c, then call the bend program from, eg, Unreal Engine.

Describe alternatives you've considered

Additional context

For cases where the bend program has accumulated state (ie, it's a scan or a fold in the host program), it'd be good to be able to leave the runtime alive so that it can be called at the subsequent step without rebuilding the computation.

@developedby developedby added the enhancement New feature or request label Sep 20, 2024
@developedby
Copy link
Member

Although not currently directly supported by us, it should be reasonably simple to call a bend program compiled to C externally.

Almost duplicate (but for C) of #627

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants