Want to read Slashdot from your mobile device? Point it at m.slashdot.org and keep reading!

 



Forgot your password?
typodupeerror

Comment Re:There is already a safe subset of C++ (Score 1) 74

Ish.

I would not trust C++ for safety-critical work as MISRA can only limit features, it can't add support for contracts.

There have been other dialects of C++ - Aspect-Oriented C++ and Feature-Oriented C++ being the two that I monitored closely. You can't really do either by using subsetting, regardless of mechanism.

IMHO, it might be easier to reverse the problem. Instead of having specific subsets for specific tasks, where you drill down to the subset you want, have specific subsets for specific mechanisms where you build up to the feature set you need.

Comment Re:Do it yourself (Score 1) 74

You oversimplify. I despise Rust, but it does address real problems. (I'm not sure how well, because I won't use it.) I'm thinking of thinks like deadlock, livelock, etc. As someone above pointed out, there are lots of applications that don't need to deal with that, and subsets can work for them. (The above poster worked in a domain where all memory could be pre-allocated.)

Rust felt like programming with one hand tied behind my back. So I dropped it. Only one reference to a given item it just too restrictive. Perhaps it is really Turing complete, but so is a Turing machine. But multi-threaded programs really do need a better approach. (My real beef with C++ (and C) though is their handling of unicode. So I'm currently experimenting with D [ https://dlang.org/ ], which seems pretty good for the current application (though honestly since it's I/O bound Python would be quite acceptable). )

User Journal

Journal Journal: Antiques being melted down 3

A restoration expert in Egypt has been arrested for stealing a 3,000 year old bracelet and selling it purely for the gold content, with the bracelet then melted down with other jewellery. Obviously, this sort of artefact CANNOT be replaced. Ever. And any and all scientific value it may have held has now been lost forever. It is almost certain that this is not the first such artefact destroyed.

Comment Re:CEO says his company's product is amazing (Score 1) 50

Yes, it's got a long way to go. Unfortunately, at least SOME of the changes are (currently) on an exponential growth curve, and people have very poor ability to project those. (And also at some point "limiting factors" will manifest, which aren't significant during the early part of the rise.)

There are quite plausible scenarios where we are still in the early part of the exponential growth curve. Nobody can prove whether this speculation is true or false, but we should be prepared in case it is true.

Comment Re:Related (especially the Alibaba story): (Score 1) 52

That kind of thing is something that centrally controlled economies are prone to. It's the mirror image is the problems experienced during the "Great Leap Forward". Market driven economies have different problems (monopolies, concentration of power in the hands of the greedy, etc.) . I'm not really sure which is inherently more deleterious. Perhaps it depends on details of implementation.

Comment Re:Really getting sick and tired (Score 1) 159

Unfortunately, the data isn't consistent. That's why they need to make corrections. The question is "Do the corrections make it more nearly accurate?", and that's really hard to demonstrate. When there's too much noise in the signal, it's really difficult to filter it out without losing the signal.

Comment Re:Not news in Canada (Score 1) 173

"diesel engines are known for being especially difficult to start in cold."

When I was in the Army in Korea in 1985/86 one of the duties on the duty roster was to start every vehicle in the motor pool every 4 hours and run it for half an hour to keep it warm. Nothing like getting up at 0200 on a Sunday morning to spend an hour in the motor pool.

Comment Re:Slow But Sure.... (Score 1) 94

I have a Polestar 2... about 4500lbs. My first factory set of tires lasted 30K miles, but got replaced because I got a lag bolt through one of the tires AND the rim right at actually 32K miles, and since it was about to go into winter in the Midwest I felt it safest to have matched wear across all four tires.

I now have over 70K miles on my car and while I'm looking at the tires thinking it might be time soon for some new tires it's more because again it's about to go into winter in the Midwest and I prefer to have good rubber when the snow falls. All-season performance tires, I do NOT drive like a granny and I have the performance software upgrade so I do occasionally enjoy doing the 4 second 0-60 launches for fun.

The weight difference issue is also super overblown. Note that while my car is around 4500lbs, a directly competing car at the same time with similar performance and overall practicality was the Audi RS5 Sportback (2022 model year) which has a listed weight of 4000lbs. So there's a 500lb difference but it's important too to note that car weights are listed as empty weights. 15 gallons of fuel weighs 90lbs, 8 quarts of oil add another 15lbs and so on. The difference in weight is pretty small when you look at directly competing ICE. Yes, there's definitely an issue of tire wear because of the power the cars put down, but I've driven powerful cars since long before I drove an EV and they are all in the 3.5-4.5 second range and had tire wear similar enough that I don't seriously believe it's a factor.

Slashdot Top Deals

!07/11 PDP a ni deppart m'I !pleH

Working...