I'd return a non-zero value so they know it's their fault ^^
abrahambelch
In my personal opinion: Yes. Wine is great and all, but in the end it's an emulation layer that - in the worst case - requires a lot of tweaking. I personally wouldn't want to spend that time so a VM sounds like a good option. But again, depending on the context (e.g. limited hardware resources or the amount of time available) you might be totally fine with Wine.
Do you still remember the name of the Johto rom hack made in the Gen 3 engine? I'd love to give it a try!
Shit gets weird when the guy in 418 opens and claims to be a tea pot...
You're right. Also the other way around the new Kotlin frameworks needed can't easily be used in a Java codebase. I mean on bytecode level they're compatible but it's basically impossible in practice
That makes sense, thanks again! I think dynamic dispatch is not as much of a performance issue in my case, yet you're totally right not to waste resources that aren't actually needed. Keeping things on the stack if possible is also a good thing.
I'll definitely need to read more about Rusts type system but your explanation was already very helpful! I think this might be why my initial approach felt unnatural - it works but is quite cumbersome and with generics there seems to be a more elegant approach.
Thanks for your input! I'll have a look at both build flags and macros for sure! For my specific problem enums will do just fine I guess, but having an overview about the possibilities helps a lot!
Thanks for your reply!
Thanks for the advice! I didn't know generic functions were preferred. But it makes perfect sense if you think about it.
Thanks for the explanation! I think just using an enum will do perfectly well in my case.
I'm able to speak German (native speaker) and English (fluent).
Also, as a German speaker, I'd like to correct the question in the post:
Formal would be "Welche Sprachen sprechen Sie?".
More fitting for a casual environment (such as Lemmy) would be "Welche Sprachen sprecht Ihr?" though :)
This is, because in German there are formal and informal ways of addressing people, both with their distinctive pronouns. Usually, when talking to people you don't know personally, you'll address them formally and then, when offered to, switch to the informal style once you know them. Online or among the younger generation it is much more common to just use the informal case though.
That's what I wanted to say as well! Most AI stuff in software development is bullshit, but full line completion is actually so useful!