Runtime binding only occurs for Objective-C interop. Swift functions are bound at compile time when statically known. Dynamic dispatch is done through vtables for native Swift classes, and through witness tables for…
Yes, it has a borrow checker.
> "Democracy" is when "bad actors" (as defined by the establishment) are shut out of all online discourse. The point of ID laws is not to stop "bots" or "sockpuppets", it's to enable governments to shut down the speech…
>[1] https://github.com/swiftlang/swift-evolution/blob/main/propo... -- apologies to the authors, but even as a previous C++ guy, my brain twisted at that. Inside Swift is a slim language waiting to get out... and that…
Malicious compliance? The EU DMA says they have to allow third party browser engines access to the same resources (the JIT) that Safari has. It specifically allows them to place reasonable requirements on those third…
Replying to your other comment. > You are claiming that static code analysis tools extensively used in C++ cannot detect all conceivable and hypothetical memory issues. The weasel words in here is that it is possible to…
This is not a very good example, because this Rust code is a thin wrapper around pthread_mutex, which is an unsafe API that can cause undefined behavior (such as use after free) if used incorrectly. The Rust code in…
> mainstream compilers provide support to detect and throw warnings/errors for some of these issues You cannot detect all of these issues with static analysis. Rust does it by requiring the programmer to annotate…
You can hammer an applications programming language to do systems things, but it will never be a good experience nor have optimal performance.
Java does not provide performance comparable to C/C++.
CMake support started as a community project but was adopted officially by Apple after they started adopting some Swift in the compiler codebase – an extremely large and complex CMake project – so the support is…
Comments like this are the clearest sign that this topic has become so politicized that rational judgement is out the window. If fluoride in the water is opposed by *those people*, or is supported by *those people*,…
I'm not sure why you would think they are climate deniers. The odds are that they are exactly the opposite. Having been around far left activist groups in my past, there are many who think that doing things like this on…
https://meduza.io/amp/en/news/2023/02/17/close-to-15k-russia... An investigation via open sources by the BBC and Meduza (an anti-Putin media outlet based in Latvia) has confirmed the deaths of about 15k Russian soldiers…
[flagged]
They don't have to occupy the whole of Ukraine to do that, they only have to defeat Ukraine's military and destroy NATO's materiel on the battlefield. If they intended to occupy the entire country they would need…
The Russians have shown that they don't care about holding territory in the short term, see Kherson withdrawal, etc. They are only focused on attrition and minimizing their own casualties. If Ukraine goes into…
Gasoline is not in itself an incendiary bomb, it has a specific meaning: — it burns for a long time - it resists suppression https://en.m.wikipedia.org/wiki/Incendiary_device If you want gasoline to meet the definition…
This logic didn't stop them from running a fake vaccination program in Pakistan to try to find Osama. It directly led to a significant rise in vaccine refusal in the region.…
This is a selection bias toward Covid patients who had to be hospitalized. Most Covid cases are mild and patients recover at home. The “extent of what you have to deal with” varies considerably.
> Borrowed from Yiddish שטום (shtum, “mute, dumb, voiceless”), from Middle High German stum, from Old High German stum. Cognate with German stumm, Dutch stom, Swedish stum. [1] [1]…
How the laptop was "obtained" is actually a separate story from the content of the laptop, if the content is real. Given that the content HAS been verified as real, then bringing up the circumstances of how the laptop…
This is wrong and a total mischaracterization. It *was* an opinion piece that they blocked: From Greenwald's resignation blog post [1]: > The latest and perhaps most egregious example is an *opinion column* I wrote this…
callAsFunction() isn't really intended to be used in a type like Dice there. It's a bad example. It's for Swift for TensorFlow's integration with Python, in which a bridged Python object can be called as a function.…
While I sympathize with your political position on free software, I have come to the unfortunate conclusion that this point of view is idealistic[1] and short sighted. The vast majority of engineers don’t commit to…
Runtime binding only occurs for Objective-C interop. Swift functions are bound at compile time when statically known. Dynamic dispatch is done through vtables for native Swift classes, and through witness tables for…
Yes, it has a borrow checker.
> "Democracy" is when "bad actors" (as defined by the establishment) are shut out of all online discourse. The point of ID laws is not to stop "bots" or "sockpuppets", it's to enable governments to shut down the speech…
>[1] https://github.com/swiftlang/swift-evolution/blob/main/propo... -- apologies to the authors, but even as a previous C++ guy, my brain twisted at that. Inside Swift is a slim language waiting to get out... and that…
Malicious compliance? The EU DMA says they have to allow third party browser engines access to the same resources (the JIT) that Safari has. It specifically allows them to place reasonable requirements on those third…
Replying to your other comment. > You are claiming that static code analysis tools extensively used in C++ cannot detect all conceivable and hypothetical memory issues. The weasel words in here is that it is possible to…
This is not a very good example, because this Rust code is a thin wrapper around pthread_mutex, which is an unsafe API that can cause undefined behavior (such as use after free) if used incorrectly. The Rust code in…
> mainstream compilers provide support to detect and throw warnings/errors for some of these issues You cannot detect all of these issues with static analysis. Rust does it by requiring the programmer to annotate…
You can hammer an applications programming language to do systems things, but it will never be a good experience nor have optimal performance.
Java does not provide performance comparable to C/C++.
CMake support started as a community project but was adopted officially by Apple after they started adopting some Swift in the compiler codebase – an extremely large and complex CMake project – so the support is…
Comments like this are the clearest sign that this topic has become so politicized that rational judgement is out the window. If fluoride in the water is opposed by *those people*, or is supported by *those people*,…
I'm not sure why you would think they are climate deniers. The odds are that they are exactly the opposite. Having been around far left activist groups in my past, there are many who think that doing things like this on…
https://meduza.io/amp/en/news/2023/02/17/close-to-15k-russia... An investigation via open sources by the BBC and Meduza (an anti-Putin media outlet based in Latvia) has confirmed the deaths of about 15k Russian soldiers…
[flagged]
They don't have to occupy the whole of Ukraine to do that, they only have to defeat Ukraine's military and destroy NATO's materiel on the battlefield. If they intended to occupy the entire country they would need…
The Russians have shown that they don't care about holding territory in the short term, see Kherson withdrawal, etc. They are only focused on attrition and minimizing their own casualties. If Ukraine goes into…
Gasoline is not in itself an incendiary bomb, it has a specific meaning: — it burns for a long time - it resists suppression https://en.m.wikipedia.org/wiki/Incendiary_device If you want gasoline to meet the definition…
This logic didn't stop them from running a fake vaccination program in Pakistan to try to find Osama. It directly led to a significant rise in vaccine refusal in the region.…
This is a selection bias toward Covid patients who had to be hospitalized. Most Covid cases are mild and patients recover at home. The “extent of what you have to deal with” varies considerably.
> Borrowed from Yiddish שטום (shtum, “mute, dumb, voiceless”), from Middle High German stum, from Old High German stum. Cognate with German stumm, Dutch stom, Swedish stum. [1] [1]…
How the laptop was "obtained" is actually a separate story from the content of the laptop, if the content is real. Given that the content HAS been verified as real, then bringing up the circumstances of how the laptop…
This is wrong and a total mischaracterization. It *was* an opinion piece that they blocked: From Greenwald's resignation blog post [1]: > The latest and perhaps most egregious example is an *opinion column* I wrote this…
callAsFunction() isn't really intended to be used in a type like Dice there. It's a bad example. It's for Swift for TensorFlow's integration with Python, in which a bridged Python object can be called as a function.…
While I sympathize with your political position on free software, I have come to the unfortunate conclusion that this point of view is idealistic[1] and short sighted. The vast majority of engineers don’t commit to…