[-] snowe@programming.dev 6 points 2 years ago

I can’t speak for C, as I don’t follow it that much, but for C++, this is just not fair. It has been proven repeatedly that it can be done better, and much better. Each iteration has made so many things simpler, more productive, and also safer. Now, there are two problems with what I just said:

That comment was not talking about programming languages, it was talking about human's inability to write perfect code. Humans are unable to solve problems correctly 100% of the time. So if the language doesn't do it for them then it will not happen. See Java for a great example of this. Java has Null Pointer Exceptions absolutely everywhere. So a bunch of different groups created annotations that would give you warnings, and even fail to compile if something was mismatched or a null check was missed. But if you miss a single @NotNull annotation anywhere in the code, then suddenly you can get null errors again. It's not enforced by the type system and as a result humans can forget. Kotlin came along and 'solved it' at the type level, where types are nullable or non-nullable. But, hilariously enough, you can still get NPEs in Kotlin because it's commonly used to interop with Java.

My point is that C/C++ can't solve this at a fundamental level, the same way Kotlin and Java cannot solve this. Programmers are the problem, so you have to have a system that was built from the ground up to solve the problem. That's what we are getting in modern day languages. You can't just tack the system on after the fact, unless it completely removes any need for the programmer to do literally anything, because the programmer is the problem.

Surely not for everything. Of course I see great value if I can stop depending on OpenSSL, and move to a better library written in a better language. Seriously looking forward for the day when I see dynamic libraries written in Rust in my package manager. But I’d like to see what’s the plan for moving a large stack of C and C++ code, like a Linux distribution, to some “better language”. I work everyday on such a stack (e.g. KDE Neon in my case, but applicable to any other typical distro with KDE or GNOME), and deploy to customers on such a stack (on Linux embedded like Yocto). Will the D-Bus daemon be written in Rust? Perhaps. Systemd? Maybe. NetworkManager, Udisks, etc.? Who knows. All the plethora of C and C++ applications that we use everyday? Doubtful.

I'm not talking about whole scale rewrites. I'm talking about what Linux is already doing with writing new code in Rust, or small portions of performance critical code in a memory safe language. I'm not talking about like what Fish Shell did and rewrote the whole codebase in one go, because that's not realistic. But slowly converting an entire codebase over? That's incredibly realistic. I've done so with several 250k+ line Java codebases, converting them to Kotlin. When languages are built to be easy to move to (Rust, Kotlin, etc), then migrating to them slowly over time where it matters is easily attainable.

[-] snowe@programming.dev 6 points 2 years ago

Manually patched by pulling the commit and building your own source?

[-] snowe@programming.dev 6 points 2 years ago

How does it hide a map?

[-] snowe@programming.dev 6 points 2 years ago

It shows content from whatever app you have highlighted. If you were recently watching Love is Blind on Netflix and you hover over Netflix it will show a love is blind banner. If you were watching pirated stuff from your home server on Infuse then hovering over infuse will show you the most recent thing you opened. They’re not ads, it’s just a “recent” list.

[-] snowe@programming.dev 6 points 2 years ago

You can turn online off from the pause screen, no need to run anywhere. But yeah multiplayer works a bit better in local than what you described. Haven’t bothered with online multiplayer at all.

[-] snowe@programming.dev 6 points 2 years ago

thank you, yes I their comment later on. No, github didn't even tell me I was banned. I happened to notice because I left the tab open and was moving through them trying to find something else.

[-] snowe@programming.dev 6 points 2 years ago

act is so hard to use and the docs are terrible. Every time I go to use it I give up a few hours later having gotten nowhere. Incredibly frustrating experience.

[-] snowe@programming.dev 6 points 3 years ago

How in the world do you remember the first airline you flew in much less the first twenty?

[-] snowe@programming.dev 6 points 3 years ago

Why in the world would you rewrite it when you could take an hour and get it compiling with graalvm and it would be just as fast as c++?

[-] snowe@programming.dev 6 points 3 years ago

The resources for starting a co-op are a lot more scarce than other businesses. I’ve looked into it and it was incredibly difficult to find information about what I’d need to do. I eventually just gave up on it rather than starting a business, because I really only want to start a co-op.

[-] snowe@programming.dev 6 points 3 years ago

I'm sure we could, but I don't have the money to defend that in court, and I doubt even if every user here funded the lawsuit would we be able to take on FB in court.

[-] snowe@programming.dev 6 points 3 years ago

This is along the lines of what I’ve been thinking, but I’m actually trying to build in several mechanisms of control. If you want it to federate, if you want to limit it in different ways, etc.

view more: ‹ prev next ›

snowe

0 post score
0 comment score
joined 3 years ago
MODERATOR OF