Advertisement

C# for Linux?

Started by January 12, 2003 04:02 PM
26 comments, last by stefu 22 years ago
quote:
Original post by Arild Fines
Everyone says it''s on the "fast-track" to becoming an ISO standard - what does that mean? Is there a slow-track to ISO standardization? How long does the fast-track take?



It was submitted to the ECMA first and ISO usually takes less time to accept a standard which the ECMA already recognises. I don''t know the exact time frames, but I''d say it would only be a couple of months...

If I had my way, I''d have all of you shot!


codeka.com - Just click it.

y would anyone want THIS ???????

want MS ? use Windows !
Advertisement
quote:
Original post by uNiQue0815
y would anyone want THIS ???????

want MS ? use Windows !


this has got to be the dumbest thing i''ve read all day.

-eldee
;another space monkey;
[ Forced Evolution Studios ]

::evolve::

Do NOT let Dr. Mario touch your genitals. He is not a real doctor!

-eldee;another space monkey;[ Forced Evolution Studios ]
What is so good about C#?

I have heard about it some, but really what makes it so good for games?
quote:
Original post by Anonymous Poster
What is so good about C#?

I have heard about it some, but really what makes it so good for games?


I think C++ is best for game programming currently, but I hate using delete!! Using delete and doing all kind of that low level stuff is simply waste of programming time.

So C# sounds ideal. It''s so similar to C++ (what I know) and has garbage collection and can be compiled to executable.
If I was Windows-only person, then I''d use C# with DirectX. There''s actually C# binding for OpenGL (google csgl). I have''n tried, does it work with Linux too?
quote:
Original post by stefu There''s actually C# binding for OpenGL (google csgl). I have''n tried, does it work with Linux too?

No, but I remember reading about someone else writing OGL bindings for Mono.
--AnkhSVN - A Visual Studio .NET Addin for the Subversion version control system.[Project site] [IRC channel] [Blog]
Advertisement
I did my first linux C# hello world.
I needed to run mcs with the interpreter mint /usr/bin/mcs hello.cs.
And the result is hello.exe and I can run it with mint hello.exe
Weird to say, weird.
IIRC you use the mono command, which doesn''t use an interpreter, rather a JIT.

So you''d go mono hello.exe
==========================================In a team, you either lead, follow or GET OUT OF THE WAY.
Thank you, works too.

I just wonder, why it is named hello.exe, it is not exe-file?

Why can''t I compile files without public static void Main()?
Does this mean that I have to compile all .cs files every time?
Cant I use precompiled files (libraries)?
quote:
Original post by stefu
Thank you, works too.

I just wonder, why it is named hello.exe, it is not exe-file?


The .exe extension doesn''t mean anything on linux, and they are only using it to maintain compatibility with Microsoft''s implementation.
quote:

Why can''t I compile files without public static void Main()?
Does this mean that I have to compile all .cs files every time?
Cant I use precompiled files (libraries)?

If mcs uses the same switches as csc, you can use the /target:library or -target:library switch to generate a dll:

mcs /target:library Foo.cs Bar.cs Baz.cs

A dll does not require an entry point.



"The fact that a believer is happier than a skeptic is no more to the point than the fact that a drunken man is happier than a sober one." -- George Bernhard Shaw
--AnkhSVN - A Visual Studio .NET Addin for the Subversion version control system.[Project site] [IRC channel] [Blog]

This topic is closed to new replies.

Advertisement