Skip to main content

Questions tagged [asynchronous]

Asynchronous programming is simply allowing some portions of code to be executed on separate threads. It makes your applications perform better, be more responsive, and use the resources of the system they are running on to the fullest extent.

6 votes
1 answer
114 views

I made this executable because I used to play on a MUD, which was essentially a server to which you connect to through telnet to play in a multiplayer world. What annoyed me was how difficult it was ...
Chip01's user avatar
  • 687
-5 votes
0 answers
85 views

After another second thought from the second thoughts series Object oriented programming deque implementation (after second thought) it turns out using static methods alternatively to method ...
user294861's user avatar
-1 votes
2 answers
186 views

Another second thought from the second thoughts series Object oriented programming deque implementation (after second thought) led to disposing if statements ...
user294861's user avatar
-7 votes
1 answer
128 views

The java.util.Deque implementation from Object oriented programming deque implementation that consists of three elements linked arrays, each array holding reference ...
user avatar
2 votes
1 answer
88 views

About the Project This was a go/no go prototype for a project that would store the data a combined personal planner software with project planning software in a relational database. It was also a ...
pacmaninbw's user avatar
  • 26.2k
1 vote
0 answers
69 views

About the Project This is a unit test and a prototype for the database portion of a project that would store the data a combined personal planner software with project planning software in a ...
pacmaninbw's user avatar
  • 26.2k
3 votes
1 answer
52 views

I have implemented a timer in Jetpack Compose. It counts down a given amount of seconds. The remaining seconds are displayed. Moreover the past and remaining seconds are displayed as a circular graph. ...
michael.zech's user avatar
  • 5,042
3 votes
1 answer
145 views

Abstract Problem The basic problem is that of producer/consumer. Wait for an async Producer to [produce an item] or [fail], together with a timeout on the consumer side. Using Java's ...
JayC667's user avatar
  • 131
4 votes
1 answer
116 views

Disclaimer: I am not a fan of the then concept, specifically as a mutating non-static member function. As of now, it has only been introduced as part of the ...
Sergey Kolesnik's user avatar
2 votes
1 answer
99 views

I need to query a large number of domains stored in a CSV file and save the associated metadata from the responses. My final goal is to generate a CSV file after applying filters to this metadata. The ...
Lo Bellin's user avatar
  • 121
5 votes
1 answer
285 views

I've created a method which allows to run tasks where results might not be fully computed but still are considered valid. ExecuteFor method can be used if you have ...
FlameHorizon's user avatar
2 votes
1 answer
337 views

This is my first attempt at a real life app in Rust. I would mostly like to know if I am writing idiomatic Rust code, coming from Java and Python. I'll appreciate any pointers to improvements, though. ...
8192K's user avatar
  • 121
1 vote
0 answers
115 views

Here is a tiny (cli) tool to run a script with the state of any of a set of watched files when one of them is opened or closed. It applies basic debouncing to handle bursty access. It was written to ...
2e0byo's user avatar
  • 321
3 votes
1 answer
569 views

The locking mechanism is implemented in the class RW_Lock. The saved_async_completion_handler structure is used in ...
DeltA's user avatar
  • 133
7 votes
1 answer
1k views

I try to implement this scenario with a producer/consumer multithread pattern and I'd like to optimize synchronization and memory model directive used. This code originates from a SO question and its ...
Oersted's user avatar
  • 337

15 30 50 per page
1
2 3 4 5
35