IIRC it just defaults on Ubuntu’s handling for close source Nvida drivers (though its been a while since I used pop os so that could be out of date)
IIRC it just defaults on Ubuntu’s handling for close source Nvida drivers (though its been a while since I used pop os so that could be out of date)
Why is everyone in this thread constantly putting meaningless @ mentions at the top of their replies?
I was responding to your general statement that python is slow and so there is no point in making it faster, I agree that removing the GIL wont do much to improve the execution speed for programs making heavy use of numpy or things calling outside it.
That’s a bit suss too tbh. Did the C++ version use an existing library like Eigen too or did they implement everything from scratch?
It was written entirely from scratch which is kind of my point, a well writen python program can outperform a naive c implementation and is vastly simpler to create.
If you have the expertise and are willing to put in the effort you likely can squeze that extra bit of performance out by dropping to a lower level language, but for certain workloads you can get good performance out of python if you know what you are doing so calling it extremely slow and saying you have to move to another language if you care about performance is missleading.
Numpy is written in C.
Python is written in C too, what’s your point? I’ve seen this argument a few times and I find it bizarre that “easily able to incorporate highly optimised Fortran and C numerical routines” is somehow portrayed as a point against python.
Numpy is a defacto extension to the python standard that adds first class support for single type multi-dimensional arrays and functions for working on them. It is implemented in a mixture of python and c (about 60% python according to github) , interfaces with python’s c-api and links in specialist libraries for operations. You could write the same statement for parts of the python std-lib, is that also not python?
Its hard to not understate just how much simpler development is in numpy compared to c++, in this example here the new python version was less than 50 lines and was developed in an afternoon, the c++ version was closing in on 1000 lines over 6 files.
Nope, if you’re working on large arrays of data you can get significant speed ups using well optimised BLAS functions that are vectorised (numpy) which beats out simply written c++ operating on each array element in turn. There’s also Numba which uses LLVM to jit compile a subset of python to get compiled performance, though I didnt go to that in this case.
You could link the BLAS libraries to c++ but its significantly more work than just importing numpy from python.
Python can be extremely slow, it doesn’t have to be. I recently re-wrote a stats program at work and got a ~500x speedup over the original python and a 10x speed up over the c++ rewrite of that. If you know how python works and avoid the performance foot-guns like nested loops you can often (though not always) get good performance.
The author is Danish, are you so certain that this isnt just slightly awkward usage of a second laguage that you are willing to throw transphobic at them as an insult?
And jesus, the writing in BE! There’s only so many times I can hear “haha look at these funny space people who think the dynamo is an invention from antiquity”
If storage space is important using uncompressed json is a bad choice, if you’re compressing the json it doesnt really matter if you have lots of exceptionCase: False
fields as they will compress very well.
The whole forced arbitration is bad enough, but retroactively enforcing it on something you already own while deliberately making it difficult to opt out just seems like its begging to fall foul of anti-consumer rules. The whole “this applies to the extent that its not really fucking illegal” clause just makes it seem like an intimidation tactic rather than actually something they think they have any chance of enforcing if it came to it.
Is this actually meaningful in any way or is it just the corporate equivalent of positive manifestation? Surely no court would take seriously an after the fact imposition of you waiving your rights by default unless you send a physical letter to them informing them you disagree with losing your right to sue (for no gain on your part).
And yours even moreso
Tolkien spent years creating a fictional world and languages before even deciding to write a novel.
Given that is the opposite of what Tolkien did i think you are overstating your case to say it’s a foundational tenet.
have fun in australia, and try not to get eaten
I think the financial crisis and the resultant decade of falling living standards for the poor and lower middle are probably more of a factor than Obama’s election there.
is that 1/3 monetary ounces or 1/3 fluid monetary ounces?
yup, just like the ai needed lots of pictures of astronaughts on horses to make pictures of those…
No you dont? You can literally just copy files onto an external hard drive, there is no requirement to use steam to do that.
I honestly cant remember the last time I bought a game and it didnt just work with no tinkering on proton. Though I am on AMD not Nvidia which makes things a lot easier.