@TheGodOfEnergy@dionisiodev If we were matching an enum with 20 cases, yes.
If I had to guess LLVM probably optimizes this into a single cmp instruction.
@TestPlace5@dionisiodev Match-statements are optimized by the compiler.
You probably know they’re more like a switch statement, but match-statements will usually either have a O(1) or O(log(N)) time complexity.
@jacobtechtavern The first launch could also be slow because of XprotectService, which performs an anti-malware binary scan of every Mach-O file loaded by the dynamic linker… I have a big project where the first launch can take up to 1 minute…
Lots of developers have a vague idea of what static and dynamic linking actually refers to, but they have a massive real-world impact on your launch speed.
Statically-linked executables are compiled into a single file, which is pretty fast for the OS to load at launch.
With dynamic linking, dyld (the dynamic linker) maps code into the app process at launch. This takes time, and scales linearly with the number of frameworks you have. Here’s a view from the Xcode Instruments Launch Profiler.
Dyld automatically caches dynamic frameworks for warm launches, but can be very slow (think 20ms per framework) the first time you ever launch it.
Read my full blog post to master dynamic and static linking 🗜️ blog.jacobstechtavern.com/p/static-dynam…
Orban gratulierte Magyar zum Wahlsieg, weil er eben ein überzeugter Demokrat ist und Ungarn aller Diffamierungen zum
Trotz eine funktionierende Demokratie. Frage: Werden die angeblichen „Demokraten der Mitte“ der AfD zum Wahlsieg gratulieren, wenn wir im September die absolute Mehrheit in Sachsen-Anhalt holen, oder werden sie alles tun, um die gewählte Regierung zu sabotieren und zu boykottieren?
@Frohnmaier_AfD In BaWü haben die Grünen die Wahl gewonnen. Von einer Abwahl (teil-)linker Politik kann somit nicht die Rede sein.
Aber Rechnen ist ja auch schwierig :[.
Bas und Klingbeil bleiben bei der SPD im Amt.
Strack-Zimmermann will FDP-Chefin werden.
Die CDU will in Baden-Württemberg mit den Grünen und in Rheinland-Pfalz mit der SPD regieren.
Links wurde abgewählt - und trotzdem geht linke Politik mit linkem Personal bei den Altparteien weiter.
Wir als AfD stehen bereit, allen Wählern eine neue Heimat zu bieten, die endlich keine linke Politik mehr wollen!
Achtung, Achtung, wichtige Durchsage: Die SPD wird keine, ich wiederhole: KEINE Reformen liefern. Die SPD hat inzwischen eine linksradikale Fraktion. Die SPD ist komplett REFORMUNFÄHIG. Die einzige "Reform", zu der die SPD fähig ist, sind Steuererhöhungen und mehr Schulden.
@queru_lant Joar. Nennt man Grundrechtsgarantien, die öffentliche Schulen als Grundrechtsgaranten auch aufrechterhalten müssen.
Da gibts nix zu empören.
„Liebe Eltern, ich muss mich wirklich entschuldigen…“
Aufgrund des Ramadans wird eine Mathearbeit in zwei dritten Klassen in Mittelhessen von den Lehrerinnen erneut verschoben.
@nafonsopt Well. If glibc is annoying you, I’ll hint at the trillion MSVC redistributable C runtimes that Microsoft didn’t even make backwards compatible. And maybe it’s worth looking at musl for static linkage.
For anybody saying "Just use Linux", you need to realise that Linux is worse than Windows.
Windows has all the bloat, and while you can have Linux without any of that you still don't have tools like Remedybg, RAD Debugger and Super Luminal. Once you have such tools, then Linux is a suitable app development environment.
But _it is still trash_ because of the whole Linux model of you needing to compile everything. The fact that you cannot run an app built using a newer version of glibc is an insane decision.
I shouldn't have to upgrade my whole machine in order to run something built on a newer version.
I shouldn't be worried that an upgrade will break my machine.
I shouldn't be forced to compile things from scratch to work on my machine.
I shouldn't be forced to install N packages, I just want self contained binaries I can just download and run.
I shouldn't be forced to develop with an old distro to have "max glibc compatibility".
I shouldn't have to worry about X11 / Wayland / Window Managers.
I shouldn't have to worry about asking the user to select a folder, display a dialog or show notifications.
Linux is such a huge waste of potential, if they got their shit together they would completely obliterate Windows. I first got into Linux in 2000, and even back then there was this "it will take over Windows any time now!". It's been _26 years_!
The same way I'd pay quite a lot for Windows without any bloat, I'd be willing to pay for a distro that gives me all this.
💥 Angriff auf die Demokratie: SPD will EU-Remigrationsbeschluss sabotieren!!!
Als rechte Fraktionen im EU-Parlament gemeinsam mit der EVP-Fraktion vor einigen Tagen einen Gesetzestext abstimmten, war das ein großer Sieg für das konservative Europa.
Die SPD fürchtet nun um ihre Pfründe – 50 Milliarden Euro pro Jahr verschlingt die #Asylindustrie – und will um jeden Preis die Verordnung verhindern:
„Es muss allen Beteiligten klar sein, dass die SPD alle Möglichkeiten nutzen wird, auf europäischer Ebene mit Mehrheit der Rechtsaußenfraktionen getroffene Beschlüsse so weit wie möglich zu verzögern und abzuschwächen, auch wenn eine grundsätzliche Pflicht zur Umsetzung besteht."
Die 5,5% Partei will den Willen der Mehrheit sabotieren!
#Remigration
Friedrich Merz sagt: Der Atomausstieg war ein strategischer Fehler – aber irreversibel. Übersetzt: Wir wissen, dass wir euch zerstören. Aber wir machen weiter. Fünfhundert Milliarden Euro vernichtet. Die höchsten Strompreise der Welt. Industrie auf der Flucht. Und kein einziger Politiker muss dafür jemals geradestehen. Nicht Merkel. Nicht Trittin. Nicht Habeck. Niemand. Das deutsche Strafrecht bestraft Sie für eine falsche Steuererklärung – obwohl der Staat das Steuerrecht bewusst so kompliziert macht, dass Sie es gar nicht verstehen können. Aber wenn Politiker fünfhundert Milliarden in die Zerstörung Ihrer Existenzgrundlage pumpen? Passiert nichts. Gar nichts. Das muss sich ändern. Deutschland braucht die Politiker-Haftung. #AchtungReichelt
@Frohnmaier_AfD Juuuunge bist du stupid, du ersäufst ja echt im Nationalismus. Wie kann man die offensichtlichen Zusammenhänge so willentlich und wissentlich wegreden?
Strack Zimmermann von der FDP erklärt, die wichtigste Aufgabe Deutschlands sei die Ukraine. Roderich Kiesewetter von der CDU sagt, die Ukraine müsse Priorität haben.
Warum ist für CDU und FDP ein fremdes Land die Priorität?
Das ist der Unterschied der Schein-Konservativen zur AfD. Für mich als AfD-Politiker ist klar: Deutschland und die Interessen der Deutschen haben stets die oberste Priorität zu sein!
Codex is making progress on the macOS port of Animal Crossing. It's building and launching, and then crashing. But full autonomy for like 2 hours already.
@kripp_m Hab ich vergessen: Für Menschen, deren Hauptinformationsquelle BILD, NIUS und die Kanäle der AfD sind: Hier der obligatorische Emoji-Scheiß: 👍👍👍👍👍💙💙💙💙💙❗️❗️❗️.
@kripp_m Ja. Wo ist das Problem? Senkst du die Diäten, kannste vielleicht 50 Rentnern zusätzlich Rente bezahlen. Das ist so eine verschwindend geringe Summe, dass es wahrscheinlich vom Verwaltungsaufwand schon teurer wäre.