- > Is it? You just add "restrict" where needed?
Yes. That is the main solution and it is not a good one.
1- `restrict` need to be used carefully. Putting it everywhere in large codebase can lead to pretty tricky bugs if aliasing does occurs under the hood.
1- Restrict is not an official keyword in C++. C++ always has refused to standardize it because it plays terribly with almost any object model.
- Aliasing is no joke and currently the only reason why some arithmetic intensive code-bases still prefer Fortran even nowadays.
While it is possible to remove most aliasing performance issues in a C or C++ codebase, it is a pain to do it properly.
- The legend says that after few generations, the bears developped a taste for high quality pasta.
They also refuse to eat in the trash bins of anybody that drink Cappuccino after 01:00pm in a sign of integration.
- That's a very partial view of the story. Over-regulation does not help but it is very far from the only element:
- Funding for startup in Europe is spare. There is nothing similar to the USA's VC culture here.
- Market is naturally more fragmented due to language barrier.
- Talent pool is spreader over multiple countries. We do not have any equivalent to the valley here.
- There was (up to now) 0 protectionism that would give a competitive advantage on EU soil to a EU company in front of an American giant.
- Matt Godbolt is an absolute gem for the C & C++ community.
Many thanks to him for that.
Between that and compiler explorer, it is fair to say he made the world a better place for many of us, developers.
- > or is he indeed faking it ?
On a domain side to nerdery: video games. There is zero doubt he is faking it entirely.
The streams he publishes on game like PoE or Elden Ring, have been long commented on online boards
https://www.reddit.com/r/EnoughMuskSpam/comments/1hwe0id/elo...
And honestly, I can understand it entirely.
He has a public image of "geek/need hero" that is honestly inspiring. And that benefits him a lot because it bring people to trust his decisions. He has all the interest of the world to maintain this image.
- Yes. As far as business is concerned, facts speaks for themselves.
But that has nothing to do with the valley chips and computer nerdery
- As far as physics is concerned (his initial background), he definitively is knowledgeable for a CEO yes.
- > Elon Musk must be one
Spoiler: He is not. But he is very good at faking it.
Anytime he tries to give a serious opinion on anything related to computers: It is laughably bad and out of touch (SQL, compilers, languages, performance, etc... ).
He definitively has a scientific background but definitively not "Tech" as far as computer are concerned.
- > It is about fundamentally changing how you think about software.
> I'm not sure what they expect, but to me Zig looks very much like C
Yes. I think people should sincerely stop with this kind of wording.
That makes Zig looks like some kind of cult.
Technically speaking, Zig democratized the concept of imperative compile time meta-programming (which is an excellent thing).
For everything else, this is mainly reuse and cherry pick from other languages.
- This is honestly a pretty terrible advise.
Silos have very concrete negative consequences:
- In large structures, you indubitably finishes with 4 teams doing the exact same thing in parallel and ignoring each other because communication did not pass through
- Managers who tend to do that tend to concentrate all communications through them. This is disastrous for multiple reasons:
- On long term, isolated teams indubitably loose touch with the current mission of the organization precisely because they can not see the big picture Most people I have seen following this ill practice are some maniac micro-managers that finishes burn out after few years when they do not make their entire team burn out.- It creates communication bottleneck through them and slow down the entire organization - "Filtered" information tend to have reduced technical quality that lead to wrong technical decision - Soon or later, a dubious mid manager somewhere will leverage that to make his team follow *his* agenda and not the one of the company.The initial 'problem' that silos try to solve is the fact many-many communication in large organization does not scale.
And there is absolutely no need to create 'Silos' or similar non-sense to solve that.
Creating a structure where people can peer-to-peer talk freely coupled with some more broad communication nodes (All hands, Retro, etc ...) is way more productive than any silo bullshit and way less toxic as a work environment.
- Question: Since when a random Union is representative of the political opinions of an entire profession ?
Spoiler: They never are.
Specially in France.
Even CGT, the biggest union in the country is currently a perfect good example of that.
CGT is loud. They are often extreme in there political opinions, regularly promoting extreme left ideology, some group historically had even close ties with the communists.... And they represent statistically nobody.
They represent less than 10% of people in France because this is currently the percentage of the unionized worker in the country.
- > It's also worth noting that members of the second system
Nope. This picture was found in the office of an Union related to "magistrats".
Magistrats is a broad term that also include Procureurs, Judges but also some Lawyers.
The union is not specifically associated to the position of "Juge d'instruction" by any means.
But yes, generally speaking Politicians do not like Magistrats and Magistrats do not like politicians in France. And honestly, it is more healthy like that.
- > So you could be certain that such a high-profile case was not done without the go-ahead of the executive. In that sense, it can be considered politically motivated.
Not really. It is more complex than that.
There is two systems within the system for the "penal" (judiciary) in France:
- Le parquet, with a "procureur" who indirectly under the influence of the executive power.
- The "Juge d'Instruction". They are independent judges called only for complex affairs that are in charge of proof gathering and with more or less free hands.
Sarkozy affairs landed in the second system.
Politicans tend to hate the second systems for obvious reasons.
It is worth to notice that Sarkozy himself tried to reform the system and remove the "Juge d'instruction" entirely but ultimately failed.
- > Couldn't he setup some crypto fund instead? Or investment in ballroom? Or simply just receive present, let say plane, instead of money? Would that help him in this case?
An other French politician, Francois Fillon, tried that with bribes as gift including some luxury Suits. In addition of some public money redirection to his own family.
And it did not play well for him either.
https://en.wikipedia.org/wiki/Fillon_affair
Ironically, he was Sarkozy's Prime Minster.
The party that they both come from (The republicans, previously UMP, previously RPR) has a long history of financial abuses and associated judgements.
The only "new" thing here is that it explicitly condemned a previous President.
- In short, yes.
Additionally budget for political campaigns are strictly regulated in France. And getting bribes from foreign dictator is, of course, not allowed.
The reason he did not get condemned also for that is that the judge could not proove the usage of the money.
- > Apologies, the 2029 figure was the annual install amount. Total estimated installed amount is 400 GWh. Solar Power Europe says "780 GWh by 2030 to fully support the transition".
It is still nowhere enough. It is barely the capacity to support few hours of consumption of the European grid.
Most of the solar production will go wasted.
That means that the price of the solar production will tank and go negative during most of the spring-summer period.
And that is terrible as far as ROI on the production systems are concerned.
- Solar capacity is over 400GW now in Europe and projected to be over 700GW in Europe in 2028.
So, considering that. The battery storage estimate you give is still one order of magnitude under of what would be needed. Even considering the optimistic numbers.
- Not everybody seems to think so when I see the number of downvotes on this post.
Sadly, any criticism on renewables, even constructive, is often straight downvoted without any comments nor justifications on Hackernews.
If I tend to agree with the general message of the post, this specific point does not make any sense.
The LGPL and the GPL are 100% American products. They are originally issued from the the American Academic world with the explicit goal of twisting the arm of the (American) copyright system for ideological reasons.
That has zero relation to any European legalism.