Hacker Read top | best | new | newcomments | leaders | about | bookmarklet login

I also recommend looking at Nim. It has Python-like syntax but it feels very different than Python for me when using it. Stellar language though that has been getting a lot of attention!


sort by: page size:

Thank you, this is what I meant when I said similar to Python. Someone with Python familiarity should have zero issues with writing a Nim program and will mostly feel comfortable with the syntax.

You might like Nim, too, based on that criteria. Granted, I don't know how similar it is to Python, but it seems like it's got potential.

have you checked out nim? if you're a pythonista you might find it more similar to what you're used to

Have you given Nim a try, as a Python developer it seems like it would be right up your alley.

Nim? I know it has Python-like syntax and aims to be performant, but don’t know much beyond that.

I haven't heard much about Nim (until reading this post). I saw that someone was comparing it to python in a way? What are your thoughts on it?

Yeah, Nim is my favourite language currently! The expressivity and succinctness of Python with the speed of C, plus useful metaprogramming constructs. I recommend everyone to give it a go!

or even Nim if you prefer Pythonic syntax with the same portability.

Nim does the same but with a Python-like syntax.

Nim uses Python-like syntax but is statically typed. It explicitly lists Python as one of its main inspirations.

Nim has a python-ish feel, though it's definitely not python. The syntax is similar, the semantics are different -- but are very sane. It's much less opinionated than Python or Go, about as fun to write as Python, about as easy to deploy as Go (simple small native executables without dependencies), and about as fast to run and FFI as C++ (if you use the native backends, but it also has JS backend)

Try it, you might like it.


I’ll definitely check out nim. The best thing about python is the ecosystem and vast knowledge available. It makes it hard to move to something “better”

I do like Python (my work mostly done in Java, though). A few years ago, I was looking for a language with Python-like expressiveness, with system programming capabilities ala C.

Seems like Nim is the answer :)


Have you tried Nim ? It makes me think a lot of python on the simplicity/readability side (but unfortunately not for its success)

Nim is closer to D than Python IMO. The syntax is like Python, sure, but in terms of features it's very similar to D (statically typed, supports multiple GCs, fast compiler).

It's also very easy to write Nim, the syntax has been compared to Python.

That's like competing apples with oranges; some people like the former, some the latter, some both; if you prefer a Python like syntax an a much more complex language, then Nim is your choice.

I like Nim. I am learning it now. However, Nim is not Python and this post is about Python.

Since you like Python's syntax, what's your opinion about Nim?
next

Legal | privacy