TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Generate Python extensions using Nim language

112 pointsby eagledotRLabout 3 years ago

6 comments

Qemabout 3 years ago
I suspect Nim has a good shot at getting popular, by piggybacking on Python syntax, the same way several other languages (e.g. Java, JavaScript) got popular by piggybacking on C syntax. Python just became number 1 on TIOBE index. Once part of the generation of developers just starting now, Python-first, needs to learn a systems programming language, Nim provides a path of least resistance for migration, close to the syntax they will be already used to.
评论 #31043467 未加载
评论 #31055933 未加载
评论 #31045283 未加载
kdheepakabout 3 years ago
I&#x27;ve used <a href="https:&#x2F;&#x2F;github.com&#x2F;yglukhov&#x2F;nimpy" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;yglukhov&#x2F;nimpy</a> 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.
评论 #31042772 未加载
评论 #31041221 未加载
elcritchabout 3 years ago
Also of interest for people might be Genny. It’s a Nim library to automate creating language bindings for other languages. Currently it supports Python, Node, and C.<p><a href="https:&#x2F;&#x2F;github.com&#x2F;treeform&#x2F;genny" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;treeform&#x2F;genny</a>
cb321about 3 years ago
Maybe also of interest is a nascent package for R calling Nim (or vice versa): <a href="https:&#x2F;&#x2F;github.com&#x2F;SciNim&#x2F;rnim" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;SciNim&#x2F;rnim</a>
评论 #31041690 未加载
poulpy123about 3 years ago
I&#x27;m toying a bit with nim these days, and I find it quite pleasant. it is a pity that it did not find the same success as go or rust
spindleabout 3 years ago
This makes me want to write Python extensions using Nim using Spry - <a href="http:&#x2F;&#x2F;sprylang.se" rel="nofollow">http:&#x2F;&#x2F;sprylang.se</a>