# UDFs in Wasm vs Lua

**URL:** <https://forum.scylladb.com/t/udfs-in-wasm-vs-lua/594>\
**Category:** ScyllaDB\
**Created:** [June 6, 2023, 4:14pm UTC](https://forum.scylladb.com/t/udfs-in-wasm-vs-lua/594 "2023-06-06T16:14:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![racevedoo](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.scylladb.com/racevedoo/32/91_2.png) [@racevedoo](https://forum.scylladb.com/u/racevedoo)\
**Post date:** [June 6, 2023, 4:14pm UTC](https://forum.scylladb.com/t/udfs-in-wasm-vs-lua/594/1 "2023-06-06T16:14:28Z")

</div>

Hi everyone! I’m experimenting with scylla UDFs and was wondering if there are any benchmarks on running udfs based on wasm (rust-based using the helper library) vs Lua.

Is any language more “stable” in any way? It seems that Lua support exists for quite a while now and wasm is more recent.

Thanks!

---

<div class="post-metadata">

**Author:** ![Botond\_Denes](https://sea2.discourse-cdn.com/flex016/user_avatar/forum.scylladb.com/botond_denes/32/163_2.png) [@Botond\_Denes](https://forum.scylladb.com/u/Botond_Denes)\
**Post date:** [June 7, 2023, 9:26am UTC](https://forum.scylladb.com/t/udfs-in-wasm-vs-lua/594/2 "2023-06-07T09:26:10Z")

</div>

I am not aware of any benchmarks we have done to compare the two.

Lua UDFs indeed exist for quite a while, while WASM is a more recent addition. That said, WASM is much more actively developed as we believe it is a much more flexible and performant platform for UDFs, than Lua is.
