← Back to context

Comment by LarsDu88

4 hours ago

I love how in an article about making python faster, the fastest option is to simply write Rust, lol

That has been a thing forever, many "Python" libraries, are actually bindings to C, C++ and Fortran.

The culture of calling them "Python" is one reason why JITs are so hard to gain adoption in Python, the problem isn't the dynamism (see Smalltalk, SELF, Ruby,...), rather the culture to rewrite code in C, C++ and Fortran code and still call it Python.

There's no surprise that Rust is faster to run, but I don't think there are many who would claim that Rust is faster to write.

  • Maybe with LLM/Code Assistance this effort reduces? Since we're mostly talking mathematics here, you have well defined algorithms that don't need to be "vibed". The codegen, hopefully, is consistent.