I believe there are some differences between what .NET does and what mainstream Java does. For instance, objects can be stack allocated even if they can't be turned into collections of scalars. This allows the JIT to stack allocate small known-sized arrays.
I wish someone would setup neighborhood geothermal heat pumps as a heating utility or coop model. It's so expensive for everyone to bore into the ground for this.
Modern new builds of housing do this, at least in some countries. At that stage you can not bother installing gas pipes and come out financially ahead.
Though air source are getting so good that places that require ground source are getting smaller.
Similar situation here, but in Finland. I use 14 MWh of /electricity/ each year (medium-sized house, three-person household). That excludes the firewood that we use for heating the sauna, and to keep the house warm during winter, when the cold is too much for the heat pumps to manage. Oh, and travel.
In order to reach the goal in the article, a three-person household would need to restrict energy use to 52560 KWh/year, /including/ all those things AND the production of everything that household consumes.
I can't see how it's even remotely possible with today's technology and societal climate. That being said, there's no harm in researching and developing more efficient technologies. I don't even want to think about how bad the energy crisis would be if we were all still using 60w/40w lightbulbs.
In the US in 2020, decommissioned nuclear generating capacity was replaced by six times as much wind and solar capacity. That only accounts for grid-scale capacity, not commercial projects like rooftop systems on large warehouses, or residential systems.
That tells you all you need to know. The people who make money off selling electricity are buying wind and solar.
Attention is focused on grid infrastructure improvements like HVDC, and battery storage systems. Battery systems are even being deployed privately; for example, it's a lot easier to locate an EV DC fast charging station if it sucks down a continuous ~20kW to charge its own power reservoir, than if it needs 300-400kW to directly charge two EVs at full speed.
I skimmed the summary of that UCS report and it seems very thorough and balanced. I would be interested in a rebuttal if an effective one is possible.
I was especially encouraged to see that they didn't advocate the complete dismantling of nuclear, only focusing efforts on improving proven light water reactor designs.
Monthly averages vary between 20% and 45% in the USA. As the most windy sites are built on first, these numbers could fall in deep decarbonization plans that rely on building in areas that have less wind.
I have also written some shellscripts in java (i did not smoke anything). If startuptime would be an issue (normally it is not) i would just use graal-vm to compile it. Just do this: "native-image script"
Java is faster in almost any way (compared to C#). Do you have benchmarks showing i am wrong ?
It also has multiple AOT compilers and a much larger eco-system.
C# can be faster due to exposing lower level constructs. But for complex applications/not-heavily-optimized code, the JVM will likely perform better, eg. in GC throughput definitely.
There is an interesting issue on benchmarkgame’s repo, where C# is ahead a bit using a clever trick. It basically halves the required allocations. And Java is insanely close with double the allocations.
You did not give me a link to something saying that C# is faster (it is still not). Choosing C# only is only good if vendor lockdown is something you like (or benefit from).
I have been involved in a project where C#-developers where involved (MS lockdown). The funders asked me if i could take care of the project (rewrite it in java). C# is complete garbage.
I am as much of a Java fanboy as it gets, but football team level love-hate of languages is stupid. Also, this benchmark is not necessarily applicable to reL world programs.
The CLR provides some access to low level primitives, while the JVM rather hides them. The first choice allows for more optimization by the developer, but that will be explicit and will potentially disallow some automatic ones.
Java on the other hand hides most of these details and depends on a very advanced JIT compiler for most optimizations (like escape analysis), in which way even a decade old program will get magically faster. Of course it is only a crude difference between them, with Java getting primitive types, and CLR continuously improving in JIT and GC.
I didn’t know that those results were removed, but nonetheless, at the time with double the allocation Java was insanely close to the “cheating” C# program.
How do you connect a big harddrive with all your music (in flac) to phone ? A phone would require some kind of service (not free) for streaming the songs. I prefer to have everything on my harddrive (i do not like to lose audio when the network is down).