Re: Botan Crypto and TLS for D

2015-03-25 Thread Chris Desjardins via Digitalmars-d
On Wednesday, 18 February 2015 at 04:17:16 UTC, Rikki Cattermole wrote: On 18/02/2015 5:01 p.m., Etienne Cimon wrote: On 2015-02-17 20:54, Rikki Cattermole wrote: On 18/02/2015 10:00 a.m., Etienne wrote: I'd like to announce the first release of Botan, which implements all features of v1.11.1

Re: Botan Crypto and TLS for D

2015-02-18 Thread Dragos Carp via Digitalmars-d
You're right it did sound like that. It was partly preference and partly a need for the circular buffer to solve futures and promises following this issue: Some weeks ago I made a PR [1] which adds popFrontN to std.array.Appender transforming it in a circular buffer. Please provide your feedb

Re: Botan Crypto and TLS for D

2015-02-18 Thread Etienne Cimon via Digitalmars-d
On 2015-02-18 14:50, Andrei Alexandrescu wrote: This is integration tactics that will need to be resolved. I don't see them as showstoppers. -- Andrei You're right it did sound like that. It was partly preference and partly a need for the circular buffer to solve futures and promises following

Re: Botan Crypto and TLS for D

2015-02-18 Thread Etienne via Digitalmars-d
On Windows, both x64 and x86 builds return a corrupt symbol table when building with debug symbols, and x64 doesn't work in release. For now I can build release/x86 only (although I get some unrelated bugs). I'm not sure but it seems like a problem with DMD for which I could use some help :-p

Re: Botan Crypto and TLS for D

2015-02-18 Thread Andrei Alexandrescu via Digitalmars-d
On 2/18/15 9:32 AM, Etienne Cimon wrote: On 2015-02-18 11:41, Andrei Alexandrescu wrote: I'd love to add libasync to Phobos! -- Andrei Even as I add this as a dependency? : https://github.com/etcimon/memutils Instead of a single ScopedFiberPool, I intend to have ScopedPools with one stack in

Re: Botan Crypto and TLS for D

2015-02-18 Thread Etienne Cimon via Digitalmars-d
On 2015-02-18 11:41, Andrei Alexandrescu wrote: I'd love to add libasync to Phobos! -- Andrei Even as I add this as a dependency? : https://github.com/etcimon/memutils Instead of a single ScopedFiberPool, I intend to have ScopedPools with one stack in fiber, another in thread, and using the

Re: Botan Crypto and TLS for D

2015-02-18 Thread Andrei Alexandrescu via Digitalmars-d
On 2/18/15 5:46 AM, Paolo Invernizzi wrote: On Wednesday, 18 February 2015 at 12:28:11 UTC, Etienne Cimon wrote: On 2015-02-18 07:17, Jacob Carlborg wrote: On 2015-02-18 02:14, Etienne Cimon wrote: My favorite part is: vibe.d projects now compiles the entire software stack into a fully-featur

Re: Botan Crypto and TLS for D

2015-02-18 Thread Andrei Alexandrescu via Digitalmars-d
On 2/18/15 6:18 AM, Martin Nowak wrote: On 02/18/2015 02:14 AM, Etienne Cimon wrote: I'll be working on HTTP/2 with websocket-style full duplex communications Glad to hear that. Please consider proposing stdlib additions. We need more of that stuff! -- Andrei

Re: Botan Crypto and TLS for D

2015-02-18 Thread Andrei Alexandrescu via Digitalmars-d
On 2/18/15 3:43 AM, Craig Dillabaugh wrote: Having said that I am really busy this week and have been having trouble finding the time simply to fill out the Melange form and submit the proposal, I will get it done, so no need to worry. Thanks Craig for taking this and running with it! -- Andrei

Re: Botan Crypto and TLS for D

2015-02-18 Thread Martin Nowak via Digitalmars-d
On 02/18/2015 02:14 AM, Etienne Cimon wrote: I'll be working on HTTP/2 with websocket-style full duplex communications Glad to hear that.

Re: Botan Crypto and TLS for D

2015-02-18 Thread Paolo Invernizzi via Digitalmars-d
On Wednesday, 18 February 2015 at 12:28:11 UTC, Etienne Cimon wrote: On 2015-02-18 07:17, Jacob Carlborg wrote: On 2015-02-18 02:14, Etienne Cimon wrote: My favorite part is: vibe.d projects now compiles the entire software stack into a fully-featured standalone executable without any license

Re: Botan Crypto and TLS for D

2015-02-18 Thread Etienne Cimon via Digitalmars-d
On 2015-02-18 05:22, ketmar wrote: On Wed, 18 Feb 2015 06:35:08 +, Joakim wrote: accompanied by benchmarks of the C++ and D code it's better to keep silence. dmd was never very good in optimising code. ;-) Not really, most of the sensitive code is optimized via native instructions, th

Re: Botan Crypto and TLS for D

2015-02-18 Thread Etienne Cimon via Digitalmars-d
On 2015-02-18 01:35, Joakim wrote: Good work. You should write up a post about the experience, perhaps accompanied by benchmarks of the C++ and D code. It will help publicize your project and let others learn from your effort. Sure, if you can somehow push this in DMD: http://forum.dlang.or

Re: Botan Crypto and TLS for D

2015-02-18 Thread Etienne Cimon via Digitalmars-d
On 2015-02-18 07:17, Jacob Carlborg wrote: On 2015-02-18 02:14, Etienne Cimon wrote: My favorite part is: vibe.d projects now compiles the entire software stack into a fully-featured standalone executable without any license issues. Isn't libevent required? Not anymore. I also wrote libasy

Re: Botan Crypto and TLS for D

2015-02-18 Thread Jacob Carlborg via Digitalmars-d
On 2015-02-18 02:14, Etienne Cimon wrote: My favorite part is: vibe.d projects now compiles the entire software stack into a fully-featured standalone executable without any license issues. Isn't libevent required? -- /Jacob Carlborg

Re: Botan Crypto and TLS for D

2015-02-18 Thread Craig Dillabaugh via Digitalmars-d
On Wednesday, 18 February 2015 at 04:17:16 UTC, Rikki Cattermole wrote: On 18/02/2015 5:01 p.m., Etienne Cimon wrote: On 2015-02-17 20:54, Rikki Cattermole wrote: On 18/02/2015 10:00 a.m., Etienne wrote: I'd like to announce the first release of Botan, which implements all features of v1.11.1

Re: Botan Crypto and TLS for D

2015-02-18 Thread Craig Dillabaugh via Digitalmars-d
On Wednesday, 18 February 2015 at 04:17:16 UTC, Rikki Cattermole wrote: On 18/02/2015 5:01 p.m., Etienne Cimon wrote: On 2015-02-17 20:54, Rikki Cattermole wrote: On 18/02/2015 10:00 a.m., Etienne wrote: I'd like to announce the first release of Botan, which implements all features of v1.11.1

Re: Botan Crypto and TLS for D

2015-02-18 Thread ketmar via Digitalmars-d
On Tue, 17 Feb 2015 20:14:50 -0500, Etienne Cimon wrote: > So many nice projects :D "We have such sights to show you!" signature.asc Description: PGP signature

Re: Botan Crypto and TLS for D

2015-02-18 Thread ketmar via Digitalmars-d
On Wed, 18 Feb 2015 06:35:08 +, Joakim wrote: > accompanied by benchmarks of the C++ and D code it's better to keep silence. dmd was never very good in optimising code. ;-) signature.asc Description: PGP signature

Re: Botan Crypto and TLS for D

2015-02-18 Thread ketmar via Digitalmars-d
On Tue, 17 Feb 2015 20:14:50 -0500, Etienne Cimon wrote: > I'll be working on HTTP/2 with websocket-style full duplex > communications once this is done, and then a CMS that has a windows > explorer-like desktop front-end with a redis filesystem and distributed > node management. So many nice proj

Re: Botan Crypto and TLS for D

2015-02-18 Thread Mathias Lang via Digitalmars-d
That's awesome ! Thanks for all the work you put in it, and more generally, in Vibe.d. 2015-02-17 22:00 GMT+01:00 Etienne via Digitalmars-d < digitalmars-d@puremagic.com>: > I'd like to announce the first release of Botan, which implements all > features of v1.11.10 in the C++ library. > > I gav

Re: Botan Crypto and TLS for D

2015-02-17 Thread Paolo Invernizzi via Digitalmars-d
On Tuesday, 17 February 2015 at 21:02:33 UTC, Etienne wrote: I'd like to announce the first release of Botan, which implements all features of v1.11.10 in the C++ library. I gave special attention to properly translating it to correct D code. It only runs with DMD master for now, only tested

Re: Botan Crypto and TLS for D

2015-02-17 Thread Joakim via Digitalmars-d
On Tuesday, 17 February 2015 at 21:02:33 UTC, Etienne wrote: I'd like to announce the first release of Botan, which implements all features of v1.11.10 in the C++ library. I gave special attention to properly translating it to correct D code. It only runs with DMD master for now, only tested

Re: Botan Crypto and TLS for D

2015-02-17 Thread Etienne Cimon via Digitalmars-d
On 2015-02-17 23:17, Rikki Cattermole wrote: I saw that, I was worried about the license as well. I'll ping Craig. Maybe there is still time for somebody to take it on for GSOC? One thing for sure, on this one the answer books are open. I'm glad I chose Botan. For HTTP/2 I'll probably use ng

Re: Botan Crypto and TLS for D

2015-02-17 Thread Rikki Cattermole via Digitalmars-d
On 18/02/2015 5:01 p.m., Etienne Cimon wrote: On 2015-02-17 20:54, Rikki Cattermole wrote: On 18/02/2015 10:00 a.m., Etienne wrote: I'd like to announce the first release of Botan, which implements all features of v1.11.10 in the C++ library. I gave special attention to properly translating it

Re: Botan Crypto and TLS for D

2015-02-17 Thread Etienne Cimon via Digitalmars-d
On 2015-02-17 20:54, Rikki Cattermole wrote: On 18/02/2015 10:00 a.m., Etienne wrote: I'd like to announce the first release of Botan, which implements all features of v1.11.10 in the C++ library. I gave special attention to properly translating it to correct D code. It only runs with DMD mast

Re: Botan Crypto and TLS for D

2015-02-17 Thread Rikki Cattermole via Digitalmars-d
On 18/02/2015 10:00 a.m., Etienne wrote: I'd like to announce the first release of Botan, which implements all features of v1.11.10 in the C++ library. I gave special attention to properly translating it to correct D code. It only runs with DMD master for now, only tested on Linux x86 or x86_64

Re: Botan Crypto and TLS for D

2015-02-17 Thread Etienne Cimon via Digitalmars-d
On 2015-02-17 19:11, ketmar wrote: so you did it. great! so maybe vibe.d can drop that OpenSSL dependency soon. ;-) Apart from the debugging experience, there's something empowering about having all the low-level stuff available in Mono-D when writing a website =) Other than that, it's also

Re: Botan Crypto and TLS for D

2015-02-17 Thread ketmar via Digitalmars-d
On Tue, 17 Feb 2015 16:00:45 -0500, Etienne wrote: > I'd like to announce the first release of Botan, which implements all > features of v1.11.10 in the C++ library. > > I gave special attention to properly translating it to correct D code. > > It only runs with DMD master for now, only tested o

Re: Botan Crypto and TLS for D

2015-02-17 Thread Etienne via Digitalmars-d
btw link: https://github.com/etcimon/botan

Botan Crypto and TLS for D

2015-02-17 Thread Etienne via Digitalmars-d
I'd like to announce the first release of Botan, which implements all features of v1.11.10 in the C++ library. I gave special attention to properly translating it to correct D code. It only runs with DMD master for now, only tested on Linux x86 or x86_64, and it uses a custom allocator library