Slashdot is powered by your submissions, so send in your scoop

 



Forgot your password?
typodupeerror
×

Comment Re:"without garbage collection" (Score 1) 211

Everyone who is responded to me has done so as if I said that Garbage Collection is always bad. Of course it's not. Languages such as Python are great places for GC, as is Javascript, and Java, when it's used at the application level.

It's just a very bad idea for systems programming.

Comment Re:"without garbage collection" (Score 1) 211

I think they will open source Swift. But I doubt it'll get much use outside of iOS and OSX programming. So many of the implementation decisions are about being compatible with Objective-C and the Apple frameworks. It *could* be used for other things, but I think the bias there will be enough to keep others away.

Comment Re:"without garbage collection" (Score 1) 211

But as time went on, the total percentage that the computational overhead took up dropped to less than 1% because the hardware got faster.

Which is exactly the same thing as I said. Java's shortfalls were mitigated by hardware upgrades, not by actually fixing it. It can't be fixed. Whilst the GC stalls can be comped with for higher level software, it's a showstopper for lots of systems level programming.

Comment Re:"without garbage collection" (Score 1) 211

The first is that your claim about Android underperforming iOS doesn't seem to have any merit. I have a Lollipop device here and it's as smooth as any iPhone I've ever used.

I nearly went into this with my post, but decided it was better to make a simple clear point without dealing with the obvious avenues for counter-argument in advance.

Android got smooth by throwing hardware at it. The reason for a while Androiders were bragging that their phones had more cores or higher clock speeds was that Android needed it.

Then there was the NDK, whose justification was explicitly things for which Java and Garbage Collection were unsuitable.

I don't know anyone who thinks C++ isn't a systems language. For the simple reason that C++ is C when you want it to be. Such people may exist, on the internet there are all views represented. But they don't know what they are talking about if so.

And I don't really care who's behind the language. And I certainly wouldn't any extra weight to an idea just because some people at Google think it.

Comment Re:"without garbage collection" (Score 4, Interesting) 211

You must be a Java programmer. Garbage collection is generally a very bad idea for a systems language, because of the periodic stalls whilst it does the cleanup. Especially if it's shunting blocks around memory to defragment. It's one of the big reasons why Android underperforms iOS, why it's never been so smooth in operation. And the only thing a developer can do about it is switch to a different language or develop for a more powerful machine.

Memory fragmentation can be a problem - but the success of C and C++ in most domains over the decades has shown it's just one more aspect a programmer has to deal with, it's not a showstopper. It's fixable, on the same machine, with the same language.

Comment Re:This validates the US policy... (Score 1) 737

I'm pretty much as feminist as a man can be. But that doesn't extend to pretending that the majority of men are not stronger than the majority of women. If your feminism enables you to believe something that is contrary to scientific fact, then you have a problem.

And no, I don't believe in arming anyone. Least of all on a plane.

Comment Re:They fear making the wrong choice (Score 0) 269

And I'm sure you'd like them to get off your lawn too.

Generally speaking when people think young people have changed, what they're not realising is they themselves have changed. Young people aren't different, and neither are older people. You've just moved from one set to the other, and so your outlook on others has changed.

Slashdot Top Deals

In computing, the mean time to failure keeps getting shorter.

Working...