|
| ▲ | BOOSTERHIDROGEN 5 minutes ago | parent | next [-] |
| Interested in why you'd use Python in the first place? Advice for someone who knows nothing about programming - what would you suggest? |
|
| ▲ | stuaxo 30 minutes ago | parent | prev | next [-] |
| This is straightforward in the first instance, but how do you see maintenance of those projects going forward - especially adding more complex features ? I can see one way forward being to prototype them in python and convert. |
|
| ▲ | physicsguy an hour ago | parent | prev | next [-] |
| Go is terrible for scientific/ML work though, the libraries just aren't there. The wrapping C API story is weak too even with LLMs to assist. Try and write a signal processing thing with filters, windowing, overlap, etc. - there's no easy way to do it at all with the libraries that exist. |
| |
| ▲ | LtWorf 43 minutes ago | parent [-] | | I think the purpose of go is to write CRUD. Stray from that and you're on your own. |
|
|
| ▲ | shankysingh an hour ago | parent | prev | next [-] |
| Thats very intersting, If I may ask was it from professional projects or personal projects? |
|
| ▲ | mountainriver an hour ago | parent | prev | next [-] |
| Same, I’m not sure how Python survives this outside of machine learning. All of our services we were our are significantly faster and more reliable. We used Rust, it wasn’t hard to do |
| |
| ▲ | prodigycorp 44 minutes ago | parent | next [-] | | the funny thing is that everyone, including myself, posited that python would be the winner of the ai coding wars, because of how much training data there is for it. My experience has been the opposite. | | |
| ▲ | tyre 13 minutes ago | parent | next [-] | | I felt the opposite, because Python isn’t a great language. It won because of Google, fast prototyping, and its ML interop (e.g. pandas, numpy), but as a language it’s always been subpar. Indentation is a horrible decision (there’s a reason no other language went this way), which led to simple concepts like blocks/lambdas having pretty wild constraints (only one line??) Type decoration has been a welcome addition, but too slowly iterated on and the native implementations (mypy) are horribly slow at any meaningful size. Concurrency was never good and its GIL+FFI story has boxed it into a long-term pit of sadness. I’ve used it for years, but I’m happy to see it go. It didn’t win because it was the best language. | |
| ▲ | lsbehe 30 minutes ago | parent | prev | next [-] | | The tons of python code would be great training data if there was any consistency across the ecosystem. Yet every project I've touched required me to learn it's unique style.
Then I'd imagine they practically poisoned half the training set because python2 is subtly different. | |
| ▲ | lexicality 31 minutes ago | parent | prev [-] | | a lot of the training data is either for python 2 or just generally very low quality | | |
| ▲ | prodigycorp 17 minutes ago | parent | next [-] | | That could be it. I still see LLMs fail a set of static typing challenges that I created a couple years ago as a benchmark. Google models still fail it. I wonder if the lack of typing in a lot of the training data makes python harder to reason about? | |
| ▲ | stuaxo 28 minutes ago | parent | prev [-] | | The quality issue doesn't seem unique to Python. The versioning issue I've seen across libraries that version change in many languages. I don't tend to hit Python 2 issues using LLMs with it, but I do hit library things (e.g. Pydantic likes to make changes between libraries - or loads of the libraries used a lot by AI companies). |
|
| |
| ▲ | LtWorf 44 minutes ago | parent | prev [-] | | You can test on the device directly, without needing to recompile to try something. |
|
|
| ▲ | deppep 26 minutes ago | parent | prev [-] |
| i don’t really see it this way. the value of a token in Python is much higher than it is in lower-level language |