Re: Beta D 2.069.0-b2

2015-10-14 Thread Brian Schott via Digitalmars-d-announce
On Wednesday, 14 October 2015 at 13:53:17 UTC, Martin Nowak wrote: Second beta for the 2.069.0 release. http://dlang.org/download.html#dmd_beta http://dlang.org/changelog/2.069.0.html Please report any bugs at https://issues.dlang.org -Martin Is there any reason that these fixes won't be

Re: Beta D 2.069.0-b1

2015-10-14 Thread Rainer Schuetze via Digitalmars-d-announce
On 14.10.2015 15:26, Szymon Gatner wrote: To get compatible class layout, the D compiler has to omit it's class info entry in the vtable of C++ classes. In addition D doesn't know about C++ RTTI (I don't know if this is planned to add), so it cannot do the dynamic cast from Operation to

Re: Fastest JSON parser in the world is a D project

2015-10-14 Thread Idan Arye via Digitalmars-d-announce
On Wednesday, 14 October 2015 at 07:35:49 UTC, Marco Leise wrote: auto json = parseTrustedJSON(`{ "coordinates": [ { "x": 1, "y": 2, "z": 3 }, … ] }`); I assume parseTrustedJSON is not validating? Did you use it in the benchmark? And were the competitors non-validating as well?

Fastest JSON parser in the world is a D project

2015-10-14 Thread Marco Leise via Digitalmars-d-announce
fast.json usage: UTF-8 and JSON validation of used portions by default: auto json = parseJSONFile("data.json"); Known good file input: auto json = parseTrustedJSONFile("data.json"); auto json = parseTrustedJSON(`{"x":123}`); Work with a single key from an object:

Re: Fastest JSON parser in the world is a D project

2015-10-14 Thread Per Nordlöw via Digitalmars-d-announce
On Wednesday, 14 October 2015 at 07:01:49 UTC, Marco Leise wrote: https://github.com/kostya/benchmarks#json I can't find fast.json here. Where is it?

Semi-OT: Andrei's CppCon 2015 presentation is on Reddit

2015-10-14 Thread Ali Çehreli via Digitalmars-d-announce
https://www.reddit.com/r/programming/comments/3oqfxk/the_comedian_andrei_alexandrescu_calls_the/ Ali

Re: Semi-OT: Andrei's CppCon 2015 presentation is on Reddit

2015-10-14 Thread deadalnix via Digitalmars-d-announce
On Wednesday, 14 October 2015 at 18:52:59 UTC, Ali Çehreli wrote: https://www.reddit.com/r/programming/comments/3oqfxk/the_comedian_andrei_alexandrescu_calls_the/ Ali And it is quite funny. Andrei is the only person that can get away with such bad puns about alligators :)

Re: Walter and I talk about D in Romania

2015-10-14 Thread Vladimir Panteleev via Digitalmars-d-announce
On Monday, 5 October 2015 at 14:10:43 UTC, Vladimir Panteleev wrote: Not going to miss this opportunity! Since I was apparently the only forum regular in the audience, figured I should post a follow-up. First, the event was recorded. There was a professional A/V studio working with

Re: Beta D 2.069.0-b1

2015-10-14 Thread Szymon Gatner via Digitalmars-d-announce
On Tuesday, 13 October 2015 at 20:10:22 UTC, Rainer Schuetze wrote: On 13.10.2015 21:44, ZombineDev wrote: [...] The library issues are the same for 32-bit and 64-bit. [...] Yes, but there is some magic involved when linking against the VS2015 CRT. To use symbols like snprintf and

Re: Beta D 2.069.0-b1

2015-10-14 Thread Meta via Digitalmars-d-announce
On Tuesday, 13 October 2015 at 16:07:50 UTC, Kagamin wrote: What doesn't work for you? extern int f(); struct T(F){} T!f t; //Error: template instance T!(f) does not match template declaration T(F) struct A(alias F){} A!f a; //works I don't remember. I fixed the issues a few weeks ago using

Re: Fastest JSON parser in the world is a D project

2015-10-14 Thread Marco Leise via Digitalmars-d-announce
Am Wed, 14 Oct 2015 07:55:18 + schrieb Idan Arye : > On Wednesday, 14 October 2015 at 07:35:49 UTC, Marco Leise wrote: > > auto json = parseTrustedJSON(`{ "coordinates": [ { "x": 1, > > "y": 2, "z": 3 }, … ] }`); > > I assume parseTrustedJSON is not validating? Did

Re: Beta D 2.069.0-b2

2015-10-14 Thread Martin Nowak via Digitalmars-d-announce
On 10/14/2015 08:09 PM, Brian Schott wrote: > > Is there any reason that these fixes won't be merged for 2.069? Please target the stable branch when fixing something. Also tagging as 2.069 milestone helps (can you actually tag that yourself?). I don't examine PRs before branching or tagging a

Re: Beta D 2.069.0-b1

2015-10-14 Thread Szymon Gatner via Digitalmars-d-announce
On Wednesday, 14 October 2015 at 11:46:27 UTC, ZombineDev wrote: 2) How can I workaround the problem that _minfo* and _deh* are not generated because my main is in C++? Just add a file with int main() in D library to fix this.

Re: Beta D 2.069.0-b1

2015-10-14 Thread Szymon Gatner via Digitalmars-d-announce
On Wednesday, 14 October 2015 at 11:39:26 UTC, Szymon Gatner wrote: On Tuesday, 13 October 2015 at 20:10:22 UTC, Rainer Schuetze wrote: [...] I am trying (as with every new release ;)) to link static D library to existing C++ project and I am having same issue: Error 2 error LNK2019:

Re: Beta D 2.069.0-b1

2015-10-14 Thread Rainer Schuetze via Digitalmars-d-announce
On 14.10.2015 13:39, Szymon Gatner wrote: On Tuesday, 13 October 2015 at 20:10:22 UTC, Rainer Schuetze wrote: On 13.10.2015 21:44, ZombineDev wrote: [...] The library issues are the same for 32-bit and 64-bit. [...] Yes, but there is some magic involved when linking against the

Re: Beta D 2.069.0-b1

2015-10-14 Thread Rainer Schuetze via Digitalmars-d-announce
On 14.10.2015 13:46, ZombineDev wrote: On Tuesday, 13 October 2015 at 20:10:22 UTC, Rainer Schuetze wrote: Yes, but there is some magic involved when linking against the VS2015 CRT. To use symbols like snprintf and sscanf, you must also pass legacy_stdio_definitions.lib to the linker, which

Re: Beta D 2.069.0-b1

2015-10-14 Thread Szymon Gatner via Digitalmars-d-announce
On Wednesday, 14 October 2015 at 12:05:28 UTC, Szymon Gatner wrote: On Wednesday, 14 October 2015 at 11:39:26 UTC, Szymon Gatner wrote: On Tuesday, 13 October 2015 at 20:10:22 UTC, Rainer Schuetze wrote: [...] I am trying (as with every new release ;)) to link static D library to existing

Re: Beta D 2.069.0-b1

2015-10-14 Thread ZombineDev via Digitalmars-d-announce
On Wednesday, 14 October 2015 at 11:54:22 UTC, Szymon Gatner wrote: On Wednesday, 14 October 2015 at 11:46:27 UTC, ZombineDev wrote: 2) How can I workaround the problem that _minfo* and _deh* are not generated because my main is in C++? Just add a file with int main() in D library to fix

Re: Beta D 2.069.0-b1

2015-10-14 Thread Szymon Gatner via Digitalmars-d-announce
On Wednesday, 14 October 2015 at 12:35:30 UTC, Rainer Schuetze wrote: I just noticed that the magic symbol translation _snprintf -> __snprintf isn't included without linking the internal function init_msvc (which is normally done by d_run_main which is called by the generated C main). The

Re: Fastest JSON parser in the world is a D project

2015-10-14 Thread Marco Leise via Digitalmars-d-announce
Am Wed, 14 Oct 2015 10:22:37 +0200 schrieb Rory McGuire via Digitalmars-d-announce : > Does this version handle real world JSON? > > I've keep getting problems with vibe and JSON because web browsers will > automatically make a "1" into a 1 which then causes

Re: Fastest JSON parser in the world is a D project

2015-10-14 Thread Marco Leise via Digitalmars-d-announce
Am Wed, 14 Oct 2015 08:19:52 + schrieb Per Nordlöw : > On Wednesday, 14 October 2015 at 07:01:49 UTC, Marco Leise wrote: > > https://github.com/kostya/benchmarks#json > > I can't find fast.json here. Where is it? »»» D Gdc Fast 0.34226.7 ««« C++ Rapid 0.79

Re: Walter and I talk about D in Romania

2015-10-14 Thread Ali Çehreli via Digitalmars-d-announce
On 10/14/2015 04:15 PM, Vladimir Panteleev wrote: On Wednesday, 14 October 2015 at 23:06:14 UTC, Ali Çehreli wrote: Thank you very much for the summary! It was very informative. On 10/14/2015 03:54 PM, Vladimir Panteleev wrote: > Andrei's second talk, "Writing quick code, quickly" was not

Re: Beta D 2.069.0-b2

2015-10-14 Thread Andrei Alexandrescu via Digitalmars-d-announce
On 10/15/15 3:05 AM, Vladimir Panteleev wrote: On Wednesday, 14 October 2015 at 23:44:34 UTC, Brian Schott wrote: On Wednesday, 14 October 2015 at 23:26:12 UTC, Martin Nowak wrote: Also tagging as 2.069 milestone helps (can you actually tag that yourself?). No. I would if I could. This one