# Introducing Boost.PHP - PHP Extensions in C++, in a minute

- Thread: https://externals.io/message/39430
- Original archive: https://news-web.php.net/php.internals/39430
- Started by Moriyoshi Koizumi on 2008-07-29T12:58:22+00:00
- Messages: 9
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #39430 — Moriyoshi Koizumi — 2008-07-29T12:58:22+00:00

URL: https://externals.io/message/39430#39430

Hi folks,

I created a library that may draw some attention. Boost.PHP is a set  
of macros and C++ classes that wrap around common Zend Engine structs  
that allow you to create a PHP extension in C++, in a very efficient  
way. Most notably, you no longer need most of the ZE macros and APIs  
like ZEND_FE and zend_parse_parameters() since the library  
automagically handles the signatures of your C++ functions and  
enables them to be exposed just as they are.

For further information, please look at the dedicated wiki page on  
github:
http://github.com/moriyoshi/boost.php/wikis

Regards,
Moriyoshi

---

## #39433 — Moriyoshi Koizumi — 2008-07-29T13:59:00+00:00

URL: https://externals.io/message/39430#39433 · In reply to: #39432

Nope, but I'm thinking of proposing it as soon as I finish the  
documentation.

Moriyoshi



> On Tue, Jul 29, 2008 at 2:58 PM, Moriyoshi Koizumi
> <moriyoshi@at.wakwak.com> wrote:
> > […]
>
> Is Boost.PHP affiliated with boost.org ?
>
> --
> troels

---

## #39432 — troels knak-nielsen — 2008-07-29T14:00:12+00:00

URL: https://externals.io/message/39430#39432 · In reply to: #39430

On Tue, Jul 29, 2008 at 2:58 PM, Moriyoshi Koizumi
<moriyoshi@at.wakwak.com> wrote:
> Hi folks,
>
> I created a library that may draw some attention. Boost.PHP is a set of
> macros and C++ classes that wrap around common Zend Engine structs that

Is Boost.PHP affiliated with boost.org ?

--
troels

---

## #39449 — Marcus Boerger — 2008-07-30T00:48:46+00:00

URL: https://externals.io/message/39430#39449 · In reply to: #39433

Hello Moriyoshi,

  actually you should place it as a PHP module. Boost provides core level
  stuff and algorithmns and such. This is a highly specialized bridge.

marcus

Tuesday, July 29, 2008, 3:59:00 PM, you wrote:

> Nope, but I'm thinking of proposing it as soon as I finish the  
> documentation.

> Moriyoshi

> 

> > […]





Best regards,
 Marcus

---

## #39452 — Stefan Walk — 2008-07-30T07:14:07+00:00

URL: https://externals.io/message/39430#39452 · In reply to: #39449

Marcus Boerger schrieb:
> Hello Moriyoshi,
> 
>   actually you should place it as a PHP module. Boost provides core level
>   stuff and algorithmns and such. This is a highly specialized bridge.
> 
> marcus

Just like Boost.Python 
(http://www.boost.org/doc/libs/1_35_0/libs/python/doc/index.html) ;)

Regards,
Stefan

---

## #39453 — Marcus Boerger — 2008-07-30T07:19:24+00:00

URL: https://externals.io/message/39430#39453 · In reply to: #39452

Hello Stefan,

    which doesn't belong there either.

marcus

Wednesday, July 30, 2008, 9:14:07 AM, you wrote:

> Marcus Boerger schrieb:
> > […]

> Just like Boost.Python 
> (http://www.boost.org/doc/libs/1_35_0/libs/python/doc/index.html) ;)

> Regards,
> Stefan




Best regards,
 Marcus

---

## #39455 — Moriyoshi Koizumi — 2008-07-30T07:45:03+00:00

URL: https://externals.io/message/39430#39455 · In reply to: #39453

Hi Marcus,

Really? I haven't heard anything like that.

MOriyoshi



> Hello Stefan,
>
>     which doesn't belong there either.
>
> marcus
>
> Wednesday, July 30, 2008, 9:14:07 AM, you wrote:
>
> > […]
>
> > […]
>
> > […]
>
>
>
>
> Best regards,
>  Marcus

---

## #39456 — Marcus Boerger — 2008-07-30T07:55:59+00:00

URL: https://externals.io/message/39430#39456 · In reply to: #39455

Hello Moriyoshi,

  that's just my opinion. Bridges belong with the language not with a
random library.

marcus

Wednesday, July 30, 2008, 9:45:03 AM, you wrote:

> Hi Marcus,

> Really? I haven't heard anything like that.

> MOriyoshi

> 

> > […]




Best regards,
 Marcus

---

## #39476 — david.zuelke@bitextender.com — 2008-07-30T18:33:40+00:00

URL: https://externals.io/message/39430#39476 · In reply to: #39430

Just wanted to say... awesome! Great job.

- David


Am 29.07.2008 um 14:58 schrieb Moriyoshi Koizumi:

> Hi folks,
>
> I created a library that may draw some attention. Boost.PHP is a set  
> of macros and C++ classes that wrap around common Zend Engine  
> structs that allow you to create a PHP extension in C++, in a very  
> efficient way. Most notably, you no longer need most of the ZE  
> macros and APIs like ZEND_FE and zend_parse_parameters() since the  
> library automagically handles the signatures of your C++ functions  
> and enables them to be exposed just as they are.
>
> For further information, please look at the dedicated wiki page on  
> github:
> http://github.com/moriyoshi/boost.php/wikis
>
> Regards,
> Moriyoshi
