Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6574489
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T15:16:05+00:00 2026-05-25T15:16:05+00:00

lately i’m trying to dive into the world of concurrent programming. at the beginning

  • 0

lately i’m trying to dive into the world of concurrent programming. at the beginning i thought the only reason of multicore processors is an improved performance of the programs. but now i’m not so sure anymore…

considering the fact that writing multithreading programs in most languages is diffucult, many tend to recommend exspecially designed languages like Erlang or Clojure as the language of choice for concurrent computing.
Sure, Erlang makes it a lot easier to write concurrent programs, but is it worth it?

i’ve look up some of the Erlang programs on shootout (yeah i know that microbenchmark doesnt say much…) and was surprised that many of the single-core C programs even outperform quad-core Erlang programs.

so my questions is, what are the advantages of languages like Erlang, Clojure etc?
why should i use a language, which makes it easy to write multicore program, when single-core programs in C/Java are even faster?

(i forgot to mention, these questions are only related to multicore machines, distributed computing is something different, and i can see Erlangs advantages here)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T15:16:05+00:00Added an answer on May 25, 2026 at 3:16 pm

    As most good answers start, it depends on what you are trying to do, and in this case it depends on what you are trying to do it on (hardware).

    Currently, there are some nice machines available with 32+ cpus on them. To utilize all these cpus requires either:

    1. You write a multi-threaded program in the language of your choice
    2. You write one single-threaded program and run lots of instances of it which all communicate in some way (to partition the workload) to solve your problem.

    Often 1 is a lot easier to do than 2.

    If you look at the “future of hardware” it appears that there is a trend towards more cpus rather than faster ones. So say, ParaCCC (imaginary language) is 10x slower than C, but you have a machine with 512 cpus on it that ParaCCC (for our problem) can utilize. In theory the ParaCCC program will run 51x faster than the C program. Without a rewrite. Plus C is typically not know for its time-to-market, where-as this is another boast of these new languages.

    Also, you are probably not considering that most programs that do any amount of I/O end up multi-threaded anyway, since you tend to use different threads for I/O than processing, and you don’t want a single slow client slowing you down (obviously C can do this but the threaded model commonly looks a lot nicer).

    Regarding Erlang, I asked a related question here: How many CPUs are needed before Erlang is faster than single-threaded Java the answers of which have a lot more details and arguments along these lines…

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Lately all modern programming languages have a definitive web site to support, distribute, learn
Lately I have been playing around with intents and bundles. I thought I had
lately I am more a user of the Scala Programming Language than C++, And
Lately something weird has been happening to my projects in xcode: I've been trying
Lately I've been running into some subtle layout issues in my iOS app. For
Lately we've been getting into a bit of co-development, and I don't think I'm
Lately I have gotten into SNMP agent development and have been using the 30
Lately I have started to put more and more functions into header files, mostly
Lately I have been doing some numerical method programming in C. For the bug
Lately I used a lot of C# for Windows. I am trying to stick

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.