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

  • Home
  • SEARCH
  • 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 148945
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T09:02:56+00:00 2026-05-11T09:02:56+00:00

If you plan to write a very computationally intensive parallel application, what guidelines would

  • 0

If you plan to write a very computationally intensive parallel application, what guidelines would you use to design your objects (whether classes or structs, or anything else) to maximize your potential of getting the most out of the parallelism.

I am thinking of an application that say interprets/compiles a tree-like graph of objects that require creating stuff, passing it to another object to be processed, and so on, with tree like structure.

What should one consider from the early design process?

  • 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. 2026-05-11T09:02:56+00:00Added an answer on May 11, 2026 at 9:02 am

    If you’re creating stuff and then passing it to be processed then almost surely you can design your application to make use of message passing and object isolation.

    First step will be identify responsibilities, that is, identifying who is gonna handle what. Every who is rounded by a box.

    Second step will be defining the information flow between your boxes, that is, if A produces X… who consumes it?

    After that two steps you’ll have a simple graph with leafs representing workers and arrows representing messages. Every arrow represents a dependency order (that is, if an arrow goes from A to B then A needs to be executed before B).

    With this you’ll be able to easily see what actions can be made parallel and what actions are indeed sequential in a graphical easy to see, easy to show way.

    Then just implement a Pipe structure to let you pass messages between workers so that every worker has a pipeline of work.

    On a final note: Once the original design is done, it’s relatively easy to refactor it in order to improve. For example, nodes which make the same work can share work PIPES, so that 8 syntax analyzer consume from the ‘lexic token’ pipe, or change it so that workers can ‘steal’ work from other workers pipes, etc.

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

Sidebar

Ask A Question

Stats

  • Questions 105k
  • Answers 105k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer That would be by: filterContext.Controller.ViewData.ModelState May 11, 2026 at 8:40 pm
  • Editorial Team
    Editorial Team added an answer Arrays are awesome for this: $str = array(); foreach (array('first','second','third','fourth')… May 11, 2026 at 8:40 pm
  • Editorial Team
    Editorial Team added an answer TDD and BDD aren't meant to be tools to measure… May 11, 2026 at 8:40 pm

Related Questions

I wrote a utility for photographers that I plan to sell online pretty cheap
I need to add DVD writing functionality to an application I'm working on. However
I'm trying to get an ASP page to work, but it keeps blowing up.
I don't plan to write applications without IB, I'm just in the process of

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.