Vector: New `Rust` transform

Created on 3 Jul 2019  路  7Comments  路  Source: timberio/vector

I'd love to be able to write Rust code for custom filtering instead of just Lua. Is that possible?

Most helpful comment

@andrewbanchich Currently the only way is to actually write the rust within the project aka fork. I think down the line WASM is feasible but we have not crossed that road yet, but that would be the best method to getting rust transforms that are external.

All 7 comments

@andrewbanchich Currently the only way is to actually write the rust within the project aka fork. I think down the line WASM is feasible but we have not crossed that road yet, but that would be the best method to getting rust transforms that are external.

Okay, thanks!

@LucioFranco Would Gluon be a possibility instead?

@andrewbanchich Yeah, it looks like it should be pretty easy to embed gluon though not sure how many people would actually use it over rust directly.

The reason I'm personally interested is that I'm pretty comfortable with Rust but I don't know Lua and Gluon's syntax looks pretty similar to Rust's.

Maybe others also feel the barrier to entry would be less for them with Gluon due to a familiar syntax / language?

@andrewbanchich That makes sense. It would be interesting to have something like gluon or rhai available for people who are more familiar with rust-like languages. We would just want to make sure that there's significant enough demand to justify the cost of implementation, docs, maintenance, etc, which I don't think we've seen yet.

Agreed! Feel free to close this if you'd like.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

LucioFranco picture LucioFranco  路  3Comments

binarylogic picture binarylogic  路  3Comments

trK54Ylmz picture trK54Ylmz  路  3Comments

LucioFranco picture LucioFranco  路  3Comments

valyala picture valyala  路  3Comments