Topic: Prototype library for new std::function features
Author: David Krauss <potswa@gmail.com>
Date: Sat, 6 Jun 2015 17:45:23 +0800
Raw View
--Apple-Mail=_BADEDD48-448D-406A-90D0-2847868F89C3
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset=UTF-8
I=E2=80=99ve created a library to test some new ideas for std::function.
https://github.com/potswa/cxx_function
It=E2=80=99s just a couple weeks old, but it=E2=80=99s worth a spin! It=E2=
=80=99s mostly =E2=80=9Cfeature-complete=E2=80=9D but benchmarking and real=
-world testing would be nice. It should, in general and case-by-case, perfo=
rm better than libstdc++ and libc++, if you=E2=80=99re interested in that a=
spect.
Some of the features have already been formally proposed as N4543. This lib=
rary completely implements that proposal, with a little renaming.
Share and enjoy!
--=20
---=20
You received this message because you are subscribed to the Google Groups "=
ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-proposals@isocpp.org.
Visit this group at http://groups.google.com/a/isocpp.org/group/std-proposa=
ls/.
--Apple-Mail=_BADEDD48-448D-406A-90D0-2847868F89C3
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html; charset=UTF-8
<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html charset=
=3Dutf-8"></head><body style=3D"word-wrap: break-word; -webkit-nbsp-mode: s=
pace; -webkit-line-break: after-white-space;" class=3D"">I=E2=80=99ve creat=
ed a library to test some new ideas for <font face=3D"Courier" class=3D"">s=
td::function</font>.<div class=3D""><br class=3D""></div><div class=3D""><s=
pan class=3D"Apple-tab-span" style=3D"white-space:pre"> </span><a href=3D"h=
ttps://github.com/potswa/cxx_function" class=3D"">https://github.com/potswa=
/cxx_function</a></div><div class=3D""><br class=3D""></div><div class=3D""=
>It=E2=80=99s just a couple weeks old, but it=E2=80=99s worth a spin! It=E2=
=80=99s mostly =E2=80=9Cfeature-complete=E2=80=9D but benchmarking and real=
-world testing would be nice. It should, in general and case-by-case, perfo=
rm better than libstdc++ and libc++, if you=E2=80=99re interested in that a=
spect.</div><div class=3D""><br class=3D""></div><div class=3D"">Some of th=
e features have already been formally proposed as N4543. This library compl=
etely implements that proposal, with a little renaming.</div><div class=3D"=
"><br class=3D""></div><div class=3D"">Share and enjoy!</div></body></html>
<p></p>
-- <br />
<br />
--- <br />
You received this message because you are subscribed to the Google Groups &=
quot;ISO C++ Standard - Future Proposals" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:std-proposals+unsubscribe@isocpp.org">std-proposa=
ls+unsubscribe@isocpp.org</a>.<br />
To post to this group, send email to <a href=3D"mailto:std-proposals@isocpp=
..org">std-proposals@isocpp.org</a>.<br />
Visit this group at <a href=3D"http://groups.google.com/a/isocpp.org/group/=
std-proposals/">http://groups.google.com/a/isocpp.org/group/std-proposals/<=
/a>.<br />
--Apple-Mail=_BADEDD48-448D-406A-90D0-2847868F89C3--
.
Author: TONGARI J <tongari95@gmail.com>
Date: Sat, 6 Jun 2015 21:23:47 +0800
Raw View
--089e014947ac9891bb0517d9514b
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
2015-06-06 17:45 GMT+08:00 David Krauss <potswa@gmail.com>:
> I=E2=80=99ve created a library to test some new ideas for std::function.
>
> https://github.com/potswa/cxx_function
>
> It=E2=80=99s just a couple weeks old, but it=E2=80=99s worth a spin! It=
=E2=80=99s mostly
> =E2=80=9Cfeature-complete=E2=80=9D but benchmarking and real-world testin=
g would be nice.
> It should, in general and case-by-case, perform better than libstdc++ and
> libc++, if you=E2=80=99re interested in that aspect.
>
> Some of the features have already been formally proposed as N4543. This
> library completely implements that proposal, with a little renaming.
>
> Share and enjoy!
>
I just added your code into my CxxFunctionBenchmark:
https://github.com/jamboree/CxxFunctionBenchmark
But I can't compile your code with g++4.9.2 and MSVC2015, which are the
compilers I have at hand. It'd be appreciated if someone can run
various.cpp and overload.cpp and report the results here.
--=20
---=20
You received this message because you are subscribed to the Google Groups "=
ISO C++ Standard - Future Proposals" group.
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to std-proposals+unsubscribe@isocpp.org.
To post to this group, send email to std-proposals@isocpp.org.
Visit this group at http://groups.google.com/a/isocpp.org/group/std-proposa=
ls/.
--089e014947ac9891bb0517d9514b
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">2015=
-06-06 17:45 GMT+08:00 David Krauss <span dir=3D"ltr"><<a href=3D"mailto=
:potswa@gmail.com" target=3D"_blank">potswa@gmail.com</a>></span>:<br><b=
lockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-le=
ft-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;pad=
ding-left:1ex"><div style=3D"word-wrap:break-word">I=E2=80=99ve created a l=
ibrary to test some new ideas for <font face=3D"Courier">std::function</fon=
t>.<div><br></div><div><span style=3D"white-space:pre-wrap"> </span><a href=
=3D"https://github.com/potswa/cxx_function" target=3D"_blank">https://githu=
b.com/potswa/cxx_function</a></div><div><br></div><div>It=E2=80=99s just a =
couple weeks old, but it=E2=80=99s worth a spin! It=E2=80=99s mostly =E2=80=
=9Cfeature-complete=E2=80=9D but benchmarking and real-world testing would =
be nice. It should, in general and case-by-case, perform better than libstd=
c++ and libc++, if you=E2=80=99re interested in that aspect.</div><div><br>=
</div><div>Some of the features have already been formally proposed as N454=
3. This library completely implements that proposal, with a little renaming=
..</div><div><br></div><div>Share and enjoy!</div></div></blockquote><br>I j=
ust added your=C2=A0code=C2=A0into my CxxFunctionBenchmark: <a href=3D"http=
s://github.com/jamboree/CxxFunctionBenchmark">https://github.com/jamboree/C=
xxFunctionBenchmark</a></div><br>But I can't compile your code with g++=
4.9.2 and MSVC2015, which are the compilers I have at hand. It'd be app=
reciated if someone can run various.cpp and overload.cpp and report the res=
ults here.</div></div>
<p></p>
-- <br />
<br />
--- <br />
You received this message because you are subscribed to the Google Groups &=
quot;ISO C++ Standard - Future Proposals" group.<br />
To unsubscribe from this group and stop receiving emails from it, send an e=
mail to <a href=3D"mailto:std-proposals+unsubscribe@isocpp.org">std-proposa=
ls+unsubscribe@isocpp.org</a>.<br />
To post to this group, send email to <a href=3D"mailto:std-proposals@isocpp=
..org">std-proposals@isocpp.org</a>.<br />
Visit this group at <a href=3D"http://groups.google.com/a/isocpp.org/group/=
std-proposals/">http://groups.google.com/a/isocpp.org/group/std-proposals/<=
/a>.<br />
--089e014947ac9891bb0517d9514b--
.