For those wondering why I decided to make this a Swift package and not a Python module:
- While Python is available on a lot of platforms, I was a bit worried about performance. Additionally, I wasn't sure about Markdown parsing.
- I also considered writing the scripts in C#, but felt that it was a bit clunky to do.
- Furthermore, I thought about Kotlin, but it takes a while to run a Kotlin script for some reason. Probably has to do with passing stuff to the JVM.
Not that Swift would be the best language for the job, but I think it suffices. It also made Markdown parsing easier thanks to the swift-markdown package. I will eventually need to migrate over my older Python scripts.
@marquiskurt What about Vala? It translates to native C and is as easy to use as C#. Due to its nature performance shouldn't be an issue.
@koyuchan Hmm, I see! I’ll have to play around with it later when I get the chance and see if it fits well with what I need it to do. Thanks for the update
We create internet services for you and your friends