Hacker GitHub

← All repos

pydantic/pydantic-core

View on GitHub ↗ ★ 1,766 Python archived

Core validation logic for pydantic written in rust

10 mentions on Hacker News by 10 people: 2 stories, 8 comments · first 2022-04-20 · latest 2023-04-23

Mentions per year 10 mentions · busiest year 2022 (5)
20082026
  1. …have opaque handles you call python methods on. Here's a decent example I found skimming the code. https://github.com/pydantic/pydantic-core/blob/main/src/inpu...
  2. …(slides in comments) [1]: https://github.com/pydantic/pydantic [2]: https://github.com/pydantic/pydantic-core
  3. The Rust re-write is being worked on in a separate repo: https://github.com/pydantic/pydantic-core
  4. pydandic-core [0] will hopefully solve this issue (written in Rust) [0] -- https://github.com/pydantic/pydantic-core
  5. The Rust is in the `pydantic-core` repository here: https://github.com/pydantic/pydantic-core
    comment by MalseMattie · 2022-11-03 · in Pydantic 2 rewritten in Rust was merged
  6. …and easier to use to me. [0] https://github.com/davidatsurge/typedload/pull/1/files?diff=... [1] https://github.com/pydantic/pydantic-core#pydantic-core
  7. …but once the integration is done, the author expects a potential 10x speed improvement. [1] https://github.com/samuelcolvin/pydantic-core
    comment by iknownothow · 2022-05-11 · in Ballerina: A Data-Oriented Programming Language
  8. …but readme mentions that "Pydantic-core is currently around 17x faster than Pydantic Standard." [0] https://github.com/samuelcolvin/pydantic-core
    comment by yedpodtrzitko · 2022-05-05 · in Modern Python Performance Considerations