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

2018-07-31 Thread Marco Leise via Digitalmars-d-announce
Am Fri, 13 Jul 2018 18:14:35 + schrieb iris : > Any idea about the performance of this json parser? > https://jsonformatter.org/json-parser ? That one is implemented in client side JavaScript. I didn't measure it, but the closest match in Kostya's benchmark could be the Node JS entry that

Re: Why think unit tests should be in their own source code hierarchy instead of side-by-side

2018-03-22 Thread Marco Leise via Digitalmars-d-announce
I understand your opinion and I think it is all reasonable. You talk about longer compile times since every D module is like a C++ header. That touches one of my pet peeves with the language or eco system as it stands and I wonder if you would agree with me on the following: Libraries should be

Re: Beta 2.076.1

2017-10-01 Thread Marco Leise via Digitalmars-d-announce
P.S.: The directory layout could be improved as well. Currently there is: src\ +-dmd +-druntime +-phobos But druntime in posix.mak:10 expects a src directory inside the dmd directory: dmd\ +-src So effectively the directory names have to be swapped for that to work. At that point

Re: Beta 2.076.1

2017-10-01 Thread Marco Leise via Digitalmars-d-announce
Could you include the "default_ddoc_theme.ddoc" and "config.sh" in the source releases? The sources cannot be compiled without them. -- Marco

Re: new cpuid is ready for comments

2016-07-14 Thread Marco Leise via Digitalmars-d-announce
Am Mon, 11 Jul 2016 16:30:44 + schrieb Ilya Yaroshenko : > Please report your CPU (GitHub/Gist): Instead of yet another Haswell/Broadwell, here is an oldie but goldie: A 16 year old Pentium-III-M from an IBM T23 notebook:

Re: QtE5 - is a wrapping of Qt-5 for D

2016-06-20 Thread Marco Leise via Digitalmars-d-announce
Very nice! -- Marco

Re: LZ4 decompression at CTFE

2016-04-28 Thread Marco Leise via Digitalmars-d-announce
Am Tue, 26 Apr 2016 23:55:46 -0700 schrieb Walter Bright : > On 4/26/2016 3:05 PM, Stefan Koch wrote: > > Hello, > > > > originally I want to wait with this announcement until DConf. > > But since I working on another toy. I can release this info early. > > > > So as

Re: Blog post: PGO: Optimizing D's virtual calls

2016-04-20 Thread Marco Leise via Digitalmars-d-announce
Am Fri, 15 Apr 2016 09:04:21 + schrieb Johan Engelen : > On Wednesday, 13 April 2016 at 11:34:26 UTC, Johan Engelen wrote: > > Hi all, > > I've written an article about how I implemented > > profile-guided optimization (PGO) of virtual calls to direct > > calls (a

Re: Release D 2.071.0

2016-04-11 Thread Marco Leise via Digitalmars-d-announce
Am Thu, 07 Apr 2016 10:13:35 + schrieb Dicebot : > On Tuesday, 5 April 2016 at 22:43:05 UTC, Martin Nowak wrote: > > Glad to announce D 2.071.0. > > > > http://dlang.org/download.html > > > > This release fixes many long-standing issues with imports and > > the module > >

Re: D Profile Viewer

2016-03-24 Thread Marco Leise via Digitalmars-d-announce
Am Thu, 24 Mar 2016 20:34:07 + schrieb Andrew : > Hi > > I wrote a program to turn the non-human-readable trace.log into > an interactive HTML file that can be used to help profile a D > program. > > Its here: https://bitbucket.org/andrewtrotman/d-profile-viewer > >

Re: Graillon 1.0, VST effect fully made with D

2015-11-27 Thread Marco Leise via Digitalmars-d-announce
We can probably agree that we don't know about the impact on a large multimedia application written in D. What you can communicate is: Create a @nogc thread routine and don't register it with the GC to write real-time VSTs. Guillaume did a good job, taking the GC out of the real-time thread. It's

Re: Tonight: Introduction to D at Codeaholics (HK)

2015-11-16 Thread Marco Leise via Digitalmars-d-announce
Am Thu, 12 Nov 2015 01:30:06 +0800 schrieb Lionello Lunesu : > * Why doesn't D explicitly specify the exceptions that can be thrown? > (To which I answered that I never saw the point in Java and only found > it tedious. This did not convince the person.) Maybe

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

2015-10-28 Thread Marco Leise via Digitalmars-d-announce
Am Tue, 27 Oct 2015 14:00:06 + schrieb Martin Nowak : > On Tuesday, 27 October 2015 at 13:14:36 UTC, wobbles wrote: > >> How can `coordinates` member be known at compile-time when the > >> input argument is a run-time string? > > > > I suspect through the opDispatch operator

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

2015-10-22 Thread Marco Leise via Digitalmars-d-announce
Am Thu, 22 Oct 2015 06:10:56 -0700 schrieb Walter Bright : > On 10/21/2015 3:40 PM, Laeeth Isharc wrote: > > Have you thought about writing up your experience with writing fast json? > > A bit > > like Walter's Dr Dobbs's article on wielding a profiler to speed up

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

2015-10-21 Thread Marco Leise via Digitalmars-d-announce
Am Wed, 21 Oct 2015 04:17:16 + schrieb Laeeth Isharc : > Very impressive. > > Is this not quite interesting ? Such a basic web back end > operation, and yet it's a very different picture from those who > say that one is I/O or network bound. I already

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

2015-10-21 Thread Marco Leise via Digitalmars-d-announce
Am Wed, 21 Oct 2015 17:00:39 + schrieb Suliman : > >> > Nice! I see you are using bitmasking trickery in multiple > >> > places. stdx.data.json is mostly just the plain lexing > >> > algorithm, with the exception of whitespace skipping. It was > >> > already very

Re: Beta D 2.069.0-b2

2015-10-20 Thread Marco Leise via Digitalmars-d-announce
Am Tue, 20 Oct 2015 19:26:13 +0200 schrieb Martin Nowak : > On 10/17/2015 09:05 PM, Marco Leise wrote: > > Oh wait, false alert. That was a relic from older days. My > > build script placed a dummy dmd.conf there. > > > > I do seem to get problems with ldc2-0.16.0:

Re: Beta D 2.069.0-b2

2015-10-17 Thread Marco Leise via Digitalmars-d-announce
Oh wait, false alert. That was a relic from older days. My build script placed a dummy dmd.conf there. I do seem to get problems with ldc2-0.16.0: make -C druntime -f posix.mak MODEL=32 ../dmd/src/dmd -conf= -c -o- -Isrc -Iimport -Hfimport/core/sync/barrier.di src/core/sync/barrier.d

Re: Beta D 2.069.0-b2

2015-10-17 Thread Marco Leise via Digitalmars-d-announce
Am Wed, 14 Oct 2015 15:52:57 +0200 schrieb Martin Nowak : > 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 When I use a

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

2015-10-17 Thread Marco Leise via Digitalmars-d-announce
Am Sat, 17 Oct 2015 16:27:06 + schrieb Sean Kelly : > On Saturday, 17 October 2015 at 16:14:01 UTC, Andrei Alexandrescu > wrote: > > On 10/17/15 6:43 PM, Sean Kelly wrote: > >> If this is the benchmark I'm remembering, the bulk of the time > >> is spent > >> parsing

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

2015-10-16 Thread Marco Leise via Digitalmars-d-announce
Am Thu, 15 Oct 2015 18:46:12 +0200 schrieb Sönke Ludwig : > Am 14.10.2015 um 09:01 schrieb Marco Leise: > > […] > > stdx.data.json: 2.76s, 207.1Mb (LDC) > > > > Yep, that's right. stdx.data.json's pull parser finally beats > > the dynamic languages with native

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

2015-10-16 Thread Marco Leise via Digitalmars-d-announce
Am Thu, 15 Oct 2015 18:17:07 +0200 schrieb Sönke Ludwig : > Am 15.10.2015 um 13:06 schrieb Rory McGuire via Digitalmars-d-announce: > > In browser JSON.serialize is the usual way to serialize JSON values. > > The problem is that on D side if one does deserialization

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

2015-10-16 Thread Marco Leise via Digitalmars-d-announce
Am Fri, 16 Oct 2015 11:09:37 + schrieb Per Nordlöw : > On Wednesday, 14 October 2015 at 07:01:49 UTC, Marco Leise wrote: > > https://github.com/kostya/benchmarks#json > > Does fast.json use any non-standard memory allocation patterns or > plain simple GC-usage? Plain

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 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: 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-03 Thread Marco Leise via Digitalmars-d-announce
Am Fri, 2 Oct 2015 07:25:44 -0400 schrieb Andrei Alexandrescu : > Walter and I will travel to Brasov, Romania to hold an evening-long > event on the D language. There's been strong interest in the event with > over 300 registrants so far. > >

Re: Release D 2.068.1

2015-09-16 Thread Marco Leise via Digitalmars-d-announce
Am Tue, 15 Sep 2015 08:39:41 + schrieb John Colvin : > On Monday, 14 September 2015 at 23:53:16 UTC, Martin Nowak wrote: > > On Monday, 14 September 2015 at 20:14:45 UTC, Jack Stouffer > > wrote: > >> On Monday, 14 September 2015 at 17:51:59 UTC, Martin Nowak

Re: Beta D 2.068.2-b1

2015-09-13 Thread Marco Leise via Digitalmars-d-announce
And I found another regression in 2.068.1: https://issues.dlang.org/show_bug.cgi?id=15056 -- Marco

Re: Beta D 2.068.2-b1

2015-09-11 Thread Marco Leise via Digitalmars-d-announce
Am Thu, 10 Sep 2015 05:37:48 +0200 schrieb Martin Nowak : > Due to a regression in 2.068.1 we'll directly follow up with an > unplanned point release 2.068.2. > This is the beta for that point release. > > http://downloads.dlang.org/pre-releases/2.x/2.068.2/ > >

Re: Arch Linux D package update

2015-06-12 Thread Marco Leise via Digitalmars-d-announce
Am Fri, 12 Jun 2015 06:26:10 + schrieb Dicebot pub...@dicebot.lv: I will look into making it user-local service (https://wiki.archlinux.org/index.php/Systemd/User), that is simply I currently don't know much about and didn't want to delay update much longer. I switched back to system

Re: Arch Linux D package update

2015-06-11 Thread Marco Leise via Digitalmars-d-announce
Am Thu, 04 Jun 2015 14:46:38 + schrieb Dicebot pub...@dicebot.lv: - provides systemd service : `sudo systemctl enable dcd.service` to start automatically upon system startup Is it really a system-wide server? I can see how it might be technically necessary due to how systemd works

Re: New D tool releases

2015-06-09 Thread Marco Leise via Digitalmars-d-announce
Am Mon, 08 Jun 2015 19:18:02 + schrieb Brian Schott briancsch...@gmail.com: Dfix 0.2.2: https://github.com/Hackerpilot/dfix/releases/tag/v0.2.2 * Fixed a bug that caused the string concatenation fix to be applied inside of deprecated attributes. I plan to revert this fix if dmd

Re: Arch Linux D package update

2015-06-09 Thread Marco Leise via Digitalmars-d-announce
Am Thu, 04 Jun 2015 14:46:38 + schrieb Dicebot pub...@dicebot.lv: - provides systemd service : `sudo systemctl enable dcd.service` to start automatically upon system startup - provides default /etc/dcd.conf with stdlib paths for Arch Linux Would you mind if I copy this idea?

Re: DUB 0.9.23 released

2015-04-08 Thread Marco Leise via Digitalmars-d-announce
Am Mon, 06 Apr 2015 10:21:45 +0200 schrieb Sönke Ludwig slud...@rejectedsoftware.com: The new version contains some important bug fixes for sub modules and overridden string imports, as well as some other major fixes. Apart from that, the major additions are: - copyFiles now get hard

Re: Standardpaths library

2015-04-08 Thread Marco Leise via Digitalmars-d-announce
Am Tue, 07 Apr 2015 11:58:58 + schrieb Kagamin s...@here.lot: On Monday, 6 April 2015 at 21:40:28 UTC, Marco Leise wrote: So if some configuration is portable and you want to create something really fine grained you could offer that directory as an alternative roaming config dir

Re: Standardpaths library

2015-04-08 Thread Marco Leise via Digitalmars-d-announce
Am Tue, 07 Apr 2015 17:27:34 + schrieb FreeSlave freeslav...@gmail.com: On Monday, 6 April 2015 at 21:40:28 UTC, Marco Leise wrote: I believe modern desktops offer enough granularity to cover each of those. For example if I was playing a game on Linux files would go here:

Re: Standardpaths library

2015-04-06 Thread Marco Leise via Digitalmars-d-announce
Am Sun, 05 Apr 2015 12:31:23 + schrieb FreeSlave freeslav...@gmail.com: On Sunday, 5 April 2015 at 11:42:42 UTC, Marco Leise wrote: On another note when I ran your 'printdirs' it didn't list a user Fonts or Applications directory. The Applications directory is ok, but I do have a

Re: Standardpaths library

2015-04-06 Thread Marco Leise via Digitalmars-d-announce
Am Sun, 05 Apr 2015 12:39:04 + schrieb FreeSlave freeslav...@gmail.com: On Sunday, 5 April 2015 at 11:42:42 UTC, Marco Leise wrote: is this Windows? return executable_path That depends on what do you understand by data. The data I was referring to is the stuff that is installed with

Re: Standardpaths library

2015-04-05 Thread Marco Leise via Digitalmars-d-announce
Am Sun, 05 Apr 2015 09:08:12 + schrieb FreeSlave freeslav...@gmail.com: I wrote small library for getting standard paths (like Pictures, Music) Here's dub package http://code.dlang.org/packages/standardpaths And github repo https://github.com/MyLittleRobo/standardpaths You can see

Re: Devisualization.Image

2014-11-18 Thread Marco Leise via Digitalmars-d-announce
Am Tue, 18 Nov 2014 12:37:54 +0300 schrieb Timur Gafarov gecko0...@gmail.com: 15.11.2014 07:48, Rikki Cattermole пишет: To further Devisualization, I have got the start of an image library. It should be fairly interface complete now. For this I really could use help from anyone with

Re: Devisualization.Image

2014-11-18 Thread Marco Leise via Digitalmars-d-announce
Am Wed, 19 Nov 2014 00:35:09 +0100 schrieb Marco Leise marco.le...@gmx.de: I have working PNG export in my image processing package, part of dlib: https://github.com/gecko0307/dlib There're also importers for BMP and TGA. I also just wrote a TGA importer and found RLE and 16-bit in

Re: Atmosphere GM - Statistical package

2014-10-24 Thread Marco Leise via Digitalmars-d-announce
Am Fri, 24 Oct 2014 17:54:26 + schrieb Ilya Yaroshenko ilyayaroshe...@gmail.com: Hello! link http://9il.github.io/atmosphere_gm You are welcome to suggest required algorithms! Best Regards, Ilya Your English is a bit confusing :) What can I use this package for? Let's say I

Re: Digger 1.0

2014-09-30 Thread Marco Leise via Digitalmars-d-announce
Am Mon, 22 Sep 2014 18:59:12 + schrieb Vladimir Panteleev vladi...@thecybershadow.net: On Monday, 22 September 2014 at 17:28:50 UTC, ketmar via Digitalmars-d-announce wrote: On Mon, 22 Sep 2014 15:24:55 +0200 simendsjo via Digitalmars-d-announce digitalmars-d-announce@puremagic.com

Re: New Beta: 2.066.1-rc1 is Now Available

2014-09-11 Thread Marco Leise via Digitalmars-d-announce
Am Fri, 12 Sep 2014 01:51:33 +0900 schrieb Andrew Edwards rid...@yahoo.com: DMD 2.066.1-rc1 is now available for testing. Visit http://wiki.dlang.org/Beta_Testing to download. Please submit all bugs to bugzilla at https://issues.dlang.org/. Happy testing I followed the first LINUX link

Re: New Beta: 2.066.1-rc1 is Now Available

2014-09-11 Thread Marco Leise via Digitalmars-d-announce
P.S. Is this supposed to contain all 2.066 regression fixes pulled into master up to this point? As far as I can tell at least https://github.com/D-Programming-Language/dmd/pull/3961 from 4 days ago didn't get cherry picked yet. Or are these RCs more of a preliminary version? -- Marco

Re: New Beta: 2.066.1-rc1 is Now Available

2014-09-11 Thread Marco Leise via Digitalmars-d-announce
Am Fri, 12 Sep 2014 03:16:52 +0900 schrieb Andrew Edwards rid...@yahoo.com: Clear cache and try again. Thx, try again now was enough. -- Marco

Re: 438-byte Hello, world Win32 EXE in D

2014-09-10 Thread Marco Leise via Digitalmars-d-announce
Am Tue, 09 Sep 2014 10:20:43 + schrieb Don x...@nospam.com: On Monday, 8 September 2014 at 08:18:32 UTC, Ola Fosheim Grøstad wrote: On Monday, 8 September 2014 at 08:08:23 UTC, Kagamin wrote: But that downloaded file is bloatware, because it has to implement functionality, which is

Re: Dlang on Gentoo (update)

2014-08-30 Thread Marco Leise via Digitalmars-d-announce
Added ebuild: * dub 0.9.21 Updated ebuilds: * GDC based on GCC 4.8.3 and DMD FE 2.065 * DMD 2.066.0 and tools I wonder if I can switch to linking with libphobos2.so now by default for dmd? Any outstanding issues/objections? -- Marco

Dlang on Gentoo (update)

2014-06-01 Thread Marco Leise via Digitalmars-d-announce
I moved Dlang related ebuild to a new repository under the Gentoo organization on GitHub a while ago. It is available through layman as dlang. (Not to be confused with the outdated d overlay there.) Information in the Gentoo Wiki: https://wiki.gentoo.org/wiki/Dlang Link to the repository on