Похожие чаты

You wrote that in Cpython?

16 ответов

7 просмотров

Yep

Ajith
Yep

compile it into a C++ library. It shouldn't matter where you run it.

Ajith
C++ Library? I actually need a python extension

ohh, i didn't read that. That's fine

Ajith
C++ Library? I actually need a python extension

A python native extension is basically a dll

Alejandro
A python native extension is basically a dll

But he said about library for c++ i think

Ajith
Ohh sorry misread.

There's two ways of extending python with C: 1) compile to a C++ lib, .dll/.so and import it directly in python using ctypes, then you wrap the functionality in python. 2) build your module in C/C++, use distutils to create a module. << you are using this aren't you?

Shlomi Fish
there are cython and https://pypi.org/project/cffi...

Note: don't confuse Cython with CPython, they are totally different things

Похожие вопросы

Обсуждают сегодня

30 BCH videos in Hausa Language successfully delivered. In December 2023, I created a Flipstarter to produce Bitcoin Cash videos in the Hausa language for greater outreach an...
Munnir
5
читать файл максимально быстро? странный вопрос))
zamtmn
53
тоесть, указав return eax, сгенерируется никому ненужная инструкция mov eax,eax ?
Aiwan \ (•◡•) / _bot
24
Посоветуйте пожалуйста аудио плеер для библиотеки mp3- FLAC на компьютере. На Винде пользовался Aimp, в том числе для конвертации. Много нужных команд было прямо в контекст...
Виктор Кузнецов
31
Hi guys , do we have update on voting?
HB
15
How Much Btc Falling Down ?
Suriya
22
Why build it new? Why not try and get projects like fjord foundry etc. to launch? There is more power in getting real adoption and other teams on than to start everything a ne...
Qrayon Shinchan
11
ᴅᴏ ʏᴏᴜ ᴋɴᴏᴡ ᴛʜᴀᴛ ʏᴏᴜ ᴄᴀɴ ꜱᴇᴄᴜʀᴇ ᴀ ᴍᴀꜱꜱɪᴠᴇ ꜰɪɴᴀɴᴄɪᴀʟ ꜰᴜᴛᴜʀᴇ ʙʏ ᴊᴏɪɴɪɴɢ ᴛʜᴇ ᴏɴ ɢᴏɪɴɢ Qᴜᴀɴᴛᴜᴍ_ᴀɪ_ʀᴏʙᴏᴛ ᴛʀᴀᴅɪɴɢ ʙʏ ᴇʟᴏɴ ᴍᴜꜱᴋ? 👇👇👇JOIN NOW https://t.me/+3Ii7e3UQKRpiZjZk https://t...
Niklas Orlowski
3
It is definitely an interesting conversation. Breaking up the users into 2 personas: 1. Someone who wants to use the products (I want “x” pegged stablecoin that provides safe...
Bueno Pues
10
Hi guys ! Anvil is out ! Time for me to stake on capacity. Does someone has a clear tutorial ? I’m thinking about buying a ledger. Is that really possible to stake directl...
Mister Grega
16
Карта сайта