Skip to content

Choose build system for C API example code #557

Open
@dminor

Description

@dminor

In #552 we're adding a basic test for the C API using a Makefile. That's fine for now, but I think we should discuss options for building the C example code that we will eventually be adding as we flesh out the FFI. Some requirements I can think of off-hand:

  • Cross-platform support (e.g. capable of generating msvc build files)
  • Easy to integrate into our CI
  • Readability of syntax

Given the wide variety of C build systems in use, it seems unlikely that whatever we chose will be used by a majority of consumers of our C API. For that reason, I think we should prioritize ease of use (for us) and readability (for others).

Metadata

Metadata

Assignees

Labels

A-ffiArea: FFI, WebAssembly, TranspilationC-ffi-infraComponent: Diplomat, horizontal FFIC-test-infraComponent: Integration test infrastructureS-mediumSize: Less than a week (larger bug fix or enhancement)T-coreType: Required functionality

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions