# Compiling Scala to Python as a new platform for data engineering and AI

**URL:** <https://contributors.scala-lang.org/t/compiling-scala-to-python-as-a-new-platform-for-data-engineering-and-ai/7129>\
**Category:** Scala Platform\
**Created:** [May 24, 2025, 10:05am UTC](https://contributors.scala-lang.org/t/compiling-scala-to-python-as-a-new-platform-for-data-engineering-and-ai/7129 "2025-05-24T10:05:14Z")\
**Posts on this page:** 1\
**Showing post:** 51

<div class="post-metadata">

**Author:** ![bjornregnell](https://contributors.scala-lang.org/user_avatar/contributors.scala-lang.org/bjornregnell/32/1855_2.png) [@bjornregnell](https://contributors.scala-lang.org/u/bjornregnell)\
**Post date:** [May 28, 2025, 3:31pm UTC](https://contributors.scala-lang.org/t/compiling-scala-to-python-as-a-new-platform-for-data-engineering-and-ai/7129/51 "2025-05-28T15:31:02Z")

</div>

> [@Alexander](#):
>
> finding best solution to the problem

Maybe the ultimate solution is to do as microsoft and generate Scala source code to make interop really convenient:

> **[GitHub - tonybaloney/CSnakes: Embed Python in .NET](https://github.com/tonybaloney/csnakes)**
>
> Embed Python in .NET

(note the cute [mascot](https://contributors.scala-lang.org/t/scala-still-in-need-of-a-mascot/))

But I guess we should evaluate all options in terms of benefits and use cases. The engineers at microsoft said in the presention that it took at least one person (with a backing team, unclear how much time they devoted) the lead time of as much as _one year_ to accomplish this.

> [@Alexander](#):
>
> It going to encourage more people to learn Python than use Python through Scala, and they can use as transition step.

But compiling to Python (or some similar tight interop on Scala Native+JVM) may also attract those who gradually want to migrate off Python to Scala but cannot do the migration in big one step (even when assuming all corresponding missing scalalibs or Panama+Babylon were ready to go…)

---

_[View the full topic](https://contributors.scala-lang.org/t/compiling-scala-to-python-as-a-new-platform-for-data-engineering-and-ai/7129)._
