News for hackers. Stuff that matters.
Re:Building a faster, smarter, Chromebook experience with th... by logicchains on Wednesday June 12, 2024 @03:52PM (#40662296)
Python is a great language for ML because it allows gluing stuff together quickly. Using a 100% statically compiled language would slow things down, and the typing wouldn't help much because most languages can't properly type check tensor operations, and ones that can (like C++) tend to have awful compile times. The state of the art is tracing the execution and compiling it to a ML-specialised compiler (XLA for Jax, torch.compile for Torch), which is much harder or impossible to do in a compiled language.

There are no comments on this comment yet.