---
title: "Comment by Islam Abdelfattah on \"Statically type & compile Python code\" | Hashnode"
description: "1- What is the benefit of compiling code? We already gained the benefit of types validation by mypy without compiling? 2- How can we run the compiled code?"
url: "https://hashnode.com/posts/statically-type-compile-python-code/633ea36277677a17c1fedb0e/comment/635d9f91b7bb8c3f4ee41c2d"
---

[Discussion](https://hashnode.com/posts/statically-type-compile-python-code/633ea36277677a17c1fedb0e)

Comment [Statically type & compile Python code](https://hashnode.com/posts/statically-type-compile-python-code/633ea36277677a17c1fedb0e)

[Islam Abdelfattah](https://hashnode.com/@i350)

[Oct 29, 2022](https://hashnode.com/posts/statically-type-compile-python-code/633ea36277677a17c1fedb0e/comment/635d9f91b7bb8c3f4ee41c2d)

1- What is the benefit of compiling code? We already gained the benefit of types validation by mypy without compiling?

2- How can we run the compiled code?

[Adham Salama](https://hashnode.com/@adhamsalama)

[Oct 29, 2022](https://hashnode.com/posts/statically-type-compile-python-code/633ea36277677a17c1fedb0e/comment/635d9f91b7bb8c3f4ee41c2d#reply-635db459b7bb8c3f4ee41ca5)

1- We get better performance. 2- It's in the article.
