Become a fan of Slashdot on Facebook


Forgot your password?

Comment: Re:I don't understand (Score 4, Interesting) 125

I didn't look into the details of the project, but to me it seems to like the following:

A JIT compiler is used in a virtual machine to run a function/method by compiling it from some sort of bytecode or intermediate representation to native code and then jumping to the generated code to execute it. So in this case this would be when the Common Language Runtime wants to run a CIL method for the first time: it generates LLVM intermediate representation from the CIL, then uses LLVM to compile that to native code.

So it would be: CIL --> LLVM data --> native code

This means that the CLR, and thus all code compiled for .NET, can run on all platforms that LLVM can generate native code for.

Comment: Re:.NET applications on Linux? (Score 4, Informative) 253

The problem is not WinForms, but WPF. An increasing amount of applications use WPF because WinForms is considered 'deprecated' by Microsoft and people are encouraged to use WPF instead, which is the new 'hot stuff'.

Comment: Re:Blast from the past (Score 1) 98

by HyperQuantum (#48384001) Attached to: US Gov't Issues Alert About iOS "Masque Attack" Threat

There is a bug in the e-mail. It should be 'We therefore ask you to send this email to all your friends and then delete all your files on your harddisk manually'.

You still need some of those files on your harddisk in order to send an e-mail. Friends with less than average intelligence might not realize that.

Comment: Real cross-platform is HARD (Score 4, Informative) 525

To make it cross-platform for real is hard. Lots of programmers don't try to avoid platform-specific and write code such as:

string fullname = directoryname + "\" + filename;

...instead of:

fullname = Path.Combine(directoryname, filename);

Another mistake is using explicitly hardcoded paths that only exist in Windows. And another challenge would be case-sensitivity of the filesystem on Linux; this can break programs that were developed and tested on Windows only.

The framework must provide for platform-independent ways to do things so that it is easier/shorter to do it the right way than using a naive but non-portable approach. Or programmers not really thinking things through will simply keep writing non-portable code anyway. The example above illustrates that; it is way more conventient to combine pathnames with such a non-portable string concatenation than it is with the right approach.

Comment: Re:As has been posted before (Score 2) 158

by HyperQuantum (#48241463) Attached to: The Problem With Positive Thinking

That was exactly my point. The 'negative thinkers/pessimists' worked very hard to solve all Y2K problems, then January 1st, 2000 passed by and all the 'positive thinkers' said "see, there was nothing to worry about" without taking into account all the work that had been done to fix the problems.

It's time to boot, do your boot ROMs know where your disk controllers are?