flat assembler
Message board for the users of flat assembler.

Index > Heap > Ocaml

Author
Thread Post new topic Reply to topic
OzzY



Joined: 19 Sep 2003
Posts: 1029
Location: Everywhere
OzzY
Have anyone used this language?
It's a functional programming language.

Some people say it generates faster code than C++, but slower than C.
If anyone knows it, please talk about it.
Can it be be mixed with ASM? (inline assembler).

I never used a function language. What are the real gains of it?

Home page: http://caml.inria.fr/index.en.html

Thanks
Post 30 Aug 2007, 18:12
View user's profile Send private message Reply with quote
vid
Verbosity in development


Joined: 05 Sep 2003
Posts: 7105
Location: Slovakia
vid
Quote:
Some people say it generates faster code than C++, but slower than C.

i always though C++ generates same code as C deos, depending just on which features you are using...

sorry, such quotes doesn't have any meaning at all

Quote:
Caml is a general-purpose programming language, designed with program safety and reliability in mind.

another way to say that: speed is sacrifaced at price of getting some safery and reliability. There is NO WAY to make same thing both safe and fast, sorry. By the way, i think this is a GOOD way for language like they are designing, no arguing. I hope their work will turn out useful for somebody. Not for us Assemblerists, though.
Post 30 Aug 2007, 21:23
View user's profile Send private message Visit poster's website AIM Address MSN Messenger ICQ Number Reply with quote
OzzY



Joined: 19 Sep 2003
Posts: 1029
Location: Everywhere
OzzY
Quote:
i always though C++ generates same code as C deos, depending just on which features you are using...


I think they mean real C++ code, like NOT writting C-style C++ code, but using the STL a lot.

And yes, safety will always sacrifice fast code. That's why not everybody uses C++, and C is still alive! Smile
Post 30 Aug 2007, 21:28
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Copyright © 1999-2020, Tomasz Grysztar. Also on YouTube, Twitter.

Website powered by rwasa.