• 0 Posts
  • 37 Comments
Joined 1 year ago
cake
Cake day: July 2nd, 2023

help-circle

  • I moved from a 1080p monitor to a 1440p one for my main display and it’s actually really worthwhile. Not only is your daily computing sharper, but multitasking becomes easier because smaller windows are still legible.

    IMO it’s a lot easier on the eyes when things are sharper, too.


    1080p is still more than enough, but I think 1440p is worth it for a screen you’re using for hours every day :)





  • Loongarch is a few years ahead of RISC-V atm. the fastest RV cores are comparable to ARM A53 (Raspberry pi 3-ish) whilst Loongarch is comparable to Intel Core 10th generation.

    I think its a sunk cost thing. Loongarch was set in motion before RISC-V International was established in a neutral country, and now they’d be giving up a faster proprietary ISA for one that’s much slower atm.

    The fact Alibaba is putting their money on RISC-V is probably enough of a sign that Loongarch will likely have a short-lived time at the top of the Chinese DIY processor stack.


  • Nothing about RISC-V disallows hardware-level surveillance. Most if not all surveillance hardware on our devices are really just super-low-power ARM CPUs. You can in theory just make a RISC-V chip capable of doing the same work.

    I do think you’re probably right that it’s more about having exclusive control over the intellectual property and the ISA specification. RISC-V does allow you to close-source your chip designs, but the foundation behind it was only moved to a relatively-neutral country (Switzerland) in 2019, which is some years after Loongson moved to proprietary CPU designs.

    They’re the only ones going proprietary as far as i know, most are going for RISC-V



  • merthyr1831@lemmy.worldtoProgrammer Humor@lemmy.mlTrue Story
    link
    fedilink
    arrow-up
    46
    arrow-down
    2
    ·
    8 months ago

    If C++/C were real languages for real programming they’d enforce this in the compiler.

    No sane language designer would say “it is imperative that you do not implement your class in its header file” then write a compiler designer to say “oh you implemented your code in the header file? lol lmao that rocks”

    They have played you all for fools.



  • Something really fucky with developer salaries recently. Im seeing London-based office jobs (We’ve got you surrounded! Come eat fruit snacks in our trendy office space!) offer £25k salaries which is like half the wage necessary to afford working there lmao









  • Normally the purpose of a block of code like this is to provide a fallback hardcoded value if the dynamic value from your API or whatever is null. Like, setting a default title for a page of a notes app if the user didnt set a title themselves etc.

    So, b is very likely to be a never-null, hardcoded value.

    This code can still be valid and return null if b is null too, as the other person said.