4 ms·
I would use a statically-typed Python that you can compile into a binary for better performance. Step 1: Develop fast in regular Python. Step 2: Add type annota
by intalentive 2y ago
I would use a statically-typed Python that you can compile into a binary for better performance. Step 1: Develop fast in regular Python. Step 2: Add type annotations and build.
- alias301 2y agoYou're in luck! https://github.com/mypyc/mypyc https://github.com/mypyc/mypyc
- Havoc 2y agoWow those are pretty chunky improvements over vanilla
- wk_end 2y agoAFAICT this is dead (no updates in four years) and "alpha software...only recommended for production use cases with careful testing, and if you are willing to contribute fixes or to work around issues you will encounter." Unfortunate, because it's pretty cool.
- fuzztester 2y agoMojo from Modular? I've not checked it out enough yet, and it's early days for it anyway. Just saying it may be worth keeping an eye on. I've seen some videos of Chris Lattner talking about it. https://www.modular.com/mojo https://www.modular.com/mojo https://hn.algolia.com/?q=mojo https://hn.algolia.com/?q=mojo
- pbronez 2y agoLooks interesting. Their “magic” package manager scares me though. Not excited to curl | bash something with strong opinions about my local python setup curl -ssL https://magic.modular.com/deb11637-c8c3-4f76-9195-85af25ef2edf https://magic.modular.com/deb11637-c8c3-4f76-9195-85af25ef2e... | bash
- fuzztester 2y agoI wonder why many groups are doing the "curl pipe to bash" thing these days. I have been seeing this pattern for some years now, and also seen criticism of it. do they not care about security, or is it not a security issue? conditionally or unconditionally, that is?
- pjc50 2y agoNever mind performance, a python application that you can actually ship as a self-contained unit would be a major step forwards.