3,142 karma · joined Feb 12, 2018 (8y ago) · 1,452 submissions
comment 3y ago · link · parent
for (int i = 0; i < N; i++)
{
a[i] = b[i]*c[i];
}
Effectively, they let you do this in chunks of 2, 4 or 8 elements in a single instruction instead of element by element. Usually the clock speed of the processor drops slightly while executing these instructions but not so much as to make it slower than not having the instruction.New instruction sets usually do two things - add support for new operations, and widen the registers and allow you to perform the operation on more elements at a time.
If you’re writing in a high level language, you’ll only really see performance improvements if your interpreter or library takes advantage of them. For e.g. the Python library NumPy makes good use of vectorisation.
In terms of writing low level code, simple loops are often auto-vectorised by the compiler so you often see a sort of odd style where a loop doing many things is split up so the compiler can deal with it. You often end up having to run the code through something like VTune to work out whether a particular loop has actually vectorised.
comment 3y ago · link · parent
We have definitely found this to be true in hiring. Many people’s Python knowledge seems to just be surface deep.
comment 3y ago · link · parent
comment 3y ago · link · parent
Remote: Preferred but can commute to London/Manchester/etc. a couple of times a month or more frequently if closer.
Technologies: Python (scientific stack, Django), C, C++ (OpenMP, MPI, CUDA), AWS
CV: available on request. 4 years commercial experience + 4 years in highly technical PhD writing open source simulation software.
Interests in renewable energy, scientific/engineering companies, tech for good. Enjoy working on challenging technical problems. Looking for new role as current company going through an extended period of instability.
E-mail: hn-looking-for-a-job@outlook.com
comment 3y ago · link · parent
I started using it in about 2014. It was not exactly what I would call a simple project. It used to be an ordeal to build, could only easily be used via Docker, ported to Python 3 a long long time after most of it’s dependencies did, had an unstable C++ API that changes were not documented for but nonetheless you were required to use if you wanted for reasonable performance for some calculations, etc. The national supercomputing centre in my country managed to only get one version to build because it was so poorly specified at the time and basically only supported Ubuntu!
FEniCsX is considerably better usability wise, but that’s the result of hard lessons learnt.
comment 3y ago · link · parent
comment 3y ago · link · parent
comment 3y ago · link · parent
When I started my current job, the project was veering into microservices hell by a team that did not understand how to build a web application. A rough back of envelope calculation of potential customer base and what the product was aimed at (B2B in renewables) told me that even with world domination, the backend of the application would at most have 50k active users ever. So we didn’t really need 30 different microservices all which could scale independently, maybe just 2 or 3 larger services.
comment 3y ago · link · parent
If I think about the engineering product I work on and where they do have modals, none of them would work with a separate page. It's things like "Load one or more of your saved graphs (which you can search and filter) into this existing page of graphs"
comment 3y ago · link · parent
I’ve interviewed people who tell me they’re experts in X but can’t tell me common tooling, how they might debug poorly performing code, etc. etc. I don’t think this is sustainable personally, when you look at what “senior” is in other industries (like engineering) people are expected to be much more competent relative to their peers before they get such a title.