yglukhov/nimpy
View on GitHub ↗ ★ 1,592 Nim
Nim - Python bridge
34 mentions on Hacker News by 25 people: 1 story, 33 comments · first 2018-09-22 · latest 2026-10-13
20082026
-
…complete solution (at the PLang level - not counting ecosys). (And these days there is even NimPy ( https://github.com/yglukhov/nimpy ) to write low-level speed-up code for Python in Nim.)
comment by cb321 · 2026-10-13 · in 11 year old unsoundness bugs found in Rust borrow checker -
…the market for a simple compiled language that can offer Python some really fast functions So, Nim? https://github.com/yglukhov/nimpy
comment by Tiberium · 2025-06-23 · in Python can run Mojo now -
There is nimpy ( https://github.com/yglukhov/nimpy )
comment by leetnewb · 2024-09-06 · in I use Nim instead of Python for data processing (2021) -
…https://github.com/c-blake/bu/blob/main/doc/tim.md . I should perhaps also have mentioned https://github.com/yglukhov/nimpy as a way to write extensions in Nim. Kind of like Cython/SWIG like stuff, but for Nim.
comment by cb321 · 2024-08-09 · in Recent Performance Improvements in Function Calls in CPython -
…should really check out Nim. ¯\_(ツ)_/¯ [0]: https://youtu.be/pdJQ8iVTwj8?si=LfPSNDq8UKKIsJd3 [1]: https://github.com/yglukhov/nimpy
comment by V1ndaar · 2023-10-19 · in Mojo is now available on Mac -
…in Nim, which basically means you can write any program you could in Python with libraries in Nim. https://github.com/yglukhov/nimpy
comment by FireInsight · 2023-08-12 · in Show HN: Pip Imports in Deno -
…come from python take a look at nimpy, a great way to just import python libraries and use them! https://github.com/yglukhov/nimpy Numpy, pandas, pytorch all usable in Nim. Nim is the ultimate glue language, use libraries from anything:…
comment by treeform · 2023-02-18 · in Returning to Nim from Python and Rust -
…you do things at compile time (like compile time duck typing). There's a good Python -> Nim bridge: https://github.com/yglukhov/nimpy
comment by elcritch · 2023-02-01 · in Python's “disappointing” superpowers -
…to be compiled once, and would work with any of your installed Python 2 and Python 3. Magic. [0] https://github.com/yglukhov/nimpy
comment by beagle3 · 2022-11-19 · in ABI compatibility in Python: How hard could it be? -
…typed Python-compatible language! I haven't used them but https://github.com/Pebaz/nimporter https://github.com/yglukhov/nimpy both seem great. Nimporter in particular looks fantastic for writing fast python libraries. Actually come to…
comment by elcritch · 2022-08-14 · in Erg: a statically typed language that is Python compatible -
…rest of your code. But I'm all ears on the real advantages Hy provides aside from being neat. [0]: https://github.com/yglukhov/nimpy
comment by V1ndaar · 2022-04-27 · in Tutorial Series to learn Common Lisp quickly -
I've used https://github.com/yglukhov/nimpy and I have to say the package, the author and the nim community were all phenomenal in helping me implement nim code that works as a Python package.
comment by kdheepak · 2022-04-15 · in Generate Python extensions using Nim language -
…small. :) [0]: https://matrix.to/#/#nim-science:envs.net [1]: https://discord.gg/f5hA9UK3dY [2]: https://github.com/yglukhov/nimpy/ [3]: https://github.com/clonkk/nimjl [4]: https://github.com/clonkk/nimjl
comment by V1ndaar · 2022-02-28 · in Computer Programming with Nim -
https://github.com/yglukhov/nimpy gives very, very solid access to the Python ecosystem from Nim - I've copied code from Python docs and have had it work with hardly any changes. Hopefully that's a good enough excuse to try Nim out for a…
comment by ajusa · 2022-02-27 · in Computer Programming with Nim -
…some interesting projects to use other languages with Python [ https://github.com/PyO3/PyO3 ] | [ https://github.com/yglukhov/nimpy ]
comment by akagusu · 2022-02-02 · in Please, stop pushing for static typing in Python -
…with Python. For everything else, I can directly use Python from Nim and visa versa with Nimpy: https://github.com/yglukhov/nimpy . This is particularly useful if you have some slow Python code bottlenecking production, since the similar…
comment by arc776 · 2022-01-21 · in Why static languages suffer from complexity -
Nim can use Python's ecosystem in both directions with nimpy https://github.com/yglukhov/nimpy and nimporter https://github.com/yglukhov/nimpy This lets you gradually transition hot path Python modules to Nim, get compiled performance…
comment by arc619 · 2021-10-07 · in Faster Python with Guido van Rossum -
…is a https://github.com/Yardanico/nimpylib , and for calling some python code from nim there is a https://github.com/yglukhov/nimpy
comment by haxscramper · 2021-09-25 · in Why I Use Nim instead of Python for Data Processing -
Something like this? https://github.com/yglukhov/nimpy
comment by crispyalmond · 2021-06-23 · in NimConf 2021 -
Actually it is possible, Nim compiles to C and is a viable alternative to CPython. nimpy https://github.com/yglukhov/nimpy PyGotham talk: https://www.youtube.com/watch?v=IVgNVJdizHg another blog post: https://robert-mcdermott.gitlab.io/post…
comment by planetis · 2021-05-15 · in Python programming: We want to make the language twice as fast, says its creator -
Nimpy: https://github.com/yglukhov/nimpy A good test as an example: https://github.com/yglukhov/nimpy/blob/master/tests/tpyfromn... I've tried it and it works fine. The only problem I ever had was trying to call a specific Python function…
comment by jasfi · 2021-02-17 · in Learning Ruby: Things I Like, Things I Miss from Python -
…seriously. [0] https://github.com/nimterop/nimterop [1] https://github.com/sinkingsugar/nimline [2] https://github.com/yglukhov/nimpy [3] https://github.com/numforge/laser [4] https://github.com/mratsim/Arraymancer [5]…
comment by beagle3 · 2020-11-26 · in Java is better than C++ for high speed trading systems -
…- https://github.com/Vindaar/ggplotnim And lastly nim can easily call Python: - https://github.com/yglukhov/nimpy or be called from Python: - https://github.com/Pebaz/nimporter
comment by mratsim · 2020-07-02 · in Ray Tracing in Nim -
Haven't tried but https://github.com/yglukhov/nimpy#calling-python-from-nim
comment by mlinksva · 2020-04-12 · in Nimporter 1.0 released (seamlessly import Nim code from Python) -
…to create Python modules in Nim: https://robert-mcdermott.gitlab.io/posts/speeding-up-python-... https://github.com/yglukhov/nimpy
comment by nimmer · 2020-02-19 · in Want to call C from Python? Use D -
…. I think today the best way to try Nim is for slow Python utilities vi nimpy: https://github.com/yglukhov/nimpy You can also use Nim in Jupyter the following way: https://github.com/apahl/nim_magic My next step would be to improve inter
comment by mratsim · 2019-10-30 · in Nim: Scripting Ease in a Compiled Language -
There is https://github.com/yglukhov/nimpy There are/were others too IIRC.
comment by throwmeaway101 · 2019-06-06 · in Nim 0.20.0 (1.0 RC1) released -
…pleasant Cython — you can keep writing Python, and just use Nim for the intensive/slow stuff. [0] https://github.com/yglukhov/nimpy
comment by narimiran · 2018-09-22 · in A Programming Language Underdog