Why are you traveling to make a call? You could just call.
Why are you traveling to make a call? You could just call.
Ah I didn’t realize most people have moved onto OnceCell. The issue with both lazy static and oncecell is that they can only be assigned to once. You need a global mutable state, so neither OnceCell or lazy_static are the right choice.
You’re going to be fighting the borrow checker if you try to have global mutable state. It will bite you eventually. You can potentially use an interior mutablity pattern along with a mutex. Have you looked into interior mutability?
Very cool. I’ll have to try it out. I just started using React, and I’m beginning to love it. React with rust sounds like heaven.
Maybe lazy_static? Personally I’d just pass a borrow to the vec around. It’s very common for programs to have some global state that they pass around to different parts.
Woah. First I’ve heard of dioxus. Has anyone here tried it?
Lol not a great name choice. Wish I would have thought of it though.
I get why the binary is there, but there really should be a simple way to force compilation instead of downloading a precompiled binary.
Serde is incredible though, so it can get away with basically anything it wants.
Right? What’s with that? It’s like everyone gets their crate to the minimal working state and stops workings on it.
I started trying out JUCE. It’s a framework for making audio plugins (VSTs). Though I think I’m going to give the rust solution another shot with Vizia.
I decided to give up. Iced just isn’t a mature enough gui framework and the alternatives don’t look great either.
I restarted my plug in project using JUCE tonight and I already have the gui started. It’s c++, so that sucks, but oh well
Agreed. I also believe we should all stop showing up for work until we are guaranteed health care, a living wage, and reasonable housing prices. We shouldn’t contribute to system that works against us.
Everyone I know has to work multiple jobs and have roommates to be able to afford housing. What is this free time you speak of?
No. The divide between the rich and everyone else is growing. We will be able to afford less and less.
I think I pretty much agree. I think they would both be me just like me from yesterday and me from a week ago are the same me. They aren’t exactly the same, but they are both versions of me that my current self grew from.
What if the original wasn’t destroyed? Wouldn’t it be a clone then? Which one would feel like it was really you?
My last pair of vans lasted about 3 months. I only skated in them like 2 times too.
People don’t do much besides watch shows on streaming services these days. It’s the only way to relate to the audience.
It’s been Voyager for me.
“What do you mean scrambled eagle eggs are illegal?”
I deleted my 14 year old reddit account when they pulled their shit. Then I recently created a new account because I need to be able to get answers to specific programming questions sometimes, and lemmy doesn’t have the population of users that reddit still has. I generally post on both lemmy and reddit, but I almost always get more answers on reddit.