Giter Club home page Giter Club logo

Comments (4)

jstac avatar jstac commented on June 26, 2024 2

My idea is that we could also restructure our current lecture on parallelization into two large sections -- multiprocessing and multithreading. Then, we can introduce them separately, compare the differences, and group these functions into corresponding categories like Numba and JAX, implicit multithreading in NumPy, distributed scheduler (multiprocessing/multithreading) in Dask... so that the conceptual differences between them will be clear to readers.

I think you're right. Let's go with this approach for now unless @mmcky objects.

Regarding the section on multiprocessing, my first instinct is that we should just stick to dask. Thoughts on that @mmcky ? Also, we should point out that multiprocessing can be used on top of multithreading --- for example, with a cluster of machines or GPUs.

from lecture-python-programming.myst.

mmcky avatar mmcky commented on June 26, 2024 1

I agree @HumphreyYang and @jstac I think dask is the current clear pick. There are some others like multiprocessing but they aren't as general or as simple as dask (except for really simple parallelisation).

from lecture-python-programming.myst.

jstac avatar jstac commented on June 26, 2024 1

Hi @HumphreyYang and @mmcky , thanks for the input. Let's focus on dask while at least mentioning the existence of other options.

Second, with apologies, I want to reverse myself and request a separate lecture on dask / multiprocessing. One reason is that I envisage adding applications to the numba lecture and I don't want it to get too long.

I suggest we title the two lectures

  • Parallelization Part I: Multithreading
  • Parallelization Part II: Multiprocessing

If you guys agree then @HumphreyYang and @mmcky , it would be great if you could take the lead together on Part II. In the meantime I'm going to write up the JAX lecture and add one application to the numba lecture.

Regards, John.

from lecture-python-programming.myst.

HumphreyYang avatar HumphreyYang commented on June 26, 2024

Close with #263

from lecture-python-programming.myst.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.