4 ms·
Not sure about the characteristics of your workload, but here's a talk where a group wrote device drivers in several high-level languages, and measured their pe
by smasher164 4y ago
Not sure about the characteristics of your workload, but here's a talk where a group wrote device drivers in several high-level languages, and measured their performance: https://media.ccc.de/v/35c3-9670-safe_and_secure_drivers_in_high-level_languages#t=2176 https://media.ccc.de/v/35c3-9670-safe_and_secure_drivers_in_...
They found that the Swift version spent 76% of the time doing reference counting, even slower than Go, which spent 0.5% in the garbage collector.
- bitcharmer 4y agoYeah, GP has no idea what they are talking about. They replied something similar on another thread without ever providing evidence for their claims. They even claimed their RC implementation in Haskell is faster than hand-crafted C++. Gave me a chuckle.
- mbrodersen 4y agoAnd your reply game me a chuckle :) The code is unfortunately not open source so I can’t provide the evidence. You believe what you want to believe of course. However I am happy to answer any questions on how it is implemented down to the lowest-level nitty gritty details.
- deterministic 4y agoAll that tells me is that the Swift implementation is different from the one I implemented.