Other Programming Languages
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreOther Programming Languages

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #16  
Old August 30th, 2006, 02:14 PM
LinuxPenguin's Avatar
LinuxPenguin LinuxPenguin is offline
fork while true;
Dev Shed God 1st Plane (5500 - 5999 posts)
 
Join Date: May 2005
Location: England, UK
Posts: 5,535 LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)  Folding Points: 11590 Folding Title: Novice Folder
Time spent in forums: 1 Month 3 Weeks 1 Day 19 h 30 m 28 sec
Reputation Power: 1008
*nod* I invented that syntax, VB isn't flexible enough to allow it.
Comments on this post
°Oblivion°King° agrees!

Reply With Quote
  #17  
Old August 30th, 2006, 02:19 PM
°Oblivion°King° °Oblivion°King° is offline
Avid lithomancer
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2006
Location: Croatia
Posts: 267 °Oblivion°King° User rank is Sergeant Major (2000 - 5000 Reputation Level)°Oblivion°King° User rank is Sergeant Major (2000 - 5000 Reputation Level)°Oblivion°King° User rank is Sergeant Major (2000 - 5000 Reputation Level)°Oblivion°King° User rank is Sergeant Major (2000 - 5000 Reputation Level)°Oblivion°King° User rank is Sergeant Major (2000 - 5000 Reputation Level)°Oblivion°King° User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 2 Days 22 h 44 m 46 sec
Reputation Power: 38
I remember when i tried to make RPG in VB6.
Damn... i was a stupid kid.

Quote:
I invented that syntax, VB isn't flexible enough to allow it.

You could get rich. Just remove the goto, and sell the compiler &| IDE under some other name.

Reply With Quote
  #18  
Old August 30th, 2006, 02:41 PM
LinuxPenguin's Avatar
LinuxPenguin LinuxPenguin is offline
fork while true;
Dev Shed God 1st Plane (5500 - 5999 posts)
 
Join Date: May 2005
Location: England, UK
Posts: 5,535 LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)  Folding Points: 11590 Folding Title: Novice Folder
Time spent in forums: 1 Month 3 Weeks 1 Day 19 h 30 m 28 sec
Reputation Power: 1008
I actually wrote an RPG/MUD in VB6, it worked even when you had like 40 people on it (we never got more than that but i doubt it could handle any further load, I was using an array of winsock controls)

Reply With Quote
  #19  
Old August 30th, 2006, 11:12 PM
netytan's Avatar
netytan netytan is offline
Hello World :)
Dev Shed Frequenter (2500 - 2999 posts)
 
Join Date: Mar 2003
Location: Hull, UK
Posts: 2,536 netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 2 Days 18 h 3 m 4 sec
Reputation Power: 63
Send a message via ICQ to netytan Send a message via AIM to netytan Send a message via MSN to netytan Send a message via Yahoo to netytan
Quote:
Originally Posted by °Oblivion°King°
Nice post as always, netytan. I wanted to learn OCaml only to get new perspective. I already have many experience with C#, and it will be my primary language (for desktop applications) for many years. For me, C# has most beautiful syntax of all languages. Probably because i used to spend many hours typing it...
So, i don't see get any advantages if i use OCaml. And it can't be faster than C#.
And, C# has good modularity for most projects. OCaml is for extreme cases...

- This is interesting, btw: http://www.ocaml-tutorial.org/ocaml_and_the_web


OCaml could be considered better than C# simply because it does more than just OO; specifically it has good support for functional programming and all of the implied benefits.

Added to this you can ignore type declaration if you want, giving you the flexibility of dynamic typing and the supposed safety strict type systems provide. The choice is all yours.

Combining these features means you don't write all the boiler plate you have to write in C# to produce something as simple as the "hello world" program for example .


As for the speed OCaml is very close to C++ in this unoptimized test, so chances are that it's much faster than C#.

http://www.ffconsultancy.com/free/ray_tracer/languages.html

As a point of interest I heard rumors a while ago that .NET was written in OCaml; not that I know whether this is true or not .

Take care,

Mark.
__________________
programming language development: www.netytan.com Hula


Reply With Quote
  #20  
Old August 31st, 2006, 11:43 AM
°Oblivion°King° °Oblivion°King° is offline
Avid lithomancer
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2006
Location: Croatia
Posts: 267 °Oblivion°King° User rank is Sergeant Major (2000 - 5000 Reputation Level)°Oblivion°King° User rank is Sergeant Major (2000 - 5000 Reputation Level)°Oblivion°King° User rank is Sergeant Major (2000 - 5000 Reputation Level)°Oblivion°King° User rank is Sergeant Major (2000 - 5000 Reputation Level)°Oblivion°King° User rank is Sergeant Major (2000 - 5000 Reputation Level)°Oblivion°King° User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 2 Days 22 h 44 m 46 sec
Reputation Power: 38
OCaml faster than C#?
I'm gonna spend few years living in cave on the top of mountain to forget i've heard this...

If OCaml is so good, then why doesn't everyone use it? Maybe because it's new (if it is).

Does it have support for GUIs? I don't wanna spend time learning it to do console stuff.

Reply With Quote
  #21  
Old August 31st, 2006, 01:02 PM
LinuxPenguin's Avatar
LinuxPenguin LinuxPenguin is offline
fork while true;
Dev Shed God 1st Plane (5500 - 5999 posts)
 
Join Date: May 2005
Location: England, UK
Posts: 5,535 LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)LinuxPenguin User rank is General (90000 - 100000 Reputation Level)  Folding Points: 11590 Folding Title: Novice Folder
Time spent in forums: 1 Month 3 Weeks 1 Day 19 h 30 m 28 sec
Reputation Power: 1008
It has incomplete gtk bindings, a google revealed, but then so does everything but gtk itself. OCaML isn't as well known as C and C++ and i presume that's why it's not used as much, that and people like C syntax for some reason.

Reply With Quote
  #22  
Old August 31st, 2006, 01:04 PM
°Oblivion°King° °Oblivion°King° is offline
Avid lithomancer
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2006
Location: Croatia
Posts: 267 °Oblivion°King° User rank is Sergeant Major (2000 - 5000 Reputation Level)°Oblivion°King° User rank is Sergeant Major (2000 - 5000 Reputation Level)°Oblivion°King° User rank is Sergeant Major (2000 - 5000 Reputation Level)°Oblivion°King° User rank is Sergeant Major (2000 - 5000 Reputation Level)°Oblivion°King° User rank is Sergeant Major (2000 - 5000 Reputation Level)°Oblivion°King° User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 2 Days 22 h 44 m 46 sec
Reputation Power: 38
I hate GTK look...

Reply With Quote
  #23  
Old August 31st, 2006, 08:30 PM
netytan's Avatar
netytan netytan is offline
Hello World :)
Dev Shed Frequenter (2500 - 2999 posts)
 
Join Date: Mar 2003
Location: Hull, UK
Posts: 2,536 netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level)netytan User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 2 Days 18 h 3 m 4 sec
Reputation Power: 63
Send a message via ICQ to netytan Send a message via AIM to netytan Send a message via MSN to netytan Send a message via Yahoo to netytan
Quote:
Originally Posted by °Oblivion°King°
I hate GTK look...


Gtk doesn't really have a look, at least on *nix, that depends on the other options.

OCaml will never be as popular simply because it isn't standard, or based on a industry standard language. This is really the main reason that good languages get ignored.

So how do you become an industry standard? In the most general sense you throw enough money at the problem to convince the pointy headed bosses that they need to use your language. Then, when businesses want programmers for X the programmers get it into there heads that this language must better than the rest, and set about learning it.

Because there are more programmers using X in the industry those companies that didn't just jump on X before flock to it. This is how you get an industry standard like Java - Smalltalk is far more powerful and preforms very well, that didn't matter when Sun set it's advertising machine to work.

It all comes down to money, not the respective properties of the language, and it's circular.

You can't go wrong with a standard language, or at least if you do you wont be blamed for it. If you don't get blamed then you wont be fired, in theory.


If the industry wasn't so fickle then Lisp (or Lisp-like languages) may well be on the top of the stack, being at the top of the language power continuum

If this was the case then software would be an order of magnitude safer and we could finally escape the problems inherent in C-family languages: ridged structure and poor abstraction etc.


Applicative programming produce better results, this much has been [more or less] proven through statistical analysis but there isn't as far as I know an industry standard functional language yet*.

Instead everyone is absorbed by OO programming, when it should be noted that a powerful module system solves most of the same problems.

Through OO all you've really done is localize the well known problems typically found in imperative/procedural languages - particularly those related to state.


Anyway, I hope this has been interesting .

Mark.


*Instead companies like Microsoft have spent millions on research into functional programming in the hope of raping it's better qualities. To date this has pretty much failed .
Comments on this post
°Oblivion°King° agrees!

Reply With Quote
  #24  
Old September 1st, 2006, 03:12 AM
displeaser's Avatar
displeaser displeaser is offline
Periodically energetic Perler
Dev Shed Regular (2000 - 2499 posts)
 
Join Date: May 2005
Location: Dublin, Ireland
Posts: 2,266 displeaser User rank is Colonel (50000 - 60000 Reputation Level)displeaser User rank is Colonel (50000 - 60000 Reputation Level)displeaser User rank is Colonel (50000 - 60000 Reputation Level)displeaser User rank is Colonel (50000 - 60000 Reputation Level)displeaser User rank is Colonel (50000 - 60000 Reputation Level)displeaser User rank is Colonel (50000 - 60000 Reputation Level)displeaser User rank is Colonel (50000 - 60000 Reputation Level)displeaser User rank is Colonel (50000 - 60000 Reputation Level)displeaser User rank is Colonel (50000 - 60000 Reputation Level)displeaser User rank is Colonel (50000 - 60000 Reputation Level)displeaser User rank is Colonel (50000 - 60000 Reputation Level)displeaser User rank is Colonel (50000 - 60000 Reputation Level)  Folding Points: 76661 Folding Title: Intermediate FolderFolding Points: 76661 Folding Title: Intermediate FolderFolding Points: 76661 Folding Title: Intermediate FolderFolding Points: 76661 Folding Title: Intermediate Folder
Time spent in forums: 4 Weeks 5 h 23 m 13 sec
Reputation Power: 532
Quote:
Originally Posted by °Oblivion°King°
OCaml faster than C#?
I'm gonna spend few years living in cave on the top of mountain to forget i've heard this...

If OCaml is so good, then why doesn't everyone use it? Maybe because it's new (if it is).

Does it have support for GUIs? I don't wanna spend time learning it to do console stuff.


Have a look at the Great Computer shootout, it has comparitive scores for different languages including Ocaml & C#.

Language Score Miss Fail Avg
Ocaml ocamlb 630 0 3 28.64
C# csharp 574 4 0 27.33

Ocamls been around since 1985 ish.

Ocaml has quite a few different gui binding. Look here
for a list.

Displeaser
__________________
Vi Veri Veniversum Vivus Vici.

Reply With Quote
  #25  
Old September 1st, 2006, 08:50 AM
jamieB jamieB is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Nov 2002
Posts: 596 jamieB User rank is Sergeant (500 - 2000 Reputation Level)jamieB User rank is Sergeant (500 - 2000 Reputation Level)jamieB User rank is Sergeant (500 - 2000 Reputation Level)jamieB User rank is Sergeant (500 - 2000 Reputation Level)jamieB User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 2 Days 3 h 19 m 33 sec
Reputation Power: 17
Quote:
Originally Posted by netytan

*Instead companies like Microsoft have spent millions on research into functional programming in the hope of raping it's better qualities. To date this has pretty much failed .


I don't know about that...their interest in FP and hiring people like Erik Meijer has had quite a few concrete results, like LINQ. As you know, functional languages are part of the cutting edge of language design and I know they've been the Next Big Thing for a very long time, but I really think they are the Next Big (Quiet) Thing in that the most powerful features drip into mainstream languages, maybe at an increasing rate, which is great but the average programmer isn't going to be switching to Haskell. This of course is just the long process of all languages becoming Lisp...

Reply With Quote
  #26  
Old September 1st, 2006, 01:21 PM
°Oblivion°King° °Oblivion°King° is offline
Avid lithomancer
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2006
Location: Croatia
Posts: 267 °Oblivion°King° User rank is Sergeant Major (2000 - 5000 Reputation Level)°Oblivion°King° User rank is Sergeant Major (2000 - 5000 Reputation Level)°Oblivion°King° User rank is Sergeant Major (2000 - 5000 Reputation Level)°Oblivion°King° User rank is Sergeant Major (2000 - 5000 Reputation Level)°Oblivion°King° User rank is Sergeant Major (2000 - 5000 Reputation Level)°Oblivion°King° User rank is Sergeant Major (2000 - 5000 Reputation Level) 
Time spent in forums: 2 Days 22 h 44 m 46 sec
Reputation Power: 38
Quote:
Originally Posted by displeaser
Have a look at the Great Computer shootout, it has comparitive scores for different languages including Ocaml & C#.

Language Score Miss Fail Avg
Ocaml ocamlb 630 0 3 28.64
C# csharp 574 4 0 27.33

Ocamls been around since 1985 ish.

Ocaml has quite a few different gui binding. Look here
for a list.

Displeaser


This is interesting... i'll consider learning OCaml.

Reply With Quote
  #27  
Old September 1st, 2006, 03:17 PM
L7Sqr L7Sqr is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Jan 2004
Location: Constant Limbo
Posts: 649 L7Sqr User rank is Second Lieutenant (5000 - 10000 Reputation Level)L7Sqr User rank is Second Lieutenant (5000 - 10000 Reputation Level)L7Sqr User rank is Second Lieutenant (5000 - 10000 Reputation Level)L7Sqr User rank is Second Lieutenant (5000 - 10000 Reputation Level)L7Sqr User rank is Second Lieutenant (5000 - 10000 Reputation Level)L7Sqr User rank is Second Lieutenant (5000 - 10000 Reputation Level)L7Sqr User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 1 Week 3 Days 15 h 26 m 53 sec
Reputation Power: 102
Send a message via AIM to L7Sqr
A word of caution for the Ocaml 'evolution', if you will.
There are several limitations to the language that might be of concern to you down the road.<