Join the discussion

Write your take first — we'll ask for email only when you're ready to publish.

  • Hacker News
  • "AI reflex-app builder" slop alert
  • I really enjoy making Python faster. I feel like the sweet spot for me is proving a concept with the dumbest possible implementation to show that something would work, and then using that as a comparison implementation to prove that later improvements match the results of the dumb, obviously correct implementation.
  • I wonder if these lints could have been expressed as semgrep rules?
    by fwip
  • The second part, where it says that Rust is faster than Python, is so obvious than doesn't deserve any further comments. What I found interesting, is that idiomatic Python, with generators and all, can be so much worse than "C-style" Python, if you will pardon that term. It's a pity many kids are taught Python before C...
  • Could this ast.sprint ast.walk optimization make libCST or bandit faster? https://news.ycombinator.com/item?id=39111747

    libCST: https://github.com/Instagram/LibCST

    bandit: https://github.com/PyCQA/bandit

    Links to codemod tools; "Baby Steps into Genetic Programming" https://news.ycombinator.com/item?id=43617655

  • It’s amazing how much Python punishes you for modularizing your code
  • I appreciate that you first tried to optimize the original Python code. Idiomatic Python is unfortunately disappointingly slow and not so interesting to compare to.
    by eska

Explore Birbla archives