You are not logged in.

#1 2006-09-07 16:38:22

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,896
Website

Mono as in the one?

I am getting more interested in Mono (yes I am mad!) does anyone in Arch use it?

Should I learn C++ or C# ?

Python to me is a lot cleaner, easier to code, but can you compile in the same way as mono....?

Know that more apps are being built based on it (ok I did not mention .NET so there!)

Should I believe the hype!

thoughts


Mr Green

Offline

#2 2006-09-07 16:40:28

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Mono as in the one?

Mr Green wrote:

Python to me is a lot cleaner, easier to code, but can you compile in the same way as mono....?

Actually, kinda.  *.pyc files are pretty much as "compiled" as a .NET/Mono app ever gets.  It's the same as a java .class file.  It's half-way compiled.  The difference is that python adds a convienance layer here, and is "compiled" on the fly.

Offline

#3 2006-09-07 16:49:58

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,896
Website

Re: Mono as in the one?

emmm so forget mono just use python ?

Just thought C# would be cool to learn thats all...


Mr Green

Offline

#4 2006-09-07 17:37:13

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Mono as in the one?

Mr Green wrote:

Just thought C# would be cool to learn thats all...

I tend to use alot of C# at work.  It's similar to java... has some nifty features (delegates, the using statement, built-in 'lock' for thread sync), but mostly it's a tad too high level for me.  It's great for writing GUI apps though.

Offline

#5 2006-09-07 17:50:09

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,896
Website

Re: Mono as in the one?

Ahhh ok

/me reads learn C# in ten minutes


Mr Green

Offline

#6 2006-09-07 17:56:00

Blaasvis
Member
Registered: 2003-01-17
Posts: 467

Re: Mono as in the one?

programming languages do not really matter, you should learn to design and program in a good way. any language is suitable, with one exception..... PERL(because i hate it).


Freedom is what i love

Offline

#7 2006-09-07 17:59:44

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,896
Website

Re: Mono as in the one?

lol If you do not like Perl you will love Ruby ;-)

No dude i'm sticking to logo .....


Mr Green

Offline

#8 2006-09-07 18:34:35

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: Mono as in the one?

Blaasvis wrote:

programming languages do not really matter, you should learn to design and program in a good way. any language is suitable, with one exception..... PERL(because i hate it).

Well said!!!

Dusty

Offline

#9 2006-09-07 18:40:15

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,896
Website

Re: Mono as in the one?

py# emmm


Mr Green

Offline

#10 2006-09-07 19:20:05

pauldonnelly
Member
Registered: 2006-06-19
Posts: 776

Re: Mono as in the one?

Blaasvis wrote:

programming languages do not really matter, you should learn to design and program in a good way. any language is suitable, with one exception..... PERL(because i hate it).

Which is why you're programming in GW BASIC, right?

A good language is no substitute for a good programmer, but it's ludicrous to pretend that all languages are equivalent past the "Hello, World" stage.

Offline

#11 2006-09-07 20:50:19

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Mono as in the one?

pauldonnelly wrote:
Blaasvis wrote:

programming languages do not really matter, you should learn to design and program in a good way. any language is suitable, with one exception..... PERL(because i hate it).

Which is why you're programming in GW BASIC, right?

A good language is no substitute for a good programmer, but it's ludicrous to pretend that all languages are equivalent past the "Hello, World" stage.

I agree completely.  Show me... well, any string manipulation app in Erlang and I will show you the same thing in perl in about 5% of that code.  We can do the same with GUI apps in nasm assembly vs GUI apps in python.  I can go on and on.

Saying all programming languages are good, at a general level, is like saying "all power tools are good" - it sounds great until you actually have to use that circular saw to hammer in a nail.

Offline

#12 2006-09-07 23:01:11

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: Mono as in the one?

phrakture wrote:

Saying all programming languages are good, at a general level, is like saying "all power tools are good" - it sounds great until you actually have to use that circular saw to hammer in a nail.

All languages are good for something, no language is good for everything (though Python's only downfall seems to be in extremely speed-dependent real-time type apps..... ok, I'm a zealot :-D). Blaasvis' comment, when taken in context (or in the context I read it) really seems to imply that knowing what you are doing is more important than the languages that you know.

A good programmer knows which language to use for a specific task. Its not mutually exclusive.

Whatever extraneous arguments there are, the salient point here is that PERL sucks.

Money is the root of all tacos.

Dusty

Offline

#13 2006-09-07 23:22:58

cactus
Taco Eater
From: t͈̫̹ͨa͖͕͎̱͈ͨ͆ć̥̖̝o̫̫̼s͈̭̱̞͍̃!̰
Registered: 2004-05-25
Posts: 4,622
Website

Re: Mono as in the one?

Did someone mention tacos?
mmmm...tacos...


"Be conservative in what you send; be liberal in what you accept." -- Postel's Law
"tacos" -- Cactus' Law
"t̥͍͎̪̪͗a̴̻̩͈͚ͨc̠o̩̙͈ͫͅs͙͎̙͊ ͔͇̫̜t͎̳̀a̜̞̗ͩc̗͍͚o̲̯̿s̖̣̤̙͌ ̖̜̈ț̰̫͓ạ̪͖̳c̲͎͕̰̯̃̈o͉ͅs̪ͪ ̜̻̖̜͕" -- -̖͚̫̙̓-̺̠͇ͤ̃ ̜̪̜ͯZ͔̗̭̞ͪA̝͈̙͖̩L͉̠̺͓G̙̞̦͖O̳̗͍

Offline

#14 2006-09-07 23:28:52

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: Mono as in the one?

I wondered how long before you would reply.... do you really read every single thread, lurking, waiting for the word tacos to come up and then you pounce, or do you have some kind of script that monitors it and sends you an e-mail? smile

Dusty

Offline

#15 2006-09-07 23:50:26

T-Dawg
Forum Fellow
From: Charlotte, NC
Registered: 2005-01-29
Posts: 2,736

Re: Mono as in the one?

Dusty wrote:

....or do you have some kind of script that monitors it and sends you an e-mail? smile

Dusty

cactus on another thread wrote:

*points at his email inbox*
1..
2..
3..
umm...
4..
5..

hmmm....

Offline

#16 2006-09-07 23:53:08

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: Mono as in the one?

Does anybody feel sorry for Mr. Green's original post yet? :-S

Dusty

Offline

#17 2006-09-08 03:48:47

diffyQ
Member
From: dc
Registered: 2006-08-29
Posts: 13

Re: Mono as in the one?

Mr Green wrote:

I am getting more interested in Mono (yes I am mad!) does anyone in Arch use it?

Should I learn C++ or C# ?

Python to me is a lot cleaner, easier to code, but can you compile in the same way as mono....?

you might want to check out the boo or iron python.  both will allow you to do .NET/mono programming in python (almost: boo syntax is based on but not the same as python).  i'm neither a python nor a .NET nor a python programmer, but this seemed like a good way to learn a little of both.

Offline

#18 2006-09-08 04:47:05

allucid
Member
Registered: 2006-01-06
Posts: 259

Re: Mono as in the one?

boo and IronPython are for windows.

Offline

#19 2006-09-08 05:14:19

diffyQ
Member
From: dc
Registered: 2006-08-29
Posts: 13

Re: Mono as in the one?

allucid wrote:

boo and IronPython are for windows.

hm, good point.  i'd only just heard of IronPython, but somehow i missed that on the boo side.

Offline

#20 2006-09-08 06:38:07

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,896
Website

Re: Mono as in the one?

allucid wrote:

boo and IronPython are for windows.

You sure  wink

Boo looks interesting ....

IronPython .. Well Jim Huguinn works for Microsoft (.NET) emmm


Mr Green

Offline

#21 2006-09-08 10:59:34

toxic
Member
Registered: 2006-06-05
Posts: 117

Re: Mono as in the one?

phrakture wrote:

I agree completely.  Show me... well, any string manipulation app in Erlang and I will show you the same thing in perl in about 5% of that code.  We can do the same with GUI apps in nasm assembly vs GUI apps in python.  I can go on and on.

Saying all programming languages are good, at a general level, is like saying "all power tools are good" - it sounds great until you actually have to use that circular saw to hammer in a nail.

Possibly Erlang isn't about string manipulation. It's a functional language, and thus offers several asynchronous ways of concurrency etc. In my opinion, they main beauty with a functional language is the usually common list comprehension, which really does in one line what any iterative language would do in 5. Personally I like developing apps a language like Java or C*.

Offline

#22 2006-09-08 11:03:56

Mr Green
Forum Fellow
From: U.K.
Registered: 2003-12-21
Posts: 5,896
Website

Re: Mono as in the one?

Can we like get back on topic... lol

Boo looks interesting based on python so much cleaner than Mono say .. has anyone here tried it ?


Mr Green

Offline

#23 2006-09-08 13:26:19

Dusty
Schwag Merchant
From: Medicine Hat, Alberta, Canada
Registered: 2004-01-18
Posts: 5,986
Website

Re: Mono as in the one?

I think you're a little confused as to what Mono actually is. So am I, actually; I've never cared enough to really look into it. But this is my understanding:

.NET is a virtual machine. This makes it very much similar to the Java virtual machine, or to .pyc as phrakture mentioned.

Mono is a virtual machine. It is the same kind of virtual machine as .NET, except one runs on Windows and one runs on Linux.

CLI (The Common Language Isomething) is a bytecode language that is interpretted by the .NET (or mono, or other implemented) virtual machine. Its very much the same as .class files in Java. Or it may be higher level than that and it compiles to something that is very much the same as .class files in Java, I'm not sure which.

C++, C#, Python, and Boo  (there may be others) are all programming languages. All can be compiled into CLI in a similar way that java files are compiled to .class files. Python is compiled by ironPython, but it is still the Python language syntax. However, none of these languages HAS to be compiled to CLI.

In short, the languages are different from the virtual machine. So saying that Boo is cleaner than Mono is a lot like trying to compare apples to beetles.

So if you are looking for a programming language, you can use any of those mentioned, or you can use any other one. If you want it to run on mono for whatever reason, you have to make sure it compiles to CLI that mono can understand.

There's another issue that I haven't discussed -- libraries. Mono, like the java virtual machine, is shipped with a bunch of standard libraries. These provide functions for basic data manipulation, I/O, gui design, networking etc etc etc. I assume the libraries for mono are in CLI. This means they can be accessed by any language that mono(or .NET) knows how to compile to CLI. However, these libraries are different from the standard libraries for eg: Python and C++. Therefore, C++ or Python code that run with g++ or cpython are not likely to run in Mono and vice versa. However, the syntax itself is the same.

Make sense?

Dusty

Offline

#24 2006-09-08 15:15:53

phrakture
Arch Overlord
From: behind you
Registered: 2003-10-29
Posts: 7,879
Website

Re: Mono as in the one?

Two clarifications:

Dusty wrote:

CLI (The Common Language Isomething) is a bytecode language that is interpretted by the .NET

This is actually "IL" or "Intermediate Language" (fancy naming, eh?). CLI is something different and I think it actually implys the interpreter... from MSDN:

The Common Language Infrastructure (CLI) is a specification describing how applications written in multiple high-level languages may be executed in different system environments without the need to rewrite the applications to take into consideration the unique characteristics of those environments.

/shrug

Point #2:

Dusty wrote:

C++, C#, Python, and Boo  (there may be others) are all programming languages. All can be compiled into [IL] in a similar way that java files are compiled to .class files.

Yup, but don't forget J#, Perl.NET Cobol.NET, Lua.NET, etc etc - this is the coolest part about the .NET framework, IMO.  Here's a big fat list: http://www.dotnetlanguages.net/DNL/Resources.aspx

Closer on topic.  Learning C# is ok.  It's nothing fancy or different (like Oz or Erlang or anything), but it gets the job done.  The biggest benefit is learning the .NET framework APIs which can be used across all languages in the link above (there's alot).

Offline

#25 2006-09-08 15:57:43

clarence
Member
From: fremantle.au
Registered: 2005-10-12
Posts: 294

Re: Mono as in the one?

If your a "can't live without a fancy IDE" kinda person then you will more than likely enjoy monodevelop as well.


fck art, lets dance.

Offline

Board footer

Powered by FluxBB