Skip Navigation

Posts
2
Comments
171
Joined
2 yr. ago

  • Where's the .EnableUltraUltraWideSupport(). Gotta have my 48:9 aspect ratio

  • 🤔... I've never liked i and don't use it...not sure why. I keep thinking I should start but alas I just don't.

  • Yeah, I was ignoring apple platforms because Objective-C doesn't even have its own header extension as an option. Also not all C headers do extern stuff...and it doesn't fix 100% of compatibility problems when you do that anyway. Also I'm not really talking about it from a compiler perspective, I'm talking about it from an organization and human perspective. I know compilers generally don't care...which is exactly how we ended up in this predicament.

  • Yeah. My original comment should have been "I wish people would use a C++ specific extension for headers." I just picked hpp because cpp seems to be the most widely used C++ extension.

  • In amd64/x86 kernel space you can dereference null as well. My hobby kernel keeps critical kernel structures there XD.

  • const volatile is used a lot when doing HW programming. Const will prevent your code from editing it and volatile prevents the compiler from making assumptions. For example reading from a read only MMIO region. Hardware might change the value hence volatile but you can't because it's read only so marking it as const allows the compiler to catch it instead of allowing you to try and fail.

  • Ngl when Nintendo got yuzu to fold I was like

    Well I'm never giving that company money ever again

    I'm usually mostly against piracy, not for legal reasons but because I think the creators should be rewarded for their hard work making content people enjoy...but Nintendo can go fly a kite...and crash it while they're at it.

  • The legal definition of piracy in regard to digital content isn't stealing. You cannot steal digital media as stealing by definition means the owner of the content is no longer able to sell it. If you steal an apple they can't sell it because you have it. Piracy of digital media is only copyright infringement, which is still illegal but regardless of how you feel about piracy it is fundamentally not theft.

  • Yep which IMO is ugly but I'd way prefer that over everyone using .h

  • Yeah that's completely fair and makes sense to me. I just know I've come across stuff where people are talking about it like they're the same language. This seems to be especially prevalent in windows development where the C support is pretty poor in comparison and tends to kinda be lumped into into C++.

  • Ah...well fair enough. I personally prefer plain C but I know nothing about the pine time or what languages are available and even then Hypr and Hyprland are C++ so you are trapped there...sway ftw lol. Also my pedantic side dictates I must say this even though it's irrelevant...but technically Hyprland is a Wayland compositor and while they do manage windows a window manager is an X term...

  • That you should turn and run like hell? Probably lol...

  • ...so that leads to another annoyance of mine. The insistence that there aren't two languages but indeed one named C/C++. Obviously I'm being a bit sarcastic but people blur the lines HEAVILY and it drives me crazy. Most of the C code I've written is not compatible with C++...at least not without a lot of type casting at a bare minimum. Or a compiler flag to disable that. Never mind the other differences. And then there's the restrict keyword, and the ABI problems if the C library you're using doesn't extern C in the headers...etc etc... -_-

  • Not a C++ developer, I prefer C. You are right in general however my understanding is that classes which are generic using templates must be fully implemented in header files because of how templates are implemented. That being said this code doesn't appear to use templates so I'm not entirely sure I get it either?

  • I really wish more projects would use .hpp to differentiate from C headers. It's really annoying to have a single header extension blend across two incompatible languages.

  • Also shows as dates on YouTube music

  • This is gross. Needs IPv6

  • There's too much MS in the language and runtime for me. The fact that it gives my Linux programs DLL files and the fact that by default the SDK phones home makes me run away in horror from not only writing it but also running other projects written in it.

  • Lemmy is rust and it's alternative sublinks is java...your comment has now power here

  • As a fan of tabs I see this as an absolute win