Hacker News new | ask | show | jobs
by d357r0y3r 832 days ago
A missing tech here feels like TypeScript. It feels like the perfect mix of expressiveness and type safety for AI/ML work. I wish there was more tooling out there for it.

For me, Go feels too verbose, but I appreciate the static typing and performance. Python with its robust ecosystem and optional types feels okay, but the performance is really awful.

1 comments

What about Python performance is awful in AI? All of the hard stuff is delegated to a C library or the GPU.
Python makes it hard to get this right. Simple idioms result in copies of large collections or other work shifting from C to Python. The state-of-the-art of Python profiling [1] has to target this problem to the exclusion of other concerns.

[1]: https://www.thestrangeloop.com/2022/python-performance-matte...

There's tons of glue code that gets written in Python.