News for hackers. Stuff that matters.
Re:Nim – Python-like statically-typed compiled language by swsieber on Sunday August 16, 2020 @03:24PM (#24180442)
And I'm saying doing stuff with numpy counts as doing stuff in python. Just because numpy is mostly implemented in c doesn't prevent me from writing ML in python.
Re:Nim – Python-like statically-typed compiled language by adamnemecek on Sunday August 16, 2020 @04:28PM (#24180986)
I understood. What if you need a feature that is not implemented in C and exposed? You need to write C.
Re:Nim – Python-like statically-typed compiled language by swsieber on Sunday August 16, 2020 @07:42PM (#24182368)
I agree with you there. I just haven't hit that need yet. I suspect most people don't.
Re:Nim – Python-like statically-typed compiled language by dunefox on Monday August 17, 2020 @05:23AM (#24185492)
I suspect many people do but just don't (yet) realise that there's an alternative.
Re:Nim – Python-like statically-typed compiled language by michaelcampbell on Sunday August 16, 2020 @06:55PM (#24182102)
Same issue with Julia, no?
Re:Nim – Python-like statically-typed compiled language by swsieber on Sunday August 16, 2020 @07:41PM (#24182362)
Julia is much more amenable to implemening it though in native Julia, so I think it's a lot easier to stay out of C even when there's a similar library hole between Julia and Python.

However, it's just a wall I haven't really bumped into. I suspect many people don't, and a part of that is popularity - so much exposure can do a lot to expose the warts. Though I think that goes for both Julia and Python.

But I think once you know numpy well you probably won't run into that restriction (can extend in the native python) unless you're an expert (for the ML usecase).