top | item 40700079

(no title)

scoresmoke | 1 year ago

The most important changes are deprecations of certain public APIs: https://numpy.org/devdocs/release/2.0.0-notes.html#deprecati...

One new interesting feature, though, is the support for string routines: https://numpy.org/devdocs/reference/routines.strings.html#mo...

discuss

order

amelius|1 year ago

> One new interesting feature, though, is the support for string routines

Sounds almost like they're building a language inside a language.

ssahoo|1 year ago

No. Native python ops in string suck in performance. String support is absolutely interesting and will enable abstractions for many NLP and LLM use cases without writing native C extensions.

nerdponx|1 year ago

It's already very much a DSL, and has been for the decade-ish that I've used it.

They're not building a language. They're carefully adding a newly-in-demand feature to a mature, already-built language.