Добавить
Уведомления

Go and libxl: How we Used the libxl IDL to Generate Go Bindings - Nick Rosbrook, Assured Informatio

Go and libxl: How we Used the libxl IDL to Generate Go Bindings - Nick Rosbrook, Assured Information Security, Inc. Often when developing software in high-level languages, we reach a point where we need bindings for a library written in a lower-level language, especially C. In this talk, I will discuss the need for Go bindings for libxl, and describe my experiences writing them over the last year. Topics will include cgo – Go’s interface to call C code, how the Python-based libxl IDL can be used to write bindings, and the fun I had using Python to generate Go code. Finally, I will talk about how these bindings are being used in redctl, a Xen toolstack for Redfield written in Go.

Иконка канала JavaScript С Основами
15 подписчиков
12+
16 просмотров
2 года назад
4 декабря 2023 г.
12+
16 просмотров
2 года назад
4 декабря 2023 г.

Go and libxl: How we Used the libxl IDL to Generate Go Bindings - Nick Rosbrook, Assured Information Security, Inc. Often when developing software in high-level languages, we reach a point where we need bindings for a library written in a lower-level language, especially C. In this talk, I will discuss the need for Go bindings for libxl, and describe my experiences writing them over the last year. Topics will include cgo – Go’s interface to call C code, how the Python-based libxl IDL can be used to write bindings, and the fun I had using Python to generate Go code. Finally, I will talk about how these bindings are being used in redctl, a Xen toolstack for Redfield written in Go.

, чтобы оставлять комментарии