Hacker Newsnew | past | comments | ask | show | jobs | submit | sitzkrieg's commentslogin

39 and have over 10 years writing assembly. huh?

anything but admitting the design is bad and frivolous

hope nothing goes wrong with it

i assumed it was malware out the gate. yep


sending young americans off to die for israels relgious war and bury epstein news. the entire usa still operating my team vs your team. president trump is pedophile child rapist and noone can bother to care. sad times all around


the only fix for windows 11 is installing windows 10 LTSC


constant growth for stockholders ruins all it touches


2026 and people are complaining about the oldest, most stable gui api available, seems right on target


ive maintained a simulation software where the core is written in fortran. its using some intel math library that is expensive that i cannot recall, does immense calculations and makes faster binaries than c on every compiler we tried


Interesting.

MKL is Intel’s famous numerical library (it includes things like BLAS “basic linear algebra subroutines” and fast Fourier transforms). It is availible for free, but IIRC they had some support plans maybe, maybe that’s what you are remembering?

It is closed source, but you can look at the source of the best open source competitor libflame/BLIS, and see that most of the performance comes from C and assembly.

It is difficult to beat “unlimited effort” C, but not many program really justify that treatment.


MKL used to not be free. You had to buy it from a local reseller for a few hundred dollars per developer.


Have you tried using the restrict keyword everywhere you can in c?

In Fortran, arrays are not allowed to overlap which allows some optimisations. c has rules in the spec about how memory accesses must occur, and overlapping arrays being possible prevents some compiler optimisations. The restrict keyword is you promising that the memory at some pointer won't be accessed through another pointer.

You can compare two implementations in Fortran/c using godbolt to see how each of them compile.


Dummy arguments may not alias anything else, including other dummy arguments, in conforming Fortran if either are modified, with some exceptions. But there are many ways in which arrays can overlap that don’t involve dummy arguments. GNU Fortran optimizes ASSOCIATE names as if they were free of aliasing, too, but that is a bug.


i apologize i missed this. the core hot loop was fairly straightforward to optimize and audit all aliasing. we ported from c89 to all cutting edge (at time) c99+ compilers. we still couldnt quite eek out that minor difference. the intel compiler unsurprisingly generated the most close asm for the machine

the fortran library we only had one license on a physical machine, i had to travel for one extensive recompilation of that side lol! it wasnt the library mentioned below, i would have to ask a collegue.


yea thats barely playable for single player games


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: