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 6591921
In Process

The Archive Base Latest Questions

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

I am working on a quite big project: The program has to do multiple

  • 0

I am working on a quite big project:
The program has to do multiple tasks at the same time and each of them does hundreds of complicated calculations each second. The program has to be working 24/7. As I am not a proffessionnal programmer and I don’t know how memory and CPU is handled by this kind of program, I request your help.

The program has different functions to do during the week and than during the weekend.
I know two languages pretty well, Python and C#.

  1. I need this application to be fast, so for the calculations I think c# will handle them more quickly.

  2. The program has to work 24/7 so I might think that a Python written project with several little scripts that call eachother for the multiples tasks working permanently, would work better than a Big C# code.

  3. How to write it the best way?

I am thinking of writing it in pseudo-code like

// During the week
function1 ()
{
    do
    {
        ...
        huge code and functions call here
        ...
    }
    while DateTime < Friday 23:59

    if DateTime = Friday 23:59
    {
        function2()
        function1.close
    }
}

// During the weekend
function2 ()
{
    do
    {
        ...
        different code and functions call here
        ...
    }
    while DateTime < Sunday 23:59

    if DateTime = Sunday 23:59
    {
        function1()
        function2.close
    }
}

What is the best approach for this problem? It is a quite large question but any kind advice is welcomed. Thanks

EDIT
Question is: the program is quite complicated with hundreds of functions and calculations. I want it to be the fastest and lowest memory consuming. How to write it best?

  • 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-25T17:29:17+00:00Added an answer on May 25, 2026 at 5:29 pm

    If you need speed, numpy can help you, it’s really fast (it’s based on atlas, blas, lapack).
    I don’t know if you can use it in C#.

    If you have a lot of calculations to do, you should find a way to store results in case something crash. Moreover maybe you can find a way to optimize using cache. Otherwise you can try using several computer using libs like “mpi”. Anyway, you should consider those points in order to be able to be scalable.

    Depending on where is the calculations cost python could be a good choice as c#. If the calculations could be done using a third library then it doesn’t really matter.

    But i agree with obrok, avoid mix languages and try to keep it simple as possible.

    For memory maybe using cache could be a good thing or you should cut your calculations into smaller part. Looking into numpy/scipy functions could help you.

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

Sidebar

Related Questions

I'm working on a big Qt application with multiple widgets which are quite complex.
I'm working on quite complicated project, in terms of business-logic quantity and quantity of
We're working on quite big project and decided use GIT for version control. I've
I'm currently working on a project involving saving/loading quite big MAT files (around 150
I'm working with quite a big codebase which compiles fine in linux but vc++
I'm working on my first Ruby on Rails aplication and it's quite big (at
I am refurbishing a big CMS that I have been working on for quite
I am working on quite a large DB based project and I like the
I'm trying to make it working for quite some time,but just can't seem to
I am having tons of fun working on a big project that was, for

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.