I'm investigating the choices we have for making Sentry's processing pipeline externally scriptable (eg: running code in our pipeline). WASM is an obvious choice, but I'm quite surprised about the lack of good programming languages choices for data processing. What am I missing?
@mitsuhiko lua might be worth a consideration as well
@cetra3 lua is surprisingly uncomfortable for working with the type of data I'm throwing at it :(
Running Kotlin in the browser with Wasm

How would you like to use your favorite backend language to develop frontend? In this blogpost I’ll show you how to compile a small kotlin example to WebAssembly and how to run the output in you

JDriven Blog
@mitsuhiko @cetra3 what type of data are you throwing at it if it is not confidential ?
@noisyglitch @cetra3 all open source thankfully. The goal is to throw Sentry's crash, transaction and other data at it during processing.
@noisyglitch @cetra3 the majority of it is JSON but depending on the scope this might also include attachments and binary data such as minidumps. At the moment it's mostly a research project of what's possible at scale.
@mitsuhiko @cetra3
If i understand correctly, you need a versatile language with a minimal runtime footprint given your constraints (scale, no shared libraries ?). I would have suggested Lua too but i guess that manipulating binary data is a bit awkward. Maybe https://www.assemblyscript.org/ ?
AssemblyScript

A TypeScript-like language for WebAssembly