Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror
×

Comment Re:Cool. Next, fix the VM (Score 1) 330

New languages for the JVM are cool and all, but still no syntax fixes the problems inherent in the JVM. Mainly, the lack of generics.

Actually there are several improvements to the Gosu generics system that workaround JVM limitations.

In Java, when you use generics, the true type like MyClass is erased and it just becomes MyClass at run time. This called type erasure.

In Gosu, if you do the same thing, assuming MyClass is a Gosu type, the run time type is really MyClass. This is called reified generics.

(Note however that if the type is a Java type to start out with, like java.util.ArrayList, then the generic version ArrayList in Gosu follows the type erasure route as you'd imagine.)

But if you are playing in the Gosu world with Gosu types (for example, a Gosu class ), the language adds code that really does preserve generics even though the JVM doesn't natively think that way.

Comment Re:Gosu! (Score 1) 330

"But it IS a piece of Gosu!"

Don't worry: the language will probably be cancelled before it has a chance to really get going.

Anyway, that was my first thought too, then I wondered if it was an invitation to Oracle's lawyers...?

regarding the "chance to really get going", Gosu is already used by multi-billion dollar companies around the world already, for a bunch of years.

See a list of companies here: http://www.guidewire.com/our_customers

It's just that the language now available to a wider audience who want it, not just Guidewire Software customers.

Programming

Gosu Programming Language Released To Public 330

llamafirst writes "Guidewire Software released the Gosu programming language for public availability. Gosu is a general-purpose programming language built on top of the Java Virtual Machine (JVM). It is object-oriented, static typed, imperative, and 100% Java compatible (use/extend Java types, implement Java interfaces, compile to Java bytecode). It has type inference (very readable code yet static typing!), in-line functions that you can pass as objects (closures / lambda expressions / blocks), enhancements (inject methods + properties, even on Java types!), and simplified generics. Gosu is provided via the Apache License v2.0. The language itself is not yet open source, although that is planned for a future community release. You can read a complete introduction to the Gosu language, a comparison to other languages, and syntax differences from Java."

Submission + - Gosu programming language released to public today 3

llamafirst writes: Guidewire Software released the Gosu programming language today for public availability. Gosu is a general-purpose programming language built on top of the Java Virtual Machine (JVM). It is object-oriented, static typed, imperative, 100% Java compatible (use/extend Java types, implement Java interfaces, compile to Java bytecode), type inference (very readable code yet static typing!), in-line functions that you can pass as objects (closures / lambda expressions / blocks), enhancements (inject methods + properties, even on Java types!), simplified generics. Gosu has an extensible type system: type loaders dynamically inject types into the language and handle dynamic dispatch. Type loaders dynamically add types from XSDs so XML is easier, and same for consuming remote web services (SOAP WS-I). Guidewire Software's core business is big insurance software and includes Gosu in its products. So, Gosu is new to the public but billion-dollar companies worldwide use Gosu in production for critical systems right now. Gosu is provided via the Apache License v2.0. The language itself is not yet open source, although that is planned for a future community release. Read complete introduction to the Gosu language, compare to other langs, syntax diffs from Java.
Software

Word Processors — One Writer's Further Retreat 391

ch-dickinson writes "In 2003, I posted an essay ('Word Processors: One Writer's Retreat') here about my writing experience — professional and personal — that led to a novel draft in vi(m), and I outlined reasons I chose a simple non-WYSIWYG text editor rather than a more full-featured word processor. A few novels later, in 2010 now, I decided to try a text editor that predates even vi: ed. I'd run across ed about 20 years ago, working at a software company and vaguely recalled navigation of a text file meant mentally mapping such commands as +3 and -2: ed didn't click with me then. But writing a novel draft is mule work, one sentence after another, straight ahead — no navigating the text file. The writer must get the story down and my goal is 1,000 words a day, every day, until I'm done. I have an hour to 90 minutes for this. So when I returned after two decades, I was impressed with how efficiently ed generates plain text files." Read on for the author's brief account of why he looked a few decades back in the software universe to find the right tool for the job.

Comment Re:An article about the history of the OS (Score 1) 312

"could of used a screenshot or two of the historical operating systems."

What the fuck does "could of" mean?

Native speakers know that he really meant "it could have", which in verbal English becomes "coulda" or "could've", the latter of which sounds like what he typed.

There's no need to be mean about it. And certainly no need to score the parent post as "Score: 3 Insightful".

Comment Say Hebbo! to our alien friends (Score 1) 308

I can see it now... the ships land at the UN and... Alien: Greetings. We come in peace. UN: Where do you come from? Alien: A distant galaxy nearly 10 billion light years away. Our world has no crime, no disease, no wars; we value learning as the pinnacle of achievement. We have been waiting 2,000 of your years for the moment when Humanity is ready for contact. We feel the time is right. UN: Why are you here? Alien: We came to be baptized. Praise Jesus! or not...

I can see it now... the ships land at the UN and...

Alien: Greetings. We come in peace.

UN: Where do you come from?

Alien: A distant galaxy nearly 10 billion light years away.

UN: Why are you here?

Alien: To escape religious persecution! Most of our galaxy are ZYZYZYYZ-ists and we dont' feel safe to practice the Tarvu religion. We came to be baptized on the planet of our many-tentacled prophet. Praise Tarvu!

http://www.tarvu.com/

It's so easy to join!

Image

UK Teen Banned From US Over Obscene Obama Email Screenshot-sm 555

British teenager Luke Angel has been banned from the US for sending an email to the White House calling President Obama an obscenity. The 17-year-old says he was drunk when he sent the mail and doesn't understand what the big deal is. "I don't remember exactly what I wrote as I was drunk. But I think I called Barack Obama a p***k. It was silly -- the sort of thing you do when you're a teenager and have had a few," he said. The FBI contacted local police who in turn confronted Luke and let him know that the US Department of Homeland Security didn't think his email was funny. "The police came and took my picture and told me I was banned from America forever. I don't really care but my parents aren't very happy," Angel said.

Comment Re:Or even other goods (Score 1) 758

Suppose you buy an expensive piece of industrial equipment. Once you get it home, you open the box and an EULA falls out. It says you didn't buy the device, you licensed the ability to use it. It says you may not sell the device, or return it for a refund, it is yours now once and for all time. Further, you agree that you can't sue for any injury that happens, even if such an injury is a result of a defect in manufacturing.

How would that be any different? How would that be at all legal, based on existing contract law?

i'm not a lawyer, but i've been told that you can't sign away your rights to sue for negligence or dangerous products and things like that. so even if someone convinces you to sign, that clause isn't enforceable in the US, or so I've been told. for example, if you rent a parachute and it turns out that they stuffed your parachute with old rags and not a parachute by acident, your survivors can still sue even if you've signed a thing waving your rights.

if someone else knows more about the details about how this is handled in different jurisdictions, please speak up...

Businesses

Former HP CEO Selected As Oracle Co-President 133

theodp writes "Late on Monday, Oracle announced that ousted HP CEO Mark Hurd has joined the company as a co-president and a director. Hurd resigned from HP a month ago, after an investigation by the board into a personal relationship with a contractor turned up questionable expenses. Oracle CEO Larry Ellison, a personal friend of Hurd, criticized HP's board at the time, saying it was 'the worst personnel decision since the idiots on the Apple board fired Steve Jobs.' 'Mark did a brilliant job at HP and I expect he'll do even better at Oracle,' Ellison said in a statement Monday. 'There is no executive in the IT world with more relevant experience than Mark.' Stepping down to make room for Hurd was Charles E. Phillips Jr., who had some personal relationship issues of his own."
Security

Owning Virtual Worlds For Fun and Profit 82

Trailrunner7 writes "Threatpost has a guest column by security researcher Charlie Miller on the ways in which attackers can easily take advantage of vulnerabilities in virtual worlds and perhaps online games to get control of other players' characters and avatars and even cash out their real-world bank accounts. From the article: 'It turns out that Second Life uses QuickTime Player to process its multimedia. When I started looking into virtual world exploits, with the help of Dino Dai Zovi, there was a stack buffer overflow in QuickTime Player that had been discovered by Krystian Kloskowski but had not yet been patched. In Second Life it is possible to embed images and video onto objects. We embedded a vulnerable file onto a small pink cube and placed it onto a [tract] of land we owned. No matter where the cube was, if a victim walked onto the land and had multimedia enabled (recommended but not required), they would be exploited. The cube could be inside a building, hovering in the air, or even under the ground, and the result was the same.'"
Businesses

Brain Scans May Help Guide Career Choice 133

GisG writes "General aptitude tests and specific mental ability tests are important tools for vocational guidance. Researchers are now asking whether performance on such tests is based on differences in brain structure, and if so, can brain scans be helpful in choosing a career? In a first step, researchers writing in the open access journal BMC Research Notes have investigated how well eight tests used in vocational guidance correlate to gray matter in areas throughout the brain." The researcher's (provisional) paper is available as a PDF.

Slashdot Top Deals

"What man has done, man can aspire to do." -- Jerry Pournelle, about space flight

Working...