Some time ago I posted about alternative TabPy implementation (AltTabPy – lightweight and straightforward alternative to TabPy) you can use with Tableau. Using that alternative solution is possible because AltTabPy implements TabPy API and Tableau Desktop or Server simply calls that API. So Tableau is not hardcoded to use TabPy.
But if alternative implementations are possible is it also possible to implement the API for something completely different than executing Python script… like another programming language?
Yes – it is possible and people actually do it. Here’s an example of how you can use Haskell scripts in Tableau calculations – https://databoss.starschema.net/tableau-external-services-api-adding-haskell-calculations/. The post explains step by step how to implement TabPy API in Haskell and how to use the server with Tableau. Very well written post indeed and highly recommended for reading. The project itself is available on GitHub – https://github.com/tfoldi/tc19-haskell-ext/.