Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Go vs. Python #35

Open
bmazurie opened this issue Dec 5, 2024 · 1 comment
Open

Go vs. Python #35

bmazurie opened this issue Dec 5, 2024 · 1 comment

Comments

@bmazurie
Copy link

bmazurie commented Dec 5, 2024

Hello,

Thank you very much for your work on modelica-builder and modelica-fmt, both are very useful!

However, I have a question about modelica-fmt. It's written in the Go language, whereas modelica-builder uses the Python parser.

What is the reason for this choice? Perhaps it's a historical choice or a question of performance? Having it in Python would be more practical for sharing the tool with the community!

Thank you again

@macintoshpie
Copy link
Contributor

I don't recall the specific reasons why we did this - I suspect we chose go primarily for performance and convenient cross-platform binary distribution.

Feel free to make your own and test it out! I bet an llm could do a pretty good job at translating it to python :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants