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

Implementing Go API #16

Open
bourbaki opened this issue Dec 6, 2018 · 3 comments
Open

Implementing Go API #16

bourbaki opened this issue Dec 6, 2018 · 3 comments

Comments

@bourbaki
Copy link

bourbaki commented Dec 6, 2018

What's your opinion on creating Go API? I think it would be cool to create golang toolchain so we could then use models as plugins https://golang.org/pkg/plugin/.

@hcho3
Copy link
Collaborator

hcho3 commented Dec 17, 2018

@Ma3aXaKa I have no expertise in Go. Does Go have a good binding with C?

@pommedeterresautee
Copy link
Member

There is cgo (part of the default tooling) to call C code.
This is known to work well (used in many packages) but it is also known to not be super performant, meaning you are not supposed to call it very often.

@getumen
Copy link

getumen commented Jul 8, 2022

FYI, I created Go binding for treelite and treelite_runtime 2.3.0.
https://github.com/getumen/go-treelite

@hcho3 hcho3 transferred this issue from dmlc/treelite May 9, 2023
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

No branches or pull requests

4 participants