Skip to content

Add BaseModel Concepts and Error messages#159

Merged
koparasy merged 20 commits intodevelopfrom
features/new-api
Dec 2, 2025
Merged

Add BaseModel Concepts and Error messages#159
koparasy merged 20 commits intodevelopfrom
features/new-api

Conversation

@koparasy
Copy link
Member

@koparasy koparasy commented Nov 18, 2025

This is one of the many PRs we will do over the next months to deprecate the C-shim layer. The PR provides some core infrastructure:

  • Use tl::expected for AMSError codes
  • Use fmt to create error message
  • Implement AbstractModel, POD design to describe ML models.

@koparasy koparasy requested a review from lpottier November 18, 2025 17:27
@koparasy koparasy changed the title Remove C shim layer from API to provide a pure C++ library Add BaseModel Concepts and Error messages Nov 19, 2025
@koparasy koparasy marked this pull request as ready for review November 19, 2025 17:55
Copy link
Member

@lpottier lpottier left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It looks good to me. Thanks for the hard work, getting rid of the shim layer in C is a good thing.

It's a very large PR in terms of coverage. We might want to break it down into smaller pieces and keep the rest of your TODO list for future PRs (the doc etc).

@koparasy koparasy mentioned this pull request Dec 1, 2025
@koparasy koparasy merged commit 6c6f1b6 into develop Dec 2, 2025
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants