proxy-wasm-cpp-host icon indicating copy to clipboard operation
proxy-wasm-cpp-host copied to clipboard

DynVm Implementation: Dynamically loaded native modules

Open Protryon opened this issue 1 year ago • 6 comments

This PR adds a variant of NullVm, DynVM, that can load in native modules as dynamically linked modules.

Haven't written any automated tests yet, wanted to check if any design changes were going to be needed first, since the tests are going to be a bit more complicated than NullVM.

We've been testing this internally in an Envoy integration.

Protryon avatar Dec 18 '23 19:12 Protryon

@mpwarres @kyessenov could one of you look at it? Thanks!

PiotrSikora avatar Jan 03 '24 08:01 PiotrSikora

This PR adds a variant of NullVm, DynVM, that can load in native modules as dynamically linked modules.

Nitpicking, but if we're still talking about the NullVM, then I'd rather use "dynamically-loaded NullVM plugins" or similar, instead of adding another name for the NullVM.

PiotrSikora avatar Jan 03 '24 08:01 PiotrSikora

@mpwarres @kyessenov Any updates on this?

Protryon avatar Feb 02 '24 20:02 Protryon

@kyessenov @PiotrSikora I've pushed up some tests for DynVM.

Protryon avatar Mar 26 '24 18:03 Protryon