5 ms·
Pitch: Like Python, but faster and multicore. At least it's the reason I tried it once. It was not a bad experience.
by carlmr 3y ago
Pitch: Like Python, but faster and multicore.
At least it's the reason I tried it once.
It was not a bad experience.
- bawolff 3y agoThat is definitely a decent pitch. I think if nim oriented itself around that pitch more it would do better. However i do wonder how big the market is for "python, but faster and multicore". I suspect it is smaller than "c but safe".
- theshrike79 3y agoThe problem with that for me is "like Python" implies a HUGE collection of libraries I can use to connect to pretty much anything. With Python I can just search "python <thing>" and find popular, well-maintained, libraries to do <thing>. I can't do that with Nim. Most of the stuff I find seems to be 5-9 years old and have no updates since.
- iopq 3y agoExcept THAT library only supports Python 2.7.x
- polotics 3y agosorry what do you mean?
- Sohcahtoa82 3y agoThey're poking fun at how sometimes you'll find a Python library that does exactly what you want with an interface that feels incredibly intuitive, but you end up finding out it was never updated to work in Python 3.x, only 2.x. Though I'm not really sure how often that happens these days unless you're trying to write code that's using an old protocol that's fallen out of favor, like IRC, FTP, or Gopher.
- xigoi 3y agoNim allows you to use libraries for C and C++, as well as Python with the NimPy library, so the situation is not that bad if you don't mind getting your hands dirty.
- actualwitch 3y agoPython will probably also be "faster and multicore" with latest proposals, so it's not a very good pitch.
- carlmr 3y agoPython has been getting faster, but Nim I'm sure is still a few multiples above Python. The problem is that CPython was never built with efficiency in mind and now it's hard to add it.