LWN.net Logo

Python slithers into Wesnoth

Python slithers into Wesnoth

Posted Jan 16, 2009 18:19 UTC (Fri) by salimma (subscriber, #34460)
In reply to: Python slithers into Wesnoth by eru
Parent article: Python slithers into Wesnoth

Ocaml, while impressively fast, does not handle threading very well, as far as I know (and the same is true of most current functional languages).

Moving from C++ to a different language is probably harder than moving from, say, C -- most native-compiling languages have a C FFI but not C++.

Both are not insurmountable -- the first can be solved by using a multi-process design (with pipes and shared memory -- not sure how well SHM works with Ocaml though); the second is probably a deal-breaker. Python is an exception thanks to Boost::Python.


(Log in to post comments)

Python slithers into Wesnoth

Posted Jan 17, 2009 10:18 UTC (Sat) by joe_oblivian (guest, #51538) [Link]

>Ocaml, while impressively fast, does not handle threading very well, as >far as I know (and the same is true of most current functional languages).

Erlang being a notable exception.

Python slithers into Wesnoth

Posted Jan 18, 2009 12:21 UTC (Sun) by rwmj (guest, #5474) [Link]

No language handles concurrency well (except, maybe Erlang and some very experimental
languages involving transactional memory).

(BTW, shared memory works fine with OCaml - it's even supported by the stdlib).

Copyright © 2012, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds