View Full Version : J#
Beholdereye
09-07-2003, 02:05 AM
I installed the J# packaged onto my .Net and noticed when I went to use it, it looked remarkably identical to C#. Is there a reason they have J# if its the same language, or is there some small difference that I'm missing?
sans-hubris
09-07-2003, 09:41 AM
J# is just a port of the Java language (not api) to the .NET platform. Java and C# are very simlar. You'd be hard pressed to find many differences.
Dru Lee Parsec
09-08-2003, 12:28 PM
In general Java class names start with an Upper Case letter while method within classes start with lower case letters and have upper case start of words. For example, the class name String or Vector start with upper case. The methods elementAt or indexOf start off lower case but if it's a multiple word method name then the 2nd and subsequent word have an upper case letter.
As I understand it from reading various review, C# changed the lower case start of the method names to upper case. Other than that change C# and the Java API have exactly the same class and method names for roughly 80% of the core language. I can't imagine how they made J# even more java-like without copyright infringements.
And we know that Microsoft would NEVER infringe on other people's copyrights.
sicarius
09-08-2003, 01:50 PM
Well. Another thing to consider is F#. F# is supposedly a language MS is working on that blending the functional and imperitive worlds. I haven't seen much press about it.
Here is a link straight from MS [ulr=http://research.microsoft.com/projects/ilx/fsharp.aspx]F#[/url]
It seems F# is based on caml.
I've never seen caml, but I like Haskell. The only iky bit seems to be I/O. Perhaps F# will address that.
Beholdereye
09-08-2003, 11:48 PM
I heard, and I dont remember where, that Microsofts F# has been haulted because of infringing on some more of their trademark copyright infrigements.
This may be only a rumor, but that's about all I've heard about it.
they are infringing on their own trademarks? Am I understanding your post correctly?
Or are you thinking of the MONO project?
www.go-mono.com
sans-hubris
09-09-2003, 01:24 PM
Originally posted by Beholdereye
I heard, and I dont remember where, that Microsofts F# has been haulted because of infringing on some more of their trademark copyright infrigements.
This may be only a rumor, but that's about all I've heard about it. The controversy (http://research.microsoft.com/projects/ilx/fsharp-ack.aspx).
It's based on OCaml, and I don't see any reason that the OCaml developers would be upset. If they did, that would go against the philosophy of open source (http://www.opensource.org/docs/definition.php).
Beholdereye
09-20-2003, 01:55 PM
As i mentioned above, all I've heard is a rumor about it. I dont know any details about it, nor have I really persued any kind of followup research on the subject.
harin
11-13-2003, 06:08 AM
Hi,
Can anyone tell me how to play .wav files in J#?
I saw some code in C# that enables you to do that.. but am unable to concvet it to J#.
The code in C# :-
// use P/Invoke to implement the system API call:
[DllImport("winmm.dll", EntryPoint="PlaySound")]
private static extern bool PlaySound(string pszSound, IntPtr hmod, uint fdwSound);
PlaySound( "myWavFile.wav", IntPtr.Zero, 0);
Thanks,
Harin
vBulletin® v3.7.0, Copyright ©2000-2009, Jelsoft Enterprises Ltd.