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

 



Forgot your password?
typodupeerror
×

Comment Re:Platform dictates language sometimes (Score 1) 198

Xbox? seriously, we need to use .NET everywhere because a Microsoft game console needs it?

Not everywhere, just everywhere in games. In the seventh console generation, Xbox Live Indie Games was the only way for indie developers to get a controller-oriented game in front of the public. The other consoles had no indie program to speak of, and PCs were usually on desks with monitors not big enough for two to four players to fit around.

Comment Re:Anti-JS sentiment (Score 1) 198

Then Douglas Crockford discovered that Javascript has good parts

I've been reading through that book, and I understand most of his . But on pages 112-113, he appears to despise the bitwise operators, because "In Javascript, [bitwise operators] are very far from the hardware and very slow. JavaScript is rarely used for doing bit manipulation. As a result, in JavaScript programs, it is more likely that & is a mistyped && operator. The presence of the bitwise operators reduces some of the language's redundancy, making it easier for bugs to hide." I read this as "emulators written in JavaScript ought not to exist". He also has something against continue, which I've used often to check preconditions for each element in an array.

Comment Partial updates; platform differences (Score 1) 198

Barring that, if the choice is between the badly designed language that slows down my computer by a decade and having more static HTML pages, I'll gladly take the static pages (and thus noscript is born).

So if you're collapsing a comment thread in a 200+ comment page, would you prefer to have to spend some of your data allowance on resending all 190 comments that aren't being collapsed? And if all applications that cannot be efficiently implemented as static HTML with link and form navigation ought to be native, how do you plan to use applications developed by someone who uses an operating system other than the one you use?

Comment Cents as integer (Score 1) 198

Most [non-CLR] languages have very little support for decimal data types, which is essential when making applications that deal with money.

Of course there's a money data type in Java. It's called multiplying all your dollar/euro/pound amounts by 100 and using int (or long for big B2B transactions over 10 million dollars or so) to count cents.

Lack of unicode support is rampant.

The native string type in Python 3 and Java is a UTF-16 Unicode. And PHP ships with libraries perfectly capable of UTF-8 Unicode.

Comment Anti-JS sentiment (Score 1) 198

I think you'll see the browser based languages such as Javascript finally crack this nut [of a cross-platform application environment].

Not from what I hear from some Slashdot users, who are opposed to the concept of JavaScript in general. They believe that HTML should be static and anything with "behavior" should be native. See previous anti-JavaScript sentiments by CastrTroy, epyT-R, and Anonymous Coward.

Comment Platform dictates language sometimes (Score 2) 198

Specially when there is no shortage of high quality languages and run-times to chose from that do not come with a loaded gun pointing at your forehead.

On some platforms there is in fact such a "shortage of high quality languages and run-times". Which other languages that you mention worked on Xbox 360 and Windows Phone 7 back when those were current? A few years ago, before Windows 8, Windows Phone 8, and Xbox One came out, people were demanding ports of phone apps to Windows Phone 7 and ports of games to Xbox 360. All XNA games for Xbox 360 and all third-party apps for Windows Phone 7 were required to use .NET.

Comment You can't use Python on a .NET-only device (Score 2) 198

Some devices require all third-party applications to be verifiably type-safe CIL compatible with the .NET Compact Framework. This means you won't be able to use IronPython because it and other DLR languages rely on Reflection.Emit, which was omitted from the Compact Framework. Nor will you be able to use CPython because standard C is not verifiably type-safe. Windows Phone 7 and Xbox 360 XNA come to mind as examples of such platforms.

Comment Re:Same question as I had more than a decade ago (Score 3, Informative) 198

Why do people want to take proprietary languages and libraries and use them on open source projects?

For two reasons. One is to run the proprietary software on the free platform, much as Steam games run on Valve's Debian-based Steam OS or other Windows desktop applications run in Wine. The other is to run free applications on an incumbent proprietary platform. With .NET in particular, there have been a couple widely used platforms that use the CLR as their only runtime environment, such as XNA on Xbox 360 and Windows Phone 7. The same is true of the Java platform, which all third-party applications for a J2ME phone were required to use.

Slashdot Top Deals

Without life, Biology itself would be impossible.

Working...