Skip to content
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

Pass #1

Open
violaso opened this issue May 23, 2022 · 0 comments
Open

Pass #1

violaso opened this issue May 23, 2022 · 0 comments

Comments

@violaso
Copy link

violaso commented May 23, 2022

Well done Oliver!

Fun fact: This course, DD1396 Parallel Programming in Introduction to Computer Science, doesn't feature parallelism. Gorutines are mainly concurrent, sometimes executed in parallel on different cores. They are implemented as tasks and are scheduled on OS-threads. Thus process partitioning might, in certain contexts, not be effective. Every process in Go is carried by goroutines; the main function is running on the main goroutine. Goroutines also don't have to be run directly after creation, but are queued in wait for an execution window. Therefore, programmers cannot be sure that gorutine results are produced in a foreseen manner.

Here are some notes:

Fractal Images

The original instructions state:

Make sure you add a comment in julia.go with your original runtime and your improved runtime.

Did you? Your answer: My program uses all available cpus and is about 5 times faster.

MapReduce

Damn, your computer is faster than mine.

Keep it up!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant