multithreading - Where to begin serious concurrent (multi-threaded, parallel ?) programming -


i want begin multi-threaded/parallel/concurrent programming in real world. mean trying solve real problems in parallel , concurrently , not learning low-level details of pthread or mpi, locks, races , or academic, text-book examples. regarding low level mechanism of parallel programming, in fact rather not know them , stick more actor model :).

i have heard programming languages inherently looking , paradigm @ problem @ hand in parallel (concurrent, multi-threaded, multi-processed) fashion , provide language level tools , constructs implement task in parallel (e.g. erlang has concept of process language construct?).

i fancy language type system of scala ... know php , used lot of coding in c/c++. have working knowledge of scala , java , can read haskell i'm not particularity proficient @ it. i'm quite familiar functional paradigm , i'm willing learn more. interested in high level theoretical discussions parallelism/concurrency.

i'd mention first off parallel != concurrent. they're closely related concepts, parallel computation distinction concurrent computation in parallel flows of control happen simultaneously while concurrent may interleaved possibly parallel. fine hair split, 1 that's important understand.

... provide language level tools , constructs implement task in parallel (e.g. erlang has concept of process language construct?).

an erlang 'process' light-weight, memory isolated green thread. language provides no shared memory constructs; data passed between concurrent flows of control via 'messages'. notice said 'concurrent'. erlang explicitly designed concurrent language and, happens, schedule flows of control--which map 1:1 onto processes--in parallel. erlang not give explicit control on scheduling, unlike threading model.

it's hard know you're looking for--your question rather broad--but of languages you've mentioned (except maybe php?) allow exploit multiple cpus surely sitting in computer. pick several focus on, expect spend several years studying , go it.


Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -