Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror
×

Comment Re:Who wears a watch these days (Score 5, Insightful) 290

8. pour water in cup.
9. pour in the tiniest drop of milk
10. extract tea bag.

You're not an Englishman, you're an animal.

Those steps should read:
pour water in cup.
wait for 4 minutes.
extract tea bag.
add milk.

Only an animal lets the milk and the teabag meet. And an Englishman lets the tea brew. What you have there is slightly milky water with a bit of brown dye in it.

Comment Re:Easy grammar (Score 1) 626

Right. So why didn't we stop with Fortran and COBOL when it comes to computer languages? Because there are new uses for languages, and new ideas for how to do them better and for some people it's fun.

After more than 100 years, I think we could do a lot with a new human language that wasn't done in Esperanto. We know more than we did then, and computers can help us to analyse and optimise.

e.g. What are the common phonemes in existing languages. How frequent are words? Use short easy to say words for common uses, and longer more difficult words for less frequent uses. etc.

Comment Re:Bring on the discussion of fair sentencing... (Score 1) 230

They really did mean well practiced much as a clock of the time would be called 'well regulated' if it kept accurate time.

Humpty Dumpty said, in rather a scornful tone, 'it means just what I choose it to mean â" neither more nor less.'

Well regulated does not mean "like a clock", as if "like a clock" would mean anything at all in terms of a militia. Well regulated means regulations and regulators. Just like any army, full or part time, amateur or professional.

Libertarians hate what the constitution actually says. They make up their own nonsense interpretations.

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.

Slashdot Top Deals

He has not acquired a fortune; the fortune has acquired him. -- Bion

Working...