Hacker GitHub

← All repos

Pebaz/nimporter

View on GitHub ↗ ★ 859 Python

Compile Nim Extensions for Python On Import!

8 mentions on Hacker News by 8 people: 2 stories, 6 comments · first 2020-07-02 · latest 2022-08-14

Mentions per year 8 mentions · busiest year 2021 (4)
20082026
  1. …can be described as a statically 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…
  2. Oops wrong link for nimporter. Actual link: https://github.com/Pebaz/Nimporter
    comment by arc619 · 2021-10-07 · in Faster Python with Guido van Rossum
  3. For the specific case of Python executing Nim code you might be interested in [nimporter]( https://github.com/Pebaz/nimporter ) instead. Genny would definitely work for you as well, but it seems to be more geared towards creating libraries…
  4. It's already been done! https://github.com/Pebaz/nimporter
    comment by jyapayne · 2021-06-23 · in NimConf 2021
  5. Yeah (rewrite) just the hotpaths like you would with Cython. Also there is https://github.com/Pebaz/Nimporter which makes it easier.
  6. …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