Factbites
 Where results make sense
About us   |   Why use us?   |   Reviews   |   PR   |   Contact us  

Topic: Ocaml


Related Topics
TeX

In the News (Fri 11 Dec 09)

  
  SWIG and Ocaml
Ocaml is a relatively recent addition to the ML family, and is a recent addition to SWIG.
Ocaml has widely acknowledged benefits for engineers, mostly derived from a sophisticated type system, compile-time checking which eliminates several classes of common programming errors, and good native performance.
Because the Ocaml language module treats C++ method calls as calls to a certain function, all you need to do is to define the function that will handle the method calls in terms of the public methods of the object, and any other relevant information.
www.swig.org /Doc1.3/Ocaml.html   (3522 words)

  
 Objective CAML Tutorial
This website is a set of practical, detailed tutorials for people who want to learn Objective CAML (often known as just "OCaml").
OCaml is a fast, concise and powerful language for application development - but I assume you already knew that, and I also assume you've managed to install it.
An introduction to OCaml, from the Linux Gazette.
ocaml-tutorial.org   (304 words)

  
  The Basics
OCaml, in common with other functional languages, writes and brackets function calls differently, and this is the cause of many mistakes.
OCaml is a strongly statically typed language (in other words, there's nothing dynamic going on with types, as there would be in Perl).
But OCaml is also a practical language, and for this reason it contains backdoors into the type system allowing you to bypass this checking on the rare occasions that it is sensible to do this.
www.ocaml-tutorial.org /the_basics   (1888 words)

  
  Notes on OCaml
OCaml is interactive; you start it up, then you type expressions (at the prompt) to be evaluated.
OCaml is supposed to be a purely functional language, which means that it has no expressions with side effects.
OCaml therefore expects all the expressions (except the last) in a semicolon-separated list to have a unit value, and will warn you if that isn't the case.
www.csc.villanova.edu /~dmatusze/resources/ocaml/ocaml.html   (3685 words)

  
 m3ga blog
Ocaml's variant types are a little like a type safe, bullet proof version of unions in C and C++.
Ocaml also has built in lists; lists that behave like the singly linked list that people write in lower level languages like C but without the pain.
The Ocaml bindings to GTK+ is called lablgtk2 and there is also an Ocaml version of the GTK+ 2 tutorial which includes Ocaml versions of all the example programs for the original C/GTK+ tutorial.
www.mega-nerd.com /erikd/Blog/CodeHacking/Ocaml   (4406 words)

  
 CS 11: Ocaml track   (Site not responding. Last check: )
Ocaml programs compiled to machine code are very competitive with C or C++ programs in terms of their execution speed.
Ocaml is not a perfect language; some of the syntax is pretty nasty and confusing, error messages can be somewhat uninformative at times, the learning curve is steep, and there are times when the type system is too rigid for some applications.
Ocaml supports all three paradigms, but it's most often used as a functional programming language (or as a mostly-functional programming language), and that how we will use it for most of this track.
www.cs.caltech.edu /courses/cs11/material/ocaml/index.html   (1487 words)

  
 OCaml, an Introduction LG #99
OCaml is not strictly functional, but has the full power of other functional languages.
So, my routines call exported OCaml routines to fill data structures and create only OCaml strings and numbers in C. That way I won't have the hassle to debug the C code...
OCaml is not a very natural language and has a very powerful, short notation for things.
www.linuxgazette.net /issue99/stellingwerff.html   (3073 words)

  
 OCaml-SQLite3   (Site not responding. Last check: )
The implementation is tested with OCaml 3.09.2, SQLite 3.3.5 and GCC 3.3.5 on Linux.
This installation of this package requires installed OCaml 3 system with working findlib, the SQLite 3 libraries and a C compiler.
OCaml SQLite3 can be distributed under the very permissive MIT style license.
metamatix.org /~ocaml/ocaml_sqlite3.html   (156 words)

  
 SML vs. Ocaml
It is primarily targetted at people who need to convert code between the two dialects.
Where suitable we also mention common extensions to SML, or recent extensions of Ocaml.
Ocaml's object sublanguage, SML's user-defined operator fixity, or advanced library issues).
www.ps.uni-sb.de /~rossberg/SMLvsOcaml.html   (421 words)

  
 Why Ocaml?
Ocaml also has a preprocessor, but I haven't learned how to use it yet.
Given that Ocaml is also a beautiful language to program in, this is pretty compelling.
Ocaml interface to FFTW, the fastest FFT in the West (a C library for DFTs, which was generated using Ocaml).
www.cs.ubc.ca /~murphyk/Software/Ocaml/why_ocaml.html   (898 words)

  
 OCaml, an Introduction LG #99
OCaml is not strictly functional, but has the full power of other functional languages.
So, my routines call exported OCaml routines to fill data structures and create only OCaml strings and numbers in C. That way I won't have the hassle to debug the C code...
OCaml is not a very natural language and has a very powerful, short notation for things.
linuxgazette.net /issue99/stellingwerff.html   (3073 words)

  
 OCaml Study Group
OCaml programs are shorter than C programs, but I doubt they'd be shorter than Python programs.
I have two unoptimised versions in C++ and OCaml, both are written simply using the set data structures in the STL and OCaml stdlib, respectively.
OCaml is a very pedantic language, which helps enormously to catch bugs.
www.cs.colostate.edu /~anderson/ocaml   (1626 words)

  
 Donkin.org . Main . OCamlLanguage   (Site not responding. Last check: )
OCaml is a functional language that also supports object-oriented programming, and has a large library of modules for things such as file access, GUI support, etc. It is a dialect of the ML family of languages, and in particular is upward compatible with Caml Light, its non-OO predecessor.
OCaml includes an interpreter and a native code compiler, with good performance - depending on how you weight CPU, memory and code length, it's one of the top languages for CPU and memory efficiency, with concise code, in the Great Computer Language Shootout.
OCaml performance is generally competitive with C or C++, and sometimes better.
donkin.org /bin/view/Main/OCamlLanguage   (297 words)

  
 Haskell vs. OCaml--which do you prefer? - O'Reilly Mac DevCenter Blog
Also, OCaml seems to knock the socks off of just about any other language outside of C when it comes to performance comparisons–a very good thing since much of my school work/research makes use of some extremely time consuming code.
Ocaml definitely has the better development environment, and they both have adequate (but could be better) library support.
I started off using O'CAML and probably would have stayed there if it weren't for the fact that support for windows machines is not what it could be, especially if you need to do a lot of FFI to C code.
www.oreillynet.com /mac/blog/2006/03/haskell_vs_ocamlwhich_do_you_p.html   (5266 words)

  
 Learn OCaml on 43 Things
I found a good introduction to OCaml at http://www.cs.caltech.edu/courses/cs134/cs134b/book.pdf (which is used for a CS course at CalTech apparently).
I’m particularly interested in the object-oriented aspects of OCaml, as I’m definitely a fan of object orientation, though it may prove itself to be a far better experience with functions rather than objects.
Ocaml appears to be a more pragmatic, working language (it has imperative features, better libraries) where Haskell tends to be more academic (though Pugs and Darcs are written in Haskell).
www.43things.com /things/view/27420   (780 words)

  
 CDuce: Interfacing CDuce with OCaml
The heart of the interface is a mapping from OCaml types to CDuce types.
However, when converting a CDuce reference to OCaml, the content of the reference is fetched (set), and a fresh OCaml reference is created (copy semantics).
If an OCaml value has a type that can be translated, it is possible to use it from CDuce (see the How to compile and link section for more details).
www.cduce.org /manual_interfacewithocaml.html   (1348 words)

  
 Alain Frisch: OCaml software
OCaml is a modern general-purpose and multi-paradigm programming language (functional, imperative, object-oriented) with a strong type system.
SpiderCaml is a library to use SpiderMonkey from OCaml.
Recursive is a tiny OCaml module that helps the programmer to manipulate cyclic structures (such as recursive types or finite automata) with maximal sharing and unique representation.
alain.frisch.fr /soft   (1306 words)

  
 Objective Caml
The O'Caml syntax is, IMNSHO, well-designed and readable and a beacon of light in a world populated with abominations such as C++ or Perl.
I spent Christmas trying to learn OCaml from the preprint of the O'Reilly book (http://caml.inria.fr/oreilly-book/) and found the learning curve initially quite high (It's a very well written book, but the topic can be hard work).
I agree that Ocaml would be quite complete enough without the object system, but it seems they were trying to break new ground with it.
c2.com /cgi/wiki?ObjectiveCaml   (2813 words)

  
 Amazon.com: Practical OCaml: Books: Joshua B. Smith   (Site not responding. Last check: )
Readers are encouraged to follow along with most examples using the OCaml top-level (the interactive interpreter), giving them the opportunity to consider the purpose and syntax of each line.
You can find a listing of Ocaml software on the Caml Hump, which is the archive of software written in and for Ocaml.  If these don't help you find what you are looking for, you can always check the Ocaml Beginners Mailing List   where you will find other members of Ocaml's active and helpful community.
Ocaml (Objective CAml) is a advanced, functional programming language in the ML family.   Ocaml is not used as widely as imperative languages like Java or C++, but has found use in areas like aerospace,  financial services, and hardware validation.  Ocaml frequently shows up in ICFP contest entries (and often in the winning entries). 
www.amazon.com /Practical-OCaml-Joshua-B-Smith/dp/159059620X   (1799 words)

  
 Zack's Home Page - OCaml HTTP
OCaml HTTP is an Objective Caml library freely inspired from perl's HTTP::Daemon module that permits you to write simple HTTP daemons in OCaml.
Daemon specifications are used also to specify other parameters governing daemon behaviour like: TCP port and address to bind, way of handling incoming requests (handle all of them in a single process, fork a new process or spawn a new thread for each incoming request), timeout, authentication requirements (username and password for HTTP basic authentication).
OCaml HTTP contains also a tiny implementation of a HTTP client which can be used to retrieve resources via GET HTTP method and to iter on them (useful for huge resources which can't be kept in memory).
www.bononia.it /~zack/ocaml-http.en.html   (318 words)

  
 OCaml Software
An ocaml wrapper for the Expat XML parsing library.
OUnit is a unit test framework for OCaml.
The libevent API provides a mechanism to execute a callback function when a specific event occurs on a file descriptor or after a timeout has been reached.
www.xs4all.nl /~mmzeeman/ocaml   (168 words)

  
 CocOCaml - The OS X OCaml Toplevel Environment   (Site not responding. Last check: )
CocOCaml is a Cocoa based wrapper for the OCaml toplevel environment.
If one has already typed a lot of commands into the interpreter, finding and reviewing (or replaying) one of those commands can be a huge pain in the, um, buttocks.
One cannot easily save the current OCaml session when running it in the teminal.
www.cs.unm.edu /~wneumann/cococaml   (394 words)

  
 Practical OCaml | Lambda the Ultimate
OCaml for Scientists which was published at the beginning of last year and received great reviews.
Another minor difference between SML and OCaml is that SML allows explicitly specifying precedence of infix operators, whereas OCaml has a funky implicit system based on the characters which an operator starts with.
OCaml is designed to be provable, and there is at least one publicly available automated theorem solver in OCaml for OCaml programs.
lambda-the-ultimate.org /node/1803   (4749 words)

  
 Collaborative editing for OCaml projects / Ocamlscript
Ocamlscript is a tool which allows to use OCaml as a fast scripting language.
The main advantage over traditional scripting languages is speed since now OCaml programs are compiled to native code, not only bytecode like the ocaml command does.
Obviously I could bang out an implementation in ocaml Sys, but I'd have to reproduce dirname because exec-ing is hard, etc. Seems like this should be an ocamlscript builtin.
ocaml.pbwiki.com /Ocamlscript   (973 words)

  
 Getting Started with OCaml on Mac OS X
This is the easiest way to set up a basic OCaml installation for OS X. For 10.4 (Tiger), simply download the disk image, mount the disk image, double-click on the ocaml.pkg file contained within, and follow the instructions from there.
This method uses GODI's version of OCaml and uses Fink to provide any additional third party libraries that do not come with Mac OS X. This is done because the version of OCaml in Fink is older (3.08 in the unstable branch) than the one in Godi (3.08.1 in the stable branch).
Once this is done, OCaml's configure script should be able to locate the libraries and header files required to build labltk (provided fink is set up to install its packages in the /sw directory).
wiki.cocan.org /getting_started_with_ocaml_on_mac_os_x   (1289 words)

  
 F#
F# has a core language very similar to that of OCaml, and most of the best material for learning OCaml can also be used to help learn F#.
The text assumes you are using OCaml, and it might make sense to learn OCaml simultaneously with F#, e.g.
Chapter 7 is about how to use the OCaml command-line compiler and is not so relevant to F#.
research.microsoft.com /fsharp/books.aspx   (433 words)

Try your search on: Qwika (all wikis)

Factbites
  About us   |   Why use us?   |   Reviews   |   Press   |   Contact us  
Copyright © 2005-2007 www.factbites.com Usage implies agreement with terms.