• 0 Posts
  • 99 Comments
Joined 2 years ago
cake
Cake day: August 4th, 2023

help-circle




  • I deleted it…

    Because I said I hate the man-hating “feminism” that was popular a few years ago, and that I am a good person. Ofc you can’t be feminist if you dislike sexist women.

    That was only like 1/3 or 1/4 of what I said and you can find it if you search for the deleted reply here, as only that part is deleted.

    Edit: I restored it, you can go read and downvote now. Didn’t know you can restore.




  • “Man up” isn’t always about bottling your feeling like the US internet says. More often it’s “stop complaining and just do it”. And someone has to do “it”. And it often leads to growth.

    The internet often distorts things.

    As for the topic, I am a feminist. The first and second wave feminism, that is. The equality ones. Not the pink haired screaming “all men are evil and should pay” third wave. Everybody screaming “patriarchy” while sitting on their bed, not even looking further then that. Looking at everything black and white.

    Actually, I’m kinder to women then men…




  • 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.




  • Yea. DNS is just an address book (name to IP). There’s a bit more to how it is structured, but it’s not that complicated.

    Actually thinking about it, they would not have to remove the “domain” (tiktok.com or whatever it is), they (tiktok) would just have to stop using it for business. They could like put a banner that says “tiktok is no longer avalible here” or whatever.

    Other part is IP. As you said, you could just change what dns server your phone asks for IPs and use it like normal. The government could block the IP at the big nodes going out of the country. Then you would have to use a vpn. Idk what they (usa or tiktok) have done, but I know tiktok will not actively try to skirt around it and will remove themselves. I would expect someone stupid like musky to try something, but big companies are usually serious.

    Anyway, they can’t stop vpns. But vpns are a pain for regular folk.