Timeline for answer to OpenMP and Python by jfs
Current License: CC BY-SA 3.0
Post Revisions
9 events
| when toggle format | what | by | license | comment | |
|---|---|---|---|---|---|
| May 23, 2017 at 12:10 | history | edited | URL Rewriter Bot |
replaced http://stackoverflow.com/ with https://stackoverflow.com/
|
|
| Jun 13, 2014 at 12:11 | comment | added | Mike McKerns |
ctypes an give you access to shared memory in C. So it's really useful for parallel programming, as it can increase speed dramatically if you have large data that needs sharing between processes. multiprocessing and other python modules have methods that leverage shared memory through ctypes
|
|
| Dec 19, 2012 at 19:34 | vote | accept | Community Bot | ||
| Jul 6, 2012 at 21:02 | comment | added | Danica | @Inquest ctypes is only really helpful for parallelization if basically all the work is done in C functions, and your python is just a wrapper around calling them. That's not really "parallel programming in Python" but it's sometimes handy. | |
| Jul 6, 2012 at 20:36 | comment | added | user1132648 | Yeah I am aware of that. I was soliciting your comments about the viability of using ctypes for parallel programming in Python. | |
| Jul 6, 2012 at 20:34 | comment | added | jfs | @Inquest: ctypes allows you to call a couple of functions from a C library in pure Python | |
| Jul 6, 2012 at 20:33 | history | edited | jfs | CC BY-SA 3.0 |
add links to multiprocessing, numpy examples
|
| Jul 6, 2012 at 20:25 | comment | added | user1132648 |
Any comments on ctypes in Python (Regular)?
|
|
| Jul 6, 2012 at 20:20 | history | answered | jfs | CC BY-SA 3.0 |