There’s no real need for character literals. They would behave exactly the same as string literals but only support a single character. And you can use escape sequences in the string literal, of course.
There’s no real need for character literals. They would behave exactly the same as string literals but only support a single character. And you can use escape sequences in the string literal, of course.
the HDR by my understanding is basically just automatic conversion, not actually support for programs to use HDR on their own. I’ve been using gamescope to run games in native HDR.
lua is a really cute and surprisingly capable language! it’s how I got my start, and it’s one of the easiest languages I’ve ever played with. it would’ve been a good pick for web, I think. probably just needed to be fleshed out more.
for real. I’m very lucky to have landed a job in it, but it’s a dry market for anyone looking if they don’t want to be doing crypto. Rust has made a big name for itself but still isn’t that popular where it matters.
I mean, archinstall is pretty nice! it’s certainly not flashy but it’s a great tool that gets you up and running very quickly with no hassle
Thank you! It’s hopefully intuitive to anyone who knows regex or BNF already
I use it less, which is better for my mental health. I still find there are similarly depressing posts and attitudes here. People are nicer, but the breadth of topics is far more limited. I won’t go back to reddit, but lemmy definitely doesn’t hold a candle to the number of communities they have. I’ve been using Tumblr as well and quite enjoying that.
the best take. as with everything, there is no one size fits all solution
that’s a great idea!
the news isn’t that there’s one job listing, the news is that Microsoft office 365 is being rewritten in rust.
I’ve been installing a lot of things written in rust recently, and I’ve noticed a trend between them. They’re all stable, fast, and very user-friendly. I don’t really have to fiddle with them nearly as much. I think there’s a lot that goes into this, but it really boils down to: rust is safer and prevents huge categories of bugs, it’s incredibly stable and requires less debugging and maintenance, it has extremely high level abstractions to make development quick and less verbose, and it has the best tooling I have seen for any language. It enables developers so effectictively that the things that are usually tedious and difficult become easy and potentially mandatory, and so you just get better software.
I know that sounds pretty abstract and opinionated, but having used the language for several years now, and especially coming from Java, I have really felt an incredible difference - I stopped having to constantly fix breaking Gradle builds and JVM version management, I stopped getting null pointer exceptions, and I had much more powerful tools for building abstractions. When you see how much control and power rust gives you while still keeping you safe, it’s just night and day compared to the especially old languages like C.
Basically, anything written in rust will be better if it can enable developers to spend their time working on useful features instead of fixing bugs, fiddling with build systems and fragile legacy infrastructure cobbled together from dozens of third party tools.
Rust. I’ve been using it for a while, and I’ve been using more software written in it lately. Stuff you make with it is just better in most ways. In other languages, you have to go above and beyond to make your code fully correct, safe, user friendly, and every trait I value in software. Rust makes those things easy, and so people are more willing to do them, and so things that get made in it are better. Oftentimes it’s just a matter of pulling in a crate and adding a few lines of code.
going vegan doesn’t help animals much either. we live in an overproductive society that wastes most of what it produces anyways - even if your personal choice marginally reduces demand, the abuse is ongoing. we need systemic solutions. we need to destroy the meat industry. veganism will never be popular enough to create systemic change on its own.
solves nothing. you eliminate a negligible amount of carbon emissions. focusing on our individual impact is a waste of time when there are companies and their leaders doing orders of magnitude more damage.
you can’t be 100% sure about a relationship until you try it. it might work out, it might not. age is not going to be an obvious problem upfront if she seems mature. you just have to accept that you’re taking a risk.
why don’t we store code unformatted and have everybody’s IDE display it with their preferred format applied? it would make everything easier and stop people bickering over pointless things.
steam deck is helping a lot on that front.
shorter code is not always better, especially when it comes to types. building in lots of guard rails by being verbose with the type system is a good thing. “shorter = better” is the python approach that starts off fun and easy but the codebase scales extremely poorly.
hard agree. I’m sick of all the “it doesn’t matter what languages you learn” talk because it’s just not true. yes, there are broad foundational skills that apply to nearly every language, but beyond that, you’re specializing, and the way the language you choose is designed will stick with you. I’ve seen the concept that you get accents in programming languages just as much as spoken ones, and I think it’s totally true - when you learn a new language, you’re bringing your habits and assumptions from the last one. so to be honest I don’t care about the language design opinions of people who only know dynamically typed languages
Good article, though I wish it talked more about how CPUs choose what to cache