4 ms·
Maybe I'm missing something but it seems to me that this can only cause fragmentation in the Python space. Why not use the original distributions?
by amelius 5y ago
Maybe I'm missing something but it seems to me that this can only cause fragmentation in the Python space.
Why not use the original distributions?
- lbhdc 5y agoThere are a number of alternate interpreters available. The selling point typically is that they are faster, and seems to be the value proposition of intels. One use might be improving throughput of a compute bound system, like an etl written in python, with little effort. Ideally just downloading the new interpreter.
- amelius 5y agoOk. If they offer Python without the GIL then I'm all ears :)
- gautamdivgi 5y agoI don't think python is ever going to get rid of the GIL. I haven't looked but there's two things that may speed things up quite a bit: - Use native types - Provide the ability to turn "off" the GIL if you know you will not be using multi-threading within a process. I guess that is my naive wish list for a short term speed up :)
- TOMDM 5y agoA pythonic language that included something analogous to Golangs channels/goroutines would be my ideal.
- borodi 5y agoJulia does have channels similar to those of Go, although if you want to call it pythonic or not is up to you.
- TOMDM 5y agoI've seen hype for Julia over and over, but this is the first piece of information that's made me genuinely interested. Thanks for the heads up! EDIT: Oh god it's 1 indexed
- borodi 5y agoWhile people discuss a lot about it, in the end 1 indexing doesn't really matter. I think it comes from fortran/matlab.
- TOMDM 5y agoI agree, it doesn't really matter, but I've been programming long enough that I can see it being that top step that's always half an inch too tall that I'm going to stub my toe on.
- borodi 5y agoFor sure, I switch between python, C/C++ an julia a lot and well, lets say bounds errors are pretty common for me.
- oscardssmith 5y agoMy advice would be to use begin and end. Then you don't have to think about the indexing.
- snicker7 5y agoThe "idiomatic" way to access the first element in an array/sequence in julia is to use the `first` function, e.g. `first(arr)` vs. `arr[1]`. This works across a larger number of array types, including OffsetArrays with 0-based index offsets.
- dec0dedab0de 5y agoJython doesn't have a gil, but It doesn't support python3, and I've never used it.
- gautamdivgi 5y agoJython would also have issues with the many c libraries that python code relies on today.
- deleted 5y ago[deleted]
- shepardrtc 5y agoNumba might be what you're looking for: http://numba.pydata.org/ http://numba.pydata.org/
- gautamdivgi 5y agoThat looks really interesting. I'll definitely be trying it out. Thanks!!!
- gnufx 5y agoMystique (PR)?