Follow Slashdot stories on Twitter


Forgot your password?

Slashdot videos: Now with more Slashdot!

  • View

  • Discuss

  • Share

We've improved Slashdot's video section; now you can view our video interviews, product close-ups and site visits with all the usual Slashdot options to comment, share, etc. No more walled garden! It's a work in progress -- we hope you'll check it out (Learn more about the recent updates).


Comment: Cents as integer (Score 1) 167

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) 167

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) 167

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) 167

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) 167

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.

Nobody's gonna believe that computers are intelligent until they start coming in late and lying about it.