mirror of
				https://github.com/bspeice/speice.io
				synced 2025-11-04 02:20:36 -05:00 
			
		
		
		
	Note on technical similarities.
This commit is contained in:
		@ -75,4 +75,4 @@ DEPENDENCIES
 | 
				
			|||||||
  tzinfo-data
 | 
					  tzinfo-data
 | 
				
			||||||
 | 
					
 | 
				
			||||||
BUNDLED WITH
 | 
					BUNDLED WITH
 | 
				
			||||||
   1.17.3
 | 
					   2.1.4
 | 
				
			||||||
 | 
				
			|||||||
@ -1,6 +1,6 @@
 | 
				
			|||||||
---
 | 
					---
 | 
				
			||||||
layout: post
 | 
					layout: post
 | 
				
			||||||
title: "Release the GIL: Part 2 - Pybind11, PyO3"
 | 
					title: "Release the GIL: Pybind11, PyO3"
 | 
				
			||||||
description: "More Python Parallelism"
 | 
					description: "More Python Parallelism"
 | 
				
			||||||
category:
 | 
					category:
 | 
				
			||||||
tags: [python, rust, c++]
 | 
					tags: [python, rust, c++]
 | 
				
			||||||
@ -26,8 +26,11 @@ and Python", and they certainly deliver on that. Setting up a hybrid project whe
 | 
				
			|||||||
and Python (using setuptools) could coexist was straight-forward, and the repository also works as
 | 
					and Python (using setuptools) could coexist was straight-forward, and the repository also works as
 | 
				
			||||||
[a template](https://github.com/speice-io/release-the-gil-pybind11/settings) for future projects.
 | 
					[a template](https://github.com/speice-io/release-the-gil-pybind11/settings) for future projects.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
TODO: Include anything about how Pybind11 and Cython are similar because of compilation to C++?
 | 
					On a technical level, there's a great deal of overlap between Pybind11 and Cython. Where Pybind11
 | 
				
			||||||
Maybe also talk about project setup being a good deal more complicated?
 | 
					starts with C++ and facilitates interaction with the interpreter, Cython starts with a Python-like
 | 
				
			||||||
 | 
					language and facilitates interaction with other code written in C++. In a way, Pybind11 is for C++
 | 
				
			||||||
 | 
					developers who want to interact with Python, and Cython is for Python developers who want to
 | 
				
			||||||
 | 
					interact with C++.
 | 
				
			||||||
 | 
					
 | 
				
			||||||
Just like the previous post, we'll examine a simple Fibonacci sequence implementation to demonstrate
 | 
					Just like the previous post, we'll examine a simple Fibonacci sequence implementation to demonstrate
 | 
				
			||||||
how Python's threading model interacts with Pybind11:
 | 
					how Python's threading model interacts with Pybind11:
 | 
				
			||||||
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user