it is my second choice next to Zig and does have a lot of cool features, for sure.
The nice thing is that all these languages feature easy C interop so you can use a C FFI as the interface between them if you want to experiment with, for example, writing a module in Nim
that’s not what the benchmarks say about Go, and based on multiple reports, Rust does not scale well into large codebases, which eventually become brittle and very difficult to change
Zig is a return to “no magical effects,” except with reasonable safety
I would be very surprised to see a large Rust codebase being harder to maintain than a large Zig codebase. The former makes it much easier to maintain invariants at scale.
By the time C++ and Java were as old as Rust is today there were thousands of programs that over 1MLOC that had been maintained for at least five years. Rust is a rather old language, yet I doubt there are even hundreds of Rust programs over 1MLOC.
These reports are smoking crack. Rust scales gloriously well into large codebases, and it especially shines when it comes to making major refactorings. Please don't bother speaking about things that you don't understand.
You are entirely right here, you're also incredibly rude. Please don't bother replying when the only thing you're actually doing is being condescending and spreading negativity
Rudeness is perfectly acceptable when it comes to preventing the spread of blithe and thoughtless disinformation. I have no obligation to be polite to people who speak authoritatively on topics they know nothing about. I recommend you spend less energy on trying to defend clueless people by policing the tone of the people educating them, unless you think that polite ignorance is more societally valuable than brusque truth.
Could you please not sermonize or act like a demanding customer? We don't, and can't ever, see everything that's posted here, and even if we could it's not appropriate for moderators to adjudicate on the correctness of any claim. It’s by cultivating discussions between different people with different perspectives that we illuminate topics here. Obviously you have deep expertise on those topic. Great! Please educate people rather than berating them.
This is only a place anyone wants to participate on because we have guidelines and others make the effort to observe them. You've been here long enough to know that. Please don't trash what you seem to have found value in for so long. We don't need you to be "effusively pleasant" or erudite, just respectful.
For the price of all this righteousness you could have provided a reference. Some reference. So that curious bystanders like me can learn from the exchange.
It's difficult but where there's a will there's a way. I know plenty of parents who find time to get exercise in. And even if you don't hit ~600 minutes in a week, any amount of exercise is beneficial.
Go for a run pushing your kids in the stroller (even more cardiovascular benefit than just running by itself tbh). Do a bunch of squats at home while cradling your toddler (it becomes funtime for them, like they're on a mini rollercoaster ride). Take your kids for a hike, whether they're tiny and need to be brought along in a baby carrier or they can walk by themselves.
Basically, you can make it happen if you really want it to happen.
Side benefit: Your kids grow up seeing you build habits that keep you healthy long-term. Eventually, they get involved and that helps them learn self-care skills.
Plus, going for a walk/run in the stroller with Dad has to be developmentally healthier than staring at a tablet on the couch.
> Cool, now combine this with being a parent of young kids in a 2-income family without any other assistance.
For anyone literally in this situation: start small and consistent. Your goal is not to pencil in 10 hours a week of cardio. Instead, try to do 30 seconds of the same calisthenics exercise with your child before work/school consistently for 6 months. Perhaps pushups.
Over time you'll find the 30 seconds grows because you want it to. You might learn that warming up with jumping jacks helps you do pushups more comfortably. You might watch videos with your child about pushup variations and incorporate them into your routine together. Perhaps invest a few $$ into small equipment to support activities you're already doing, like pushup handles. Or maybe an over-the-door pullup bar.
Your routine won't be "optimal" in the 600 minutes sense, but a suboptimal routine that you do consistently is infinitely better for you than an ideal routine you don't, and it can expand/contract based on your needs.
I have two kids and recently I started cycling to work. I can get maybe half the new recommended number on a good week. That apparently translates to a 20% reduction.
Upon reading the article:
> The average age was 57 years and 56% were female and 96% were white.
My take is that all this study says is that's kind of late to try to tackle this problem in one's 50s. That being said it's nice to know that I could maybe get a 30% reduction if I were to start spitting my lungs out at this age doing 10h of intense cardio.
"Moderate exercise" is not a very high bar. Chores and playing with your kids probably count. There's a good chance you're already getting the required amount.
I frequently see couples who have a baby buggy with big wheels that allows jogging. Or a trailer for the bike. Or a backpack where you can put a baby on top.
I wonder why this gets downvoted. Nowadays people are aware of what they sacrifice economically and physically when they have kids. It changes the incentives.
Cool, let me know when you have a rational counterargument then, some of us have gotten fed up with Rust (especially at scale) and are very much enjoying Zig (which has no magic, which turns out to be a huge advantage at scale)
"No borrow checker" id not a reason to switch to Zig, unless you have a reason that borrow checker is limiting you from developing, hence the "I don't like this attitude". Just give the reason, not the "solution"
Not to mention we're nitpicking over something that an LLM wrote.
I'm working on 3 apps (Zig core, C FFI, Windows/Mac frontends) that haven't been released yet.
One verifies the binary data of over 200+ common filetypes, to the extent possible.
Another protects data archives/data collections with some parity, in order to survive a degree of bitrot, for those files that you don't necessarily have on a NAS.
The third is a new kind of archiver that specializes in compressing files that are already internally compressed as part of their spec.
Trivia: Did you know that the now-most-common image format in the world, Apple's HEIC/HEIF, has absolutely NO internal integrity protection, and that you can't depend on a failed decode to detect errors since all binary values are allowed in the stream format?
what the heck has convinced you that logic is somehow flawed in a new low-level language? LOLLL
reply