-
-
Notifications
You must be signed in to change notification settings - Fork 349
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New exercise for Asynchronous programming in C# #1894
Comments
We have the same exercise (https://github.com/exercism/csharp/tree/main/exercises/practice/parallel-letter-frequency), but it looks like the implementation is actually wrong and uses synchronous code. Would you be interested in converting the exercise to allow for asynchronous (rather: parallel) programming? |
@ErikSchierboom - sure! I've never contributed a scenario to Exercism - but if you can point me the necessary reqs (Unit testing etc) and assign the issue to me, I'm happy to contribute. |
@mdrakiburrahman You don't even have to create a new scenario, just to update the existing one to accommodate for people using parallel execution. So what I think needs to be done is to change the
Finally, you should also add yourself to the exercise's contributors list in https://github.com/exercism/csharp/blob/main/exercises/practice/parallel-letter-frequency/.meta/config.json#L5 |
Hi, However - I seem to be missing the goal of the exercise - what to do and what the output should be? So...what am I missing? |
Did you check the |
I didn't. However, based on your suggestion, I found file instructions.md, which contains this: Parallelism is about doing things in parallel that can also be done sequentially. A common example is counting the frequency of letters. Create a function that returns the total frequency of each letter in a list of texts and that employs parallelism. Which doesn't tell me much, but in the meantime I figured that out from the tests. What I got stuck on is - I'm supposed to make things parallel. |
How are you doing these exercises? You should be doing them via the website: https://exercism.org/tracks/csharp/exercises Then you can either use the CLI or the online editor. |
I downloaded the code from one of your previous comments in this thread (https://github.com/exercism/csharp/tree/main/exercises/practice/parallel-letter-frequency) Does that have any connection to the fact that if something's calling my method in a non-async way and I want to do the method run threads, which forces me to make it async...which I can't do...etc. etc. etc. |
Meaning you didn't use the CLI? If so, please do that. And you can use the exercism discord channel for questions. Link is on the website |
I did not. I also don't know how. I found your exercise and I wanted to learn something by doing it. And that something is not where is the entry point to the world of your exercises. |
It would be great to have an exercise on Async programming as it is used in many real world dotnet applications.
The Golang track had one called "Prallel Letter Frequency"that introduce Goroutines, which I found quite useful.
The text was updated successfully, but these errors were encountered: