I get banned from Reddit for "suggesting violence" by stating Elon Musk's assets should be liquidated, meanwhile:
gens @ gens @programming.dev Posts 1Comments 291Joined 2 yr. ago
European trains varie from "very good" to "a guy wearing a full snail costume outran a train". True story that one, happened in hungary.
Look, I wrote plenty of assembly. A human knows how the code will flow. A compiler knows how everything is linked together, but it does not know how exactly the code will flow. In higher level languages, like C, we don't always think about things like what branch is more likely (often many times more likely).
Memory is the real performance winner, and yes registers play a big role in that. While cache is more important it depends on data layout and how it is processed. That is practically the same in C and asm.
C compilers don't even use every GP register on amd64. And you know exactly what you need when you go into some procedure. And when you get called / call outside of your.. object file in C (or C ABI), you have to: "Functions preserve the registers rbx, rsp, rbp, r12, r13, r14, and r15; while rax, rdi, rsi, rdx, rcx, r8, r9, r10, r11 are scratch registers." put those on the stack. So libraries have calling overhead (granted there is LTO). In assembly you can even use the SSE registers as your scratchpad, pulling and putting arbitrary data in them (even pointers). The compilers never do that. (SSE registers can hold much more then GP)
In asm you have to know exactly how memory is handled, while C is a bit abstracted.
If you want to propagate such claims, read the "Hellо, I am a compiler" poorly informed.. poem ? But it's easy to see how much a compiler doesn't optimize by comparing compilers and compiler flags. GCC vs LLVM, O3 vs Os and even O2. What performs best is random, LLVM Os could be the fastest depending on the program. Differences are over 10% sometimes.
Biggest problem with writing in asm is that you have to plan a lot. It's annoying, so that's why I write higher level languages now.
Edit: Oh, I didn't talk about instructions not in C, nor the FLAGS register.
Compilers have a lot of chalenges to even compile, let alone optimize. Just register allocation alone is a big problem. An inherent problem is that the compiler does not know what the program is supposed to do. Humans still write better assembly then compilers.
The one down arrow on the guy you are responding to is from me, just so everybody knows.
Breaks are kinda important.
Was there porn ?
The programs usually mmap the file into memory. That means that parts of it are loaded as used and unloaded if there is no memory left. That's why it does not say it is using memory. Check disc i/o as it is generating the message. For linux that can be seen in htop or iotop, for win idk.
Note that I use lmstudio, that uses llama.cpp to run models. Gpt4all, I think, uses a modified version of same. Doesn't matter they should all be using mmap to load the file.
PS Depending on the model I also get a couple tokens per sec on the cpu.
Edit: Didn't see someone already said the same, I'l leave this here anyway.
The only thing that matters in government politics is public opinion.
Yea, no such thing in my country. Practically everyone returns the cart.
Cart retriever ? Why is that even a job.
We still have people atacking people with axes and knives. Thing is you can at least try to run away from an idiot with an axe, unlike an idiot with a gun.
It's genetics. We produce some oil or something that mosquitos smell. And some people produce more then others.
Basically bad luck.
"Open"ai is definitely sharing everything you tipe with your government. Only difference is that chinese care less about your illusions. That said we are not even a blip in the sea of data so it doesn't matter anyway.
Bdw your patriot act says that any data that goes over your border can be stored and used indefinitely. So me seing your comment means your nsa will store it and can use it, even though spying on your own people is against your constitution or something.
The smallest particles are not actually balls, but are wibbly wobbly. To measure something we need to interact with it, even if we interact with it using light. But because those particles are all wibbly wobbly, we can't say for sure where they are exactly. And that unsure distance is Plancks length.
Disclaimer; I am not theoretical not a physicist, now eat your vegetables.
When I asked the boss, who has been in the business for a couple generations, why it says here 4000 instead of 4m, he said what I am telling you. So you don't mix up measurements.
Sure. I'm not a professional machinist. I have worked on roofs and all sheet metal things are in mm. I have even worked for a company that makes those metal things and as a customer for another one. I also was by far the best at technical drawing in school, not to brag. And all the schematics for things I have seen are in mm, for example https://www.iclarified.com/images/news/48931/228250/228250-1280.png . Disclaimer, all the schematics that are not in, ugh, inches (or architecture).
Sure, if I made something for someone they can give me dimensions in Smoots for all I care. But I would transform it into mm, and would never buy tools that don't use mm.
For context, I am not in an english speaking country nor Myanmar.
Edit: Actually I have seen house schematics in mm as well. I thing they now give out in m, but use mm internally (depending on architecture firm).
Metal roofing thing (idk how to translate, am not british) are always in mm. We would buy them at like 5 meters long and measure for cutting using mm. https://limarija-sebastijan.hr/krovni-zidni-i-ostali-profilirani-limovi/trapezni-lim/ All the drawings for metal things are in mm. What is not is like diameter of the pipes. The store I linked sells rolls of sheet metal (again don't know how to translate) in cm, but all the other stores sell in mm. https://olx.ba/artikal/19038696/lim-u-rolni/ When you want custom bent stuff (like the metal.. things that go on the sides, or custom gutters) you make a drawing in mm (can't explain, but I'l draw one if you want).
I just said "professional" because the one I replied said it, without saying what profession. Roofing is a profession, and metal roofing stuff doing (again don't know how to translate) is also a profession.
And all the schematics I have seen for metal parts, and in cad software in general, is in mm. Tailoring is also in mm (https://tehnicki.lzmk.hr/clanak/kroj).
Maybe it is a US vs rest of the world thing ? Maybe I'm not expirienced enough to make such sweeping statements.
Again, you put thousands of mm because mixing cm and mm (and m) can lead to mistakes. I even remember cutting wrong because I heard like 2570 instead of 2507 (he's up there measuring, while I'm down cutting).
House blueprints are usually in meters. Window sizes are in cm.
Ofc it's wrong. You can be peaceful and harmless.
Musk is a moron.
Edit: The more I think about it, the wrong-er/stupider it gets.