Generic code working with reference types can be shared, but passing structs for generic parameters forces JIT compiler to generate separate instances of generic methods or classes for each combination of structs. From…
That's a little bit too harsh. The solution is a no-brainer if you come from C#/Javaland, but if you don't... well, we get a nice illustration to the saying that "there are no stupid questions".
> The answer is not just "var" because you have now completely dismissed local variable immutability (something C# does not have) It is something that C# does have. It just doesn't allow immutable variables to be…
> Autocratic states ultimately can't work with democratic ones. Its unfair to expect one group to 'follow the rules' and another to go off willy-nilly when it serves them. Libya's "no fly" zone, Iraq, Kosovo,…
From the description, almost 90% of created tasks in this benchmark are tiny "leaf" tasks, which are quite likely to be optimized away completely. So it looks like the benchmark compares how well these compilers…
And who killed Paul Khlebnikov in 2004? He was a Putin-apologist and chief editor of Russia Forbes. Unfortunately, a lot of journalists die in Russia every year, and has been for the past quarter of century. Cherry…
"Why act like pointing out an obvious motive is the focus or even a main point of the report?" Because this motive is quoted in articles to link this crime to Putin. I certainly don't care about Lugovoi, Kovtun, their…
"Fourth, the causes espoused by Mr Litvinenko – such as the FSB’s alleged responsibility for the apartment bombings, the war in Chechnya, and alleged collusion between President Putin and other members of his…
No, it's mentioned in the article that their new IDE is just a frontend for R#.
And why would the US do such a thing? Denying poor crimeans who suffer under brutal Russian occupation these small pleasures of life...
There is no way to allocate objects of reference types on stack because references can easily outlive objects, leaving you with dangling references. And as I understand ByVal in VB.NET is redundant since it's the…
Huh, author even uses exceptions as a part of normal workflow, instead of checking if "previousVersions" list is empty before calling Min on it he instead catches InvalidOperationException. I don't want it to look like…
Videos of such experiments would be greatly appreciated.
It is one of those cases where you can actually leak memory with a GC. But at least Java gives (gave?) you a choice: to create a new string a use the current one, in .NET substring always returns a new string.
To author, please use "location.replace" instead of "location.hash". -avid pewpew player.
In what sense this introduction is alternative? It's just like every other intro that explains basic and easily understood things about the borrow checker, but doesn't go into details on how you actually live and work…
There is no need to drag shale gas into this. Ukraine is a big country, even if very poor (for now). The economic part of the association agreement was especially damaging to the economic relationship between Russia and…
Cui prodest?
They are like Dogar and Kazon. http://www.youtube.com/watch?v=NzvySzw_-O0&t=112
I think the poster means that c# has many functional features and F#, while being functional language at heart has lots of OO features integrated in it. PS And the linked question only describes the limitations of…
In the worst case scenario the time complexity of a hash table equals that of its bucket, which doesn't have to be a list. So the only advantage of the map over the unordered_map seems to be the ease of use, it only…
Only three rust benchmarks use unsafe code, in one of them it's virtually mandatory, and in another it's just one line. On a side note, rust compiler enforces naming conventions, which is kind of cute.
Bot google and facebook have very strong domestic competitors in Russia. So their withdrawal from the country would achieve exactly nothing.
https://github.com/stevebest/suicide/blob/master/suicide.md Here you are. Posted by a Russian citizen from a commit labeled "Privet, Roskomnadzor!" Such a rebel! Demonstrating the world unspeakable horrors of the…
If you happen to use cyrillic in your source code (for comments or even strings) and constantly switch between latin and cyrillic, then this actually happens with а "c" letter, because both latin and cyrillic "c" occupy…
Generic code working with reference types can be shared, but passing structs for generic parameters forces JIT compiler to generate separate instances of generic methods or classes for each combination of structs. From…
That's a little bit too harsh. The solution is a no-brainer if you come from C#/Javaland, but if you don't... well, we get a nice illustration to the saying that "there are no stupid questions".
> The answer is not just "var" because you have now completely dismissed local variable immutability (something C# does not have) It is something that C# does have. It just doesn't allow immutable variables to be…
> Autocratic states ultimately can't work with democratic ones. Its unfair to expect one group to 'follow the rules' and another to go off willy-nilly when it serves them. Libya's "no fly" zone, Iraq, Kosovo,…
From the description, almost 90% of created tasks in this benchmark are tiny "leaf" tasks, which are quite likely to be optimized away completely. So it looks like the benchmark compares how well these compilers…
And who killed Paul Khlebnikov in 2004? He was a Putin-apologist and chief editor of Russia Forbes. Unfortunately, a lot of journalists die in Russia every year, and has been for the past quarter of century. Cherry…
"Why act like pointing out an obvious motive is the focus or even a main point of the report?" Because this motive is quoted in articles to link this crime to Putin. I certainly don't care about Lugovoi, Kovtun, their…
"Fourth, the causes espoused by Mr Litvinenko – such as the FSB’s alleged responsibility for the apartment bombings, the war in Chechnya, and alleged collusion between President Putin and other members of his…
No, it's mentioned in the article that their new IDE is just a frontend for R#.
And why would the US do such a thing? Denying poor crimeans who suffer under brutal Russian occupation these small pleasures of life...
There is no way to allocate objects of reference types on stack because references can easily outlive objects, leaving you with dangling references. And as I understand ByVal in VB.NET is redundant since it's the…
Huh, author even uses exceptions as a part of normal workflow, instead of checking if "previousVersions" list is empty before calling Min on it he instead catches InvalidOperationException. I don't want it to look like…
Videos of such experiments would be greatly appreciated.
It is one of those cases where you can actually leak memory with a GC. But at least Java gives (gave?) you a choice: to create a new string a use the current one, in .NET substring always returns a new string.
To author, please use "location.replace" instead of "location.hash". -avid pewpew player.
In what sense this introduction is alternative? It's just like every other intro that explains basic and easily understood things about the borrow checker, but doesn't go into details on how you actually live and work…
There is no need to drag shale gas into this. Ukraine is a big country, even if very poor (for now). The economic part of the association agreement was especially damaging to the economic relationship between Russia and…
Cui prodest?
They are like Dogar and Kazon. http://www.youtube.com/watch?v=NzvySzw_-O0&t=112
I think the poster means that c# has many functional features and F#, while being functional language at heart has lots of OO features integrated in it. PS And the linked question only describes the limitations of…
In the worst case scenario the time complexity of a hash table equals that of its bucket, which doesn't have to be a list. So the only advantage of the map over the unordered_map seems to be the ease of use, it only…
Only three rust benchmarks use unsafe code, in one of them it's virtually mandatory, and in another it's just one line. On a side note, rust compiler enforces naming conventions, which is kind of cute.
Bot google and facebook have very strong domestic competitors in Russia. So their withdrawal from the country would achieve exactly nothing.
https://github.com/stevebest/suicide/blob/master/suicide.md Here you are. Posted by a Russian citizen from a commit labeled "Privet, Roskomnadzor!" Such a rebel! Demonstrating the world unspeakable horrors of the…
If you happen to use cyrillic in your source code (for comments or even strings) and constantly switch between latin and cyrillic, then this actually happens with а "c" letter, because both latin and cyrillic "c" occupy…