Live data from Hacker News

Show HN: Another C++ Lua Wrapper

github.com

1–10 of 13 posts

Re: Show HN: Another C++ Lua Wrapper

#2
Looks interesting. I've recently released a C++ project that embeds Lua (https://github.com/systemed/tilemaker, a utility to make 'vector tiles' directly from OpenStreetMap data dumps) but installation of Luabind is pretty much the pain point for everyone who's tried it. (bjam? I mean, why?) A header-only library is really tempting.

Re: Show HN: Another C++ Lua Wrapper

#3

Looks interesting. I've recently released a C++ project that embeds Lua ( https://github.com/systemed/tilemaker , a utility to make 'vector tiles' directly from OpenStreetMap data dumps) but installation of Luabind is pretty much the pain point for everyone who's tried it. (bjam? I mean, why?) A header-only library is really tempting.

Hope it works for you - love to hear some additional feedback.

Re: Show HN: Another C++ Lua Wrapper

#4

Looks interesting. I've recently released a C++ project that embeds Lua ( https://github.com/systemed/tilemaker , a utility to make 'vector tiles' directly from OpenStreetMap data dumps) but installation of Luabind is pretty much the pain point for everyone who's tried it. (bjam? I mean, why?) A header-only library is really tempting.

Hope it works for you - love to hear some additional feedback.

Seems really well done and well documented. Sorry to ask this without exploring the code myself (!), but there is a check in common.hpp for C++14 compliant compiler. What features of C++14 are you using in this project?

Re: Show HN: Another C++ Lua Wrapper

#5
post #4

Earlier quoted context omitted.

Hope it works for you - love to hear some additional feedback.

Seems really well done and well documented. Sorry to ask this without exploring the code myself (!), but there is a check in common.hpp for C++14 compliant compiler. What features of C++14 are you using in this project?

Yes, there is a check - it's the very first thing: https://github.com/vapourismo/luwra/blob/master/lib/luwra/co.... Can't speak as to what features of C++14 are being used.

Re: Show HN: Another C++ Lua Wrapper

#6
If you've written this, presumably you've found something lacking in the other eight billion Lua/C++ bindings (I agree, they all have major deficiencies, such that Luabind remains my "least bad" choice).

Could you explain exactly what yours does differently?

Re: Show HN: Another C++ Lua Wrapper

#7
post #4

Earlier quoted context omitted.

Hope it works for you - love to hear some additional feedback.

Seems really well done and well documented. Sorry to ask this without exploring the code myself (!), but there is a check in common.hpp for C++14 compliant compiler. What features of C++14 are you using in this project?

From what I can see (quick glance) he uses integer_sequence https://github.com/vapourismo/luwra/blob/56a566dd9e20fc7e3c9...

Re: Show HN: Another C++ Lua Wrapper

#8
post #6

If you've written this, presumably you've found something lacking in the other eight billion Lua/C++ bindings (I agree, they all have major deficiencies, such that Luabind remains my "least bad" choice). Could you explain exactly what yours does differently?

Could you elaborate on common deficiencies? What does Luabind get right? What are its shortcomings?

Re: Show HN: Another C++ Lua Wrapper

#9
post #6

If you've written this, presumably you've found something lacking in the other eight billion Lua/C++ bindings (I agree, they all have major deficiencies, such that Luabind remains my "least bad" choice). Could you explain exactly what yours does differently?

this wrapper seems to be leveraging the new C++ features to provide type-safe attribute maps, while avoiding dependencies on boost (for example, the other popular wrapper, luabind wrapper depends on boost). This is just from my initial reading.
Post reply on HN