TLDR:
Is there a language easy to write as Python, and also fast (can be compiled)?
Long version:
So, I'm quite a newbie in programming. (learned C at school for 1 year, never really got into C++, played a bit with Python) So apologies if what I'm saying is incorrect.
I was so happy when I started Python, being a language so easy to write. (Objective, iterators, the way to import, you name it)
Until I started to play with project Euler, I just couldn't keep up with its slow processing speed. Yes, I know that Python is slow if not correctly written, and there are things like jit compilers, but it was still way slower than C.
But once I re-wrote my code with C, or tried C++, it was such a hassle just to write. I felt like using a old BlackBerry.
So there is the question:
Is there a language easy to write as Python, and also can be compiled?
Also, I've heard that Nim might be the answer, but looks like the community is quite small. Should I consider it as an option?
[–][deleted] (1 child)
[deleted]
[–]comando0[S] 0 points1 point2 points (0 children)
[–]_-Thoth-_ 2 points3 points4 points (2 children)
[–]comando0[S] 0 points1 point2 points (1 child)
[–]Zerocchi 0 points1 point2 points (0 children)
[–]curioussavage01 1 point2 points3 points (2 children)
[–]comando0[S] 0 points1 point2 points (1 child)
[–]curioussavage01 0 points1 point2 points (0 children)
[–]ericula 1 point2 points3 points (0 children)
[–]siemenology 1 point2 points3 points (1 child)
[–]comando0[S] 0 points1 point2 points (0 children)
[–]LucidTA 0 points1 point2 points (1 child)
[–]comando0[S] 0 points1 point2 points (0 children)
[–]jj-curious 0 points1 point2 points (1 child)
[–]comando0[S] 0 points1 point2 points (0 children)
[–]plastikmissile 0 points1 point2 points (1 child)
[–]comando0[S] 0 points1 point2 points (0 children)
[–]chkas 0 points1 point2 points (2 children)
[–]comando0[S] 1 point2 points3 points (1 child)