Re: D IDE "Dexed" - version 3.7.0 available
I have tried to install it on archlinux but I get something else: http://asb2m10.github.io/dexed/
Re: D is helping from porch pirates
On Monday, 17 December 2018 at 23:13:18 UTC, Daniel Kozák wrote: https://gma.abc/2zWvXCl https://forum.dlang.org/post/mailman.5569.1501666175.31550.digitalmar...@puremagic.com
D is helping from porch pirates
https://gma.abc/2zWvXCl
Re: ASDF v0.1.5-beta0: new parser is ~40% faster
On Wednesday, 4 October 2017 at 14:04:30 UTC, Nicholas Wilson wrote: On Wednesday, 4 October 2017 at 13:15:17 UTC, Ilya Yaroshenko wrote: On Wednesday, 4 October 2017 at 12:11:54 UTC, Kagamin wrote: On Sunday, 1 October 2017 at 14:38:04 UTC, Ilya Yaroshenko wrote: [1] https://github.com/tamediadigital/asdf/tree/master/benchmarks/sajson AFAIK, ldc translates dmd's -O option to llvm's -O3. sajson loops are manually unrolled already. Very aggressive optimisation makes no sense and may unroll loops additionally and slowdown the program. Any reason clang++ is only -O2, not -O{3,s,z}? sajson loops are manually unrolled already. Very aggressive optimisation makes no sense and may unroll loops additionally and slowdown the program
Re: Need help
V Wed, 15 Mar 2017 12:25:04 + Jack Applegame via Digitalmars-d-announce napsáno: > On Wednesday, 15 March 2017 at 11:46:26 UTC, Daniel Kozák wrote: > > problem is with this line: > > https://github.com/dlang/dmd/blob/v2.073.2/src/clone.d#L1014 > > > > It run semantic before alias is add > > https://github.com/dlang/dmd/blob/v2.073.2/src/clone.d#L1131 > Great! But I have no idea what to do next. Could you write pull > request, please? Is $100 enough for that? OK I have tried something so we will see https://github.com/dlang/dmd/pull/6635
Re: Need help
V Wed, 15 Mar 2017 12:25:04 + Jack Applegame via Digitalmars-d-announce napsáno: > On Wednesday, 15 March 2017 at 11:46:26 UTC, Daniel Kozák wrote: > > problem is with this line: > > https://github.com/dlang/dmd/blob/v2.073.2/src/clone.d#L1014 > > > > It run semantic before alias is add > > https://github.com/dlang/dmd/blob/v2.073.2/src/clone.d#L1131 > Great! But I have no idea what to do next. Could you write pull > request, please? Is $100 enough for that? Ok, maybe I have a (partial) solution, right now tests are running
Re: Need help
V Wed, 15 Mar 2017 12:25:04 + Jack Applegame via Digitalmars-d-announce napsáno: > On Wednesday, 15 March 2017 at 11:46:26 UTC, Daniel Kozák wrote: > > problem is with this line: > > https://github.com/dlang/dmd/blob/v2.073.2/src/clone.d#L1014 > > > > It run semantic before alias is add > > https://github.com/dlang/dmd/blob/v2.073.2/src/clone.d#L1131 > Great! But I have no idea what to do next. Could you write pull > request, please? Is $100 enough for that? I am sorry but I do not how to fix that correctly :(
Re: Need help
V Wed, 15 Mar 2017 07:37:53 + Jack Applegame via Digitalmars-d-announce napsáno: > Dear developers. I need help fixing issue #17257 > (https://issues.dlang.org/show_bug.cgi?id=17257) and related bug > (https://forum.dlang.org/post/zpxzbctiijfhjujsz...@forum.dlang.org). > > I can't fix it myself, because know almost nothing about the > internals of the compiler. But I'm willing to pay for this work. > PayPal, Bountysource, donation, all that you want. > > problem is with this line: https://github.com/dlang/dmd/blob/v2.073.2/src/clone.d#L1014 It run semantic before alias is add https://github.com/dlang/dmd/blob/v2.073.2/src/clone.d#L1131
Re: Need help
V Wed, 15 Mar 2017 09:19:17 + Jack Applegame via Digitalmars-d-announce napsáno: > On Wednesday, 15 March 2017 at 08:52:03 UTC, David Nadlinger > wrote: > > This is a forum for announcements of general interest. Please > > take that into consideration before posting here. Thanks. — > > David > > I think that fixing such bugs is quite general interest. I'm not > asking to do enhancement required solely to me. I'm asking to fix > a bug, very bad bug. > Yes, but you should put this to general forum, not to announcement
Re: Another XML DOM Package
Guillaume Piolat via Digitalmars-d-announce napsal St, led 4, 2017 v 11∶48 : On Friday, 30 December 2016 at 04:19:47 UTC, apz28 wrote: This is my first package to learn D. Suggestion for improvement is welcome. https://github.com/apz28/dlang-xml Welcome here! - you don't have to commit .sln files, dub can generate them as needed - that is for a package that will be reused you can use dub :) - no need to use @property, there was a recent discussion about it. I think you can ignore it altogether. Yes he can but I still prefer it for documentation purposes :) - you can use "final" before a class declaration to have all methods be final final class C { /* all methods are final /= } Most common and IMHO better pattern is put final as first thing in class like this: class C { final: // all methods after this are final } It has some advantages (class C is not final so you can still use inheritance), marking class final does not need to mean all methods are final (it makes sense to mark them and in curent implementation it is) you can still add easy one method which is virtual. To be fair I mostly use struct instead of final clases - no need for "public import std.exception : Exception;" to use Exception imho the XML parser to beat in our ecosystem is kxml, which is small and serviceable
Re: New GDC binaries: 2.068.2, shared library support, multilib support & a new gdmd tool
Johannes Pfau via Digitalmars-d-announce napsal Ne, pro 25, 2016 v 8∶41 : Happy holidays everybody, I'm happy to finally announce the release of new GDC binaries at https://gdcproject.org/downloads . GDC is the GNU D Compiler, a D compiler using GCC as the compiler backend. ... Wow this is best xmas gift, thank you and all others who makes this possible
Re: Release D 2.069.0
V Wed, 04 Nov 2015 18:44:40 + Dicebot via Digitalmars-d-announce napsáno: > On Wednesday, 4 November 2015 at 01:50:38 UTC, Martin Nowak wrote: > > Glad to announce D 2.069.0. > > > > http://dlang.org/download.html > > http://downloads.dlang.org/releases/2.x/2.069.0/ > > > > This is the first release with a self-hosted dmd compiler and > > comes with even more rangified phobos functions, > > std.experimental.allocator, and many other improvements. > > > > See the changelog for more details. > > http://dlang.org/changelog/2.069.0.html > > > > -Martin > > Arch Linux packages uploaded. Thanks :) Btw. any specific reason why dub is not in dlang group?
Re: DConf 2016, Berlin: Call for Submissions is now open!
V Wed, 28 Oct 2015 18:13:15 -0400 Andrei Alexandrescu via Digitalmars-d-announce napsáno: > On 10/28/2015 06:10 PM, Daniel Kozak via Digitalmars-d-announce wrote: > > Wow, I can't wait :-). One question, when I would be able to make a > > registration? > > Soon enough - probably by the end of next week. -- Andrei Perfect :)
Re: DCD 0.7.0
On Sun, 06 Sep 2015 21:00:11 + Dicebot via Digitalmars-d-announce wrote: > On Wednesday, 2 September 2015 at 09:07:24 UTC, Chris wrote: > > Thanks, great stuff! One thing you say it's been tested with > > 2.067.1, but for this version it gives the following error > > message: > > > > containers/experimental_allocator/src/std/experimental/allocator/common.d(337): > > Error: module meta is in file 'std/meta.d' which cannot be read > > import path[0] = containers/src import path[1] = msgpack-d/src > > import path[2] = libdparse/src > > import path[3] = dsymbol/src > > import path[4] = containers/experimental_allocator/src > > > > I had to use 2.068.0 to compile it. > > btw this is also the reason why Arch package is still not updated > - waiting until will build with latest LDC Ohh, that makes sense :)
Re: Programming in D – Tutorial and Reference
On Mon, 31 Aug 2015 01:22:56 + "puming" wrote: > On Friday, 28 August 2015 at 22:58:30 UTC, Luís Marques wrote: > > On Friday, 28 August 2015 at 22:42:00 UTC, sigod wrote: > >> Actual link: https://news.ycombinator.com/item?id=10136882 > > > > I think Walter didn't post the direct link because the referrer > > impacts the voting algorithm. So, please don't use the direct > > link. > > Can we post a text without link and people could copy/paste the > address? Will HN check that also? I guess they check http referrer
Re: Moving forward with work on the D language and foundation
V Tue, 25 Aug 2015 20:30:23 +0300 Dmitry Olshansky via Digitalmars-d-announce napsáno: > On 24-Aug-2015 21:42, Andrei Alexandrescu wrote: > > Hello everyone, > > > > > > Following an increasing desire to focus on working on the D > > language and foundation, I have recently made the difficult > > decision to part ways with Facebook, my employer of five years and > > nine months. > > > > Facebook has impacted my career and life very positively, and I am > > grateful to have been a part of it for this long. The time has come > > for me, however, to fully focus on pushing D forward. As sorry I am > > for leaving a good and secure career behind, I am excited many > > times over about the great challenges and opportunities going > > forward. > > Thank you for making this tough choice for all of us. Combined with > the recent DDMD announcement this weeks turns out to be a huge > milestone for the D community. > > It's sure getting only more exciting in the D world from now on. > I can't agree more. OK maybe I would add this https://twitter.com/kozzi11/status/636190895856091136 ;-)
Re: "Programming in D" paper book is available for purchase
V Tue, 18 Aug 2015 17:57:31 -0700 Ali Çehreli via Digitalmars-d-announce napsáno: > I am very happy! :) > > It will be available on many other distribution channels like Amazon > in a few days as well but the following is the link that pays me the > most royalty: > >https://www.createspace.com/5618128 > > This revision has many corrections and improvements over the one on > the web site, which was from December 2014. (Thank you, Luís Marques!) > > I am too excited to list the changes right now but I can say that it > is up to date with 2.068. :D > > eBook formats will follow but here are two almost-production-ready > versions, which, hopefully apparent from their names, will disappear > soon: > >http://ddili.org/deleteme.epub > >http://ddili.org/deleteme.azw3 > > And the book will always be freely available as well but I haven't > updated the web site yet. > > Enjoy, and go buy some books! ;) > > Ali Sometimes I hate I am from Czech Republic. I must wait whole week until this awesome book will be delivered :).
RE: Walter, Brian, and Daniel's DConf 2015 talks are up
Yes, IT could, but this will need to modify each existing and future range or implement UFCS operator overloading - Původní zpráva - Od:"Brad Anderson via Digitalmars-d-announce" Odesláno:23. 6. 2015 4:06 Komu:"digitalmars-d-announce@puremagic.com" Předmět:Re: Walter, Brian, and Daniel's DConf 2015 talks are up On Friday, 19 June 2015 at 22:47:03 UTC, Brad Anderson wrote: > Walter: https://www.youtube.com/watch?v=znjesAXEEqw > Brian: https://www.youtube.com/watch?v=FmFyB9e7edw > Daniel: https://www.youtube.com/watch?v=5daHGXSetXk > > I've only just started watching but the editing seems to be > well done so thanks to UVU for that. Couldn't Walter's idea for adding more language support for ranges just be done already with operator overloading?
Re: Arch Linux D package update
On Thu, 04 Jun 2015 14:46:38 + Dicebot via Digitalmars-d-announce wrote: > gdc > > - now uses 5.1 gcc base and 2.066.1 frontend > - patched to correctly use system zlib library (resulted in > linker errors before) > > dtools > > - switched back to use dmd as default compiler > > dub > > - switched back to use dmd as default compiler > > dcd > > - new package, release 0.6.0 > - only x86_64 for now (upstream bug) > - 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 Please fix description: Compiler for D programming language which uses gcc backend (2.065 frontend version) should be Compiler for D programming language which uses gcc backend (2.066.1 frontend version) or remove info about frontend version completely
Re: D needs...
On Tue, 12 May 2015 06:39:09 + ponce via Digitalmars-d-announce wrote: > On Monday, 11 May 2015 at 11:59:02 UTC, Namespace wrote: > > Inspired by ponce idioms list for D I've set up something > > similar. > > There are some themes in D which come up regulary and are > > discussed to the vomit. If something is agreed, it gets > > forgotten sometimes and the theme disappears into oblivion (for > > a few months :P). To prevent this, I've collected some > > hot-discussed themes, their history and their current state. I > > hope this helps to avoid unnecessary discussions in the future > > and finally cut off these issues (either with an official > > decision "Nope, keep as it is" or with an implementation). > > > > I've tried to stay as objective as possible, but if something > > seems to be too subjective, please let me know, so I can fix it. > > > > http://dgame.github.io/dneeds/ > > Nice! Especially the discussion links. Would be good to see a > "final-by-default" summary too. There would be too much discussion links ;-)
Re: D needs...
On Mon, 11 May 2015 12:24:34 + weaselcat via Digitalmars-d-announce wrote: > On Monday, 11 May 2015 at 12:22:34 UTC, Dennis Ritchie wrote: > > On Monday, 11 May 2015 at 11:59:02 UTC, Namespace wrote: > >> Inspired by ponce idioms list for D I've set up something > >> similar. > >> There are some themes in D which come up regulary and are > >> discussed to the vomit. If something is agreed, it gets > >> forgotten sometimes and the theme disappears into oblivion > >> (for a few months :P). To prevent this, I've collected some > >> hot-discussed themes, their history and their current state. I > >> hope this helps to avoid unnecessary discussions in the future > >> and finally cut off these issues (either with an official > >> decision "Nope, keep as it is" or with an implementation). > >> > >> I've tried to stay as objective as possible, but if something > >> seems to be too subjective, please let me know, so I can fix > >> it. > >> > >> http://dgame.github.io/dneeds/ > > > > Thanks. Many programmers find fault with this problem: > > > > "No problem. But if you have more elements it could be annoying > > to count them. That's why some D users wanted that the compiler > > does that for them. > > > > int[$] c = [1, 2, 3]; // the compiler detects the dollar and > > count the elements for us" > > +1, I have to go review why this was removed. It's annoying that > I have to manually count static arrays. import std.stdio; @safe @property auto static_array() { static struct _static_array { @safe @property T[n] s(T, size_t n)(auto ref T[n] values) { return values; } T[0][n] opIndex(size_t n = T.length, T...)(T items) { typeof(return) arr; foreach (index,item; items) arr[index] = item; return (values) { return values; }(arr);//s!(T[0], n)(arr); } } return _static_array(); } void main() { auto sa = static_array[4,5,7]; writeln(sa); }
Re: Release D 2.067.0
On Tue, 24 Mar 2015 18:07:42 +0100 Martin Nowak via Digitalmars-d-announce wrote: > Glad to announce D 2.067.0. > > This release comes with many improvements. > The GC is a lot faster for most use-cases, we have improved C++ > interoperability and fixed plenty of bugs. > > See the changelog for more details. > http://dlang.org/changelog.html > > Download pages and documentation will be updated within the next few > hours. > > http://downloads.dlang.org/releases/2.x/2.067.0/ > http://ftp.digitalmars.com/ > > Until the binaries are mirrored to the official site, you can get > them here. https://dlang.dawg.eu/downloads/dmd.2.067.0/ > > -Martin Thanks for your work. One minor issue in changelog DMD Compiler enhancements 14. Bugzilla 13388: accept '@' before 'nothrow' and 'pure' I think this shoud not be here