Become a fan of Slashdot on Facebook

 



Forgot your password?
typodupeerror
×

Comment Re:Comparison PHP - Java (Score 1) 120

In my experience, in a modern server PHP uses more CPU than Java. You might be right about slow machines though. I don't understand why you make such a big deal about servlets vs jsp, as jsp is just a technology to ease the construction of servlets (every jsp gets converted into a servlet)... And I don't agree you can't compare PHP to Java, they try to serve the same purpose.

Comment Amazingly we should side with... Microsoft! (Score 4, Interesting) 222

The standard desktop is better than Google desktop. Yes, everybody says, to put Google in a good light: "standard compliant" browsers, but that means nonstandard compliant mail, nonstandard everything else. We won't own software, we'll be always customers, dumb terminals, served from huge company's "clouds". Free software will be over, irrelevant. We won't be able to improve and modify our environment, we can't improve Gmail ourselves, there's no alternative/better/innnovative client for Gmail.

Economic forces are taking technology down a terrible path. The past is better: a world of protocols, servers and clients. A common neutral space...

The "portable" desktop, having your data everywhere should be solved by other means... I don't know, perhaps we should have personal servers, or at least we should contract personal servers from some kind of "personal server providers", which should be a standard and non-monopolistic thing. The "presence providers" envisioned by the XMPP protocol comes to mind...

Comment Re:Forgive my ignorance WAS:re: Garbage collector? (Score 1) 587

There's no need. There are no segementation faults in Java. There's no way you can access memory you don't own. And then, any error just provokes an exception, which can be catched.

You are right that Java model help with the need of having finer-grain-than-a-process security. It's partly because it was made for applets. Java supports running safely completely untrusted code.

And your objection to "virtualness" can be replied with an analogy of C vs assembly language. In Java you loose control, but the VM gains control to optimize... just as in C, gcc usually knows more about how to optimize. And speed-wise Java is very good, is at most 2x slower than pure C (I think it's even faster), which is a great thing actually.

Comment Re:Forgive my ignorance WAS:re: Garbage collector? (Score 1) 587

Java "machine code" targets an abstract CPU which can handle "objects", "methods". You can disassemble compiled Java code and you see "invokevirtual" which means "invoke a virtual method on an object".

Then, an object in Java is a fundamental thing, there's no way to "decompose" it. There no way of getting its memory image. This has some nice properties:

  • The vm can reorder object fields to play nice with machine's alignment.
  • Security, you only can access the objects you have been given to. There's no pointer arithmetic. At all.
  • All objects know who they are, there are no undetected wrong casts (similar to the newer dynamic casts C++ now have)

Comment Re:There are certain things capitalism can't produ (Score 1) 562

What I say is it wasn't created for profit, it was created very far from the market. There were no MBAs involved, no managers. It was a community puting out software and RFCs. The corporate world, at that moment was busy creating zillions of incompatible little LANs, onthe low end, or a monstruosity (the ISO/OSI model... X.25) on the high end.

Comment There are certain things capitalism can't produce (Score 5, Interesting) 562

Capitalism can't produce common goods. Internet would've never had existed if it weren't for the US government. It was created in an academic environment, by passionate people that cared about the advance of technolog (indirectly: of mankind). Internet advanced quickly, different protocols appeared, once replacing the other (Gopher, SMTP, HTTP, POP, IMAP, NNTP, etc.).

Then the companies came. Those set of protocols froze, some began to fade. Companies didn't care about "what's right". They didn't care about advance the network. The HTTP/1.0 -> 1.1 transition took years, and still hasn't finished (e.g. http pipelining). IMAP mail stalled, and got replaced by webmail. Multicast was never deployed at large. Newsgroups got replaced by phpbb.

These companies hate Internet. If they praise it, it's only when they realize they can't afford to ignore it (or destroy it).

Comment Re:Bolivia's new future (Score 1) 291

You certainly don't sound like you know. Saying "trust me, it was my minor" is not very interesring or useful... The US has a history of messing with LA, an History other countries don't have. Nnot only private companies, but the CIA itself had participated in many LA tragedies. Go read a bit about this, very interesting.

Slashdot Top Deals

Anyone can make an omelet with eggs. The trick is to make one with none.

Working...