← Back to context

Comment by lucasqueiroz

3 months ago

I'm starting a project soon, with the clear idea that:

- I will not consider it feature-complete

- It might be a waste of time if the performance isn't what I imagined

Basically, I have a pain point with pytest being a bit slow. Nim and Rust (and other languages) have ways to transpile Python code into the other language. I know some Rust tools to run the tests, but they have some differences from pytest.

My idea is to have a runner that transpiles the code to either Nim or Rust, compiles it, and runs the compiled tests. Test discovery for sure would improve, but I have no idea at all if the compile + run time would be smaller than just running pytest normally. There are a lot of challenges in this project, so I'll probably use it to learn another language and some new skills, instead of building something aiming to be usable out there.