Jump to content

Tech related topic


AnotherTeluguBidda

Recommended Posts

Multithreading always been a weak point. Work lo kooda ekkuva use cheyyale. Irrespective of language, Ikkada evaraina thopulu unnara aa topic lo. Ela prepare avvali asalu?

Link to comment
Share on other sites

42 minutes ago, AnotherTeluguBidda said:

Multithreading always been a weak point. Work lo kooda ekkuva use cheyyale. Irrespective of language, Ikkada evaraina thopulu unnara aa topic lo. Ela prepare avvali asalu?

now a days most of the programming languages are abstracted core thread concepts in to simple concepts like...

  • Async / Await
  • UI Thread vs Background Thread
  • Parallel Programming

 

if we know these properly...thats enough for most of the jobs...

 

Link to comment
Share on other sites

1 hour ago, AnotherTeluguBidda said:

Multithreading always been a weak point. Work lo kooda ekkuva use cheyyale. Irrespective of language, Ikkada evaraina thopulu unnara aa topic lo. Ela prepare avvali asalu?

understand with simple example like a barber shop 

one barber vs serving multiple clients 

multiple barbers vs serving multiple clients

plus how to efficiently use every barber more effectively at all times

that is the reason there are algorithms already implemented 

am not thopu and a regular java barber

Link to comment
Share on other sites

7 minutes ago, afacc123 said:

understand with simple example like a barber shop 

one barber vs serving multiple clients 

multiple barbers vs serving multiple clients

plus how to efficiently use every barber more effectively at all times

that is the reason there are algorithms already implemented 

am not thopu and a regular java barber

@3$%

Link to comment
Share on other sites

1 hour ago, afacc123 said:

understand with simple example like a barber shop 

one barber vs serving multiple clients 

multiple barbers vs serving multiple clients

plus how to efficiently use every barber more effectively at all times

that is the reason there are algorithms already implemented 

am not thopu and a regular java barber

Oka barber multiple clients ki okesari ela chestadu mastaru one by one kada chesedi

Link to comment
Share on other sites

9 hours ago, dasari4kntr said:

now a days most of the programming languages are abstracted core thread concepts in to simple concepts like...

  • Async / Await
  • UI Thread vs Background Thread
  • Parallel Programming

 

if we know these properly...thats enough for most of the jobs...

 

All three are different 

Async/Await is based on message processing in the Javascript main event loop. It looks like threading but is not.

UI Thread Vs Background thread - There are many things that fall under this category. Threading may be one

Parallel programming - This is something that is used High performance computing using OpenMP and MPI. Weather prediction or running Genome model. If you are able to divide a task in smaller pieces, then this is the best way to solve the problem using multiple system.

Link to comment
Share on other sites

2 hours ago, kathiramdasu said:

All three are different 

Async/Await is based on message processing in the Javascript main event loop. It looks like threading but is not.

UI Thread Vs Background thread - There are many things that fall under this category. Threading may be one

Parallel programming - This is something that is used High performance computing using OpenMP and MPI. Weather prediction or running Genome model. If you are able to divide a task in smaller pieces, then this is the best way to solve the problem using multiple system.

aync await ante javascript terms ee kaddhu...C# lo kooda vunnai.. (infact in javascript async await are syntactical suger coat of PROMISES)

i dont think these are different...all are intended to run the things on multiple threads...

with these concepts the thread core concepts like thread synchronizing, thread blocking and signals..etc become easy now a days...

  • Thanks 1
Link to comment
Share on other sites

Concurrency vs Parallelism is a very good topic I’m also interested in.

multi threading is not pure parallel core programming. 
 

if any one has more resources or time please let me know more to discuss about this. 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...