Re: What's the latest GDC stable release version?

2024-06-17 Thread Dejan Lekic via Digitalmars-d-learn
On Sunday, 16 June 2024 at 16:26:08 UTC, mw wrote: Hi, What's the latest GDC stable release version? Stable release version is the same as stable GCC release version. Find it here: https://gcc.gnu.org/ (GDC is part of the GCC project for years)

Re: Feedback request from production of the usage of DWT

2024-06-13 Thread Dejan Lekic via Digitalmars-d-learn
On Thursday, 13 June 2024 at 06:59:49 UTC, Menjanahary R. R. wrote: How important is its adoption? Is GUI App in D frequent? There are quite few D GUI projects we are aware of, Tilix being one of the popular ones. I have few personal projects that are based, like Tilix, on GtkD

Re: How to use eventcore write an echo server?

2024-03-14 Thread Dejan Lekic via Digitalmars-d-learn
On Tuesday, 12 March 2024 at 05:13:26 UTC, zoujiaqing wrote: How to fix it? than you ;) Try the following: ``` class Connection { StreamSocketFD client; ubyte[1024] buf = void; // Add these two lines before the constructor: nothrow: @safe:

Re: C to D: please help translate this weird macro

2023-09-20 Thread Dejan Lekic via Digitalmars-d-learn
On Wednesday, 20 September 2023 at 13:55:14 UTC, Ki Rill wrote: On Wednesday, 20 September 2023 at 13:53:08 UTC, Ki Rill wrote: Here is the macro: ```C #define NK_CONTAINER_OF(ptr,type,member)\ (type*)((void*)((char*)(1 ? (ptr): &((type*)0)->member) - NK_OFFSETOF(type, member))) ``` I'm

Re: C to D: please help translate this weird macro

2023-09-20 Thread Dejan Lekic via Digitalmars-d-learn
On Wednesday, 20 September 2023 at 13:55:14 UTC, Ki Rill wrote: On Wednesday, 20 September 2023 at 13:53:08 UTC, Ki Rill wrote: Here is the macro: ```C #define NK_CONTAINER_OF(ptr,type,member)\ (type*)((void*)((char*)(1 ? (ptr): &((type*)0)->member) - NK_OFFSETOF(type, member))) ``` I'm

Re: Writing a simple text editor in D using a C tutorial

2023-08-29 Thread Dejan Lekic via Digitalmars-d-learn
On Tuesday, 29 August 2023 at 16:17:56 UTC, Răzvan Birișan wrote: Is there a better way to use `termios.h` inside D? Am I missing the point and there is a way to set these flags in D without using C libraries? I would try to use termios from druntime instead. Try: import

Re: D syntax highlighting in Nano

2023-08-10 Thread Dejan Lekic via Digitalmars-d-announce
On Tuesday, 8 August 2023 at 00:43:59 UTC, Doigt wrote: Would be nice to have feedback. I made a PR for the improved nano syntax project because I don't have a gitlab account to contribute directly to the nano project, but feel free to fork and do it yourself if you feel it's important/good

Re: A New Era for the D Community

2023-05-26 Thread Dejan Lekic via Digitalmars-d-announce
On Wednesday, 3 May 2023 at 11:13:34 UTC, Mike Parker wrote: Our enthusiasm is high, and we're ready to get going. I think you'll like where we're headed. Good job guys!! This reinforces my belief in what you do.

Re: How to set up D and GLFW/OpenGL project on MacOS, Linux and Windows | [video]

2023-03-15 Thread Dejan Lekic via Digitalmars-d-announce
On Wednesday, 8 March 2023 at 16:45:02 UTC, Ki Rill wrote: ![D and GLFW/OpenGL project](https://github.com/rillki/d-glfw-opengl-project-template/blob/main/imgs/d-glfw-opengl.jpg?raw=true) Here is the [link](https://youtu.be/wG6OG6uWyDw) Amazing! Thanks!

Re: DConf '23 in London -- Start thinking about your talks!

2023-02-09 Thread Dejan Lekic via Digitalmars-d-announce
On Thursday, 9 February 2023 at 14:58:42 UTC, Mike Parker wrote: I'm finally able to announce that we're going back to London for DConf '23! Thanks to Symmetry Investments for hosting us once again. Woohoo! Can't wait! See you guys there. :)

Re: GCC 12.2 Released (D v2.100.1)

2022-08-19 Thread Dejan Lekic via Digitalmars-d-announce
On Friday, 19 August 2022 at 11:36:09 UTC, Iain Buclaw wrote: Hi, GCC version 12.2 has been released. GCC 12.2 is the first bug-fix release from the GCC 12 branch containing important fixes for regressions and serious bugs in GCC 12.1 with 11 bugs fixed in GDC since the previous release.

Re: DConf 2022 in London?

2022-02-15 Thread Dejan Lekic via Digitalmars-d-announce
On Tuesday, 15 February 2022 at 12:22:05 UTC, Mike Parker wrote: Personally, I'm super pumped about this. I hope to see a lot of you in London in August! I will definitely attend. See you there! :)

Re: Introducing the wren-port DUB package

2021-12-22 Thread Dejan Lekic via Digitalmars-d-announce
On Saturday, 18 December 2021 at 15:13:33 UTC, Guillaume Piolat wrote: Wren is a small, fast, and class-based concurrent scripting language. wren-port is a D transation of the Wren v0.4 programming language implementation, intended for embedding. This is useful is you want a nothrow @nogc fast

Re: DConf Online 2021 T-Shirts

2021-11-11 Thread Dejan Lekic via Digitalmars-d-announce
On Wednesday, 20 October 2021 at 11:50:00 UTC, Mike Parker wrote: "Entry" would imply a downward trajectory! Our thing is launching. True. It is in the "launching" phase for 20 years...

Re: A GUI for DMD, the final version has been release.

2021-10-11 Thread Dejan Lekic via Digitalmars-d-announce
On Saturday, 9 October 2021 at 23:02:22 UTC, Murilo wrote: Hi guys, I've just finished the final version of the DMD GUI, there is Linux and a Windows version, click on the link below to download it: https://github.com/MuriloMir/DMD-GUI It is always good to see new D projects, but why should

Re: GtkD Coding Post #0113: GTK/GIO Application IDs and Signals

2021-09-13 Thread Dejan Lekic via Digitalmars-d-announce
On Friday, 10 September 2021 at 08:18:48 UTC, Ron Tarrant wrote: Continuation of the discussion from last week: https://gtkdcoding.com/2021/09/10/0113-gtk-gio-application-ids-signals.html I am glad to see GtkDCoding back in action! :)

Re: wanting to try a GUI toolkit: needing some advice on which one to choose

2021-05-27 Thread Dejan Lekic via Digitalmars-d-learn
On Thursday, 27 May 2021 at 01:17:44 UTC, someone wrote: Yes, I know this is a question lacking a straightforward answer. Requirements: [...] I humbly believe the most complete one is GtKD. https://gtkdcoding.com/ https://gtkd.org We all wish there was a STANDARD D GUI library out there,

Re: Release of std.io v0.3.0

2020-08-04 Thread Dejan Lekic via Digitalmars-d-announce
On Sunday, 26 July 2020 at 17:09:07 UTC, Steven Schveighoffer wrote: I have released a minor improvement to std.io [1], which adds support for opening the standard handles (stdin, stdout, stderr) [2]. I always hoped, since the stream package has been deprecated, that std.io will get merged

Re: code.dlang.org reliability update

2020-03-03 Thread Dejan Lekic via Digitalmars-d-announce
On Monday, 2 March 2020 at 19:17:59 UTC, Sönke Ludwig wrote: As of yesterday, code.dlang.org now points to a more powerful dedicated server that can host the DUB registry without the danger of freezing due to excessive swapping - this is what happened on the 26th last month [1]. Sönke,

Re: dmd memory usage

2019-11-18 Thread Dejan Lekic via Digitalmars-d-learn
On Monday, 18 November 2019 at 00:20:12 UTC, Steven Schveighoffer wrote: I'm fighting some out of memory problems using DMD and some super-template heavy code. I have ideas on how to improve the situation, but it involves redesigning a large portion of the design. I want to do it

Re: D for microservices: ldc, rdmd, dub now available on Alpine x86_64

2019-11-05 Thread Dejan Lekic via Digitalmars-d-announce
On Tuesday, 5 November 2019 at 02:16:28 UTC, Mathias Lang wrote: Hi all, Recently there have been inquiries about support for D on Alpine Linux, a distribution mostly used in combination with Docker to create lightweight container images for microservices. At BPF Korea, we're working on a

Re: rapidxml for D has been ported.

2019-10-15 Thread Dejan Lekic via Digitalmars-d-announce
On Tuesday, 8 October 2019 at 08:56:26 UTC, zoujiaqing wrote: RapidXml is an attempt to create the fastest XML parser possible, while retaining useability, portability and reasonable W3C compatibility. It is an in-situ parser written in modern C++, with parsing speed approaching that of strlen

Re: Redis client hunt-redis RC1 released

2019-07-25 Thread Dejan Lekic via Digitalmars-d-announce
On Tuesday, 23 July 2019 at 07:57:06 UTC, zoujiaqing wrote: A Powerfull Redis client library for D Programming Language. Porting from java Jedis, support redis 3.x / 4.x all features and 5.x some features. Can it connect to AWS ElastiCache cluster endpoint?

Re: Redis client hunt-redis RC1 released

2019-07-25 Thread Dejan Lekic via Digitalmars-d-announce
On Tuesday, 23 July 2019 at 07:57:06 UTC, zoujiaqing wrote: A Powerfull Redis client library for D Programming Language. Porting from java Jedis, support redis 3.x / 4.x all features and 5.x some features. Why? There is the excellent TinyRedis project. Does it not have some feature you

Re: I was able to write some D last week!

2019-07-09 Thread Dejan Lekic via Digitalmars-d-announce
On Tuesday, 9 July 2019 at 12:09:14 UTC, Greatsam4sure wrote: All the web framework only vibe was set up with business in mind. Not entirely true - there is a (pretty active) project out there called "Hunt Framework" - https://github.com/huntlabs/hunt-framework

Re: SendMessageTimeoutW requires casting string to uint?

2019-07-09 Thread Dejan Lekic via Digitalmars-d-learn
On Tuesday, 9 July 2019 at 10:34:54 UTC, BoQsc wrote: All I know that there was toString16z function from tango project, that made it all work. Now that I browsed the std.utf more, I realised what fits your need best is the https://dlang.org/phobos/std_utf.html#toUTF16z

Re: SendMessageTimeoutW requires casting string to uint?

2019-07-09 Thread Dejan Lekic via Digitalmars-d-learn
On Tuesday, 9 July 2019 at 10:34:54 UTC, BoQsc wrote: I'm quite new to the programming, and I'm getting unsure how to make SendMessageTimeoutW to work with D lang. Most of my attention right now resides around the Argument of the SendMessageTimeoutW function: "Environment", It seems that

Re: SendMessageTimeoutW requires casting string to uint?

2019-07-09 Thread Dejan Lekic via Digitalmars-d-learn
On Tuesday, 9 July 2019 at 11:06:54 UTC, Dejan Lekic wrote: std.utf module has all encoding/decoding you need (in this case UTF-16). I guess You need to convert your string using toUTF16 ( https://dlang.org/phobos/std_utf.html#toUTF16 ). I do not do Windows programming so I am not 100% sure

Re: We’re hiring Software Engineers! (D language)

2019-07-03 Thread Dejan Lekic via Digitalmars-d-announce
On Tuesday, 2 July 2019 at 08:56:42 UTC, Andrej Mitrovic wrote: Hi! BPF Korea is looking to increase the size of its core development team in Seoul, South Korea. The job is on-site, and the company is willing to sponsor your Visa application and will guide you through the entire process.

Re: gtkDcoding Blog: Post #0009 - Boxes

2019-02-14 Thread Dejan Lekic via Digitalmars-d-announce
On Wednesday, 13 February 2019 at 02:42:07 UTC, DanielG wrote: Why not just make a single thread, "gtkDecoding Blog updates", and always append to it? It will bump the topic back up to the top whenever you add something. Maybe because it is a different topic, and he wants to start a new

Re: a van Emde Boas tree

2019-02-05 Thread Dejan Lekic via Digitalmars-d-announce
On Tuesday, 5 February 2019 at 15:28:04 UTC, Alex wrote: Hi all, my van Emde Boas tree finally reached an announceable state, at version 0.12.0. vEB tree is an interesting data structure. Where is the implementation? - You did not provide any links...

Re: Singleton in Action?

2019-02-03 Thread Dejan Lekic via Digitalmars-d-learn
On Saturday, 2 February 2019 at 16:56:45 UTC, Ron Tarrant wrote: Hi guys, I ran into another snag this morning while trying to implement a singleton. I found all kinds of examples of singleton definitions, but nothing about how to put them into practice. Can someone show me a code example

Re: Hunt framework 2.0.0 released

2019-01-29 Thread Dejan Lekic via Digitalmars-d-announce
On Tuesday, 29 January 2019 at 10:00:22 UTC, zoujiaqing wrote: The HuntLabs team is happy to announce the release of Hunt Framework 2.0. Looks impressive. I like the fact that VibeD has some competition - it is healthy that way. Good job guys!

Re: My Meeting C++ Keynote video is now available

2019-01-16 Thread Dejan Lekic via Digitalmars-d-announce
On Monday, 14 January 2019 at 10:18:34 UTC, Martin Tschierschke wrote: This is exactly the argument to get a database driver (mysql,postgres...) and probably a webserver in std. Absolutely not! Please... IMHO, what needs to be in std are just APIs (modules, interfaces, declarations)...

Re: DConf 2019: Shepherd's Pie Edition

2019-01-11 Thread Dejan Lekic via Digitalmars-d-announce
On Friday, 28 December 2018 at 16:31:01 UTC, Adam D. Ruppe wrote: On Friday, 28 December 2018 at 07:08:19 UTC, Dejan Lekic wrote: While I admire your persistence I fail to understand why you simply don't ignore stuff you do not like. If you do not like conferences fine - do not go

Re: DConf 2019: Shepherd's Pie Edition

2018-12-27 Thread Dejan Lekic via Digitalmars-d-announce
On Saturday, 22 December 2018 at 13:46:39 UTC, Joakim wrote: Given that this conference format is dying off, is there any explanation for why the D team wants to continue this antiquated ritual? Why are you bringing this again? Are you going to talk the same stuff whenever someone mentions

Re: Spasm - webassembly libary for single page applications

2018-10-15 Thread Dejan Lekic via Digitalmars-d-announce
On Sunday, 14 October 2018 at 19:04:51 UTC, Sebastiaan Koppe wrote: It turns out jumping between wasm and js isn't really a big deal (at least not anymore), so I ditched that idea to keep things simple. Plus, there is a good chance that in the near future wasm will be able to call the

Re: Spasm - webassembly libary for single page applications

2018-10-13 Thread Dejan Lekic via Digitalmars-d-announce
On Friday, 12 October 2018 at 19:43:25 UTC, Sebastiaan Koppe wrote: I like to announce Spasm https://github.com/skoppe/spasm It is a webassembly library to develop single page applications and builds on my previous work (https://forum.dlang.org/post/eqneqstmwfzugymfe...@forum.dlang.org). I

Re: You don't like GC? Do you?

2018-10-12 Thread Dejan Lekic via Digitalmars-d
On Friday, 12 October 2018 at 16:26:49 UTC, Stanislav Blinov wrote: On Thursday, 11 October 2018 at 21:22:19 UTC, aberba wrote: "It takes care of itself --- When writing a throwaway script... ...there's absolutely no need for a GC. In fact, the GC runtime will

Re: Passing $ as a function argument

2018-10-11 Thread Dejan Lekic via Digitalmars-d
On Thursday, 11 October 2018 at 06:58:08 UTC, Simen Kjærås wrote: unittest { auto x = fun($); // What does it even mean? } After some reading through the whole thread I think his "$ idea" can only be applied to a RandomAccessRange (and similar) where the size can be known...

Re: Please don't do a DConf 2018, consider alternatives

2018-10-03 Thread Dejan Lekic via Digitalmars-d
On Wednesday, 3 October 2018 at 16:21:45 UTC, Joakim wrote: Like most of the responses in this thread, I have no idea why you're stumping for in-person interaction, when all my suggestions were geared around having _more in-person interaction_. If you're still not sure what I mean, read this

Re: Warn on unused imports?

2018-10-03 Thread Dejan Lekic via Digitalmars-d
On Thursday, 27 September 2018 at 18:35:58 UTC, Nick Sabalausky (Abscissa) wrote: On 09/26/2018 04:37 AM, Dejan Lekic wrote: On Tuesday, 25 September 2018 at 13:03:30 UTC, FeepingCreature wrote: I'm playing with a branch of DMD that would warn on unused imports: I humbly believe this does

Re: Please don't do a DConf 2018, consider alternatives

2018-10-03 Thread Dejan Lekic via Digitalmars-d
On Tuesday, 2 October 2018 at 06:26:30 UTC, Joakim wrote: I'm sure some thought and planning is now going into the next DConf, so I'd like to make sure people are aware that the conference format that DConf uses is dying off, as explained here:

Re: Warn on unused imports?

2018-09-26 Thread Dejan Lekic via Digitalmars-d
On Tuesday, 25 September 2018 at 13:03:30 UTC, FeepingCreature wrote: I'm playing with a branch of DMD that would warn on unused imports: I humbly believe this does not belong to the compiler. These sort of things belong to a static code analyser TOOL. Think of checkstyle/findbugs in Java,

Re: Copy Constructor DIP and implementation

2018-09-12 Thread Dejan Lekic via Digitalmars-d-announce
On Tuesday, 11 September 2018 at 15:22:55 UTC, rikki cattermole wrote: Here is a question (that I don't think has been asked) why not @copy? @copy this(ref Foo other) { } It can be read as copy constructor, which would be excellent for helping people learn what it is doing (spec lookup).

Re: Mobile is the new PC and AArch64 is the new x64

2018-09-12 Thread Dejan Lekic via Digitalmars-d
On Wednesday, 12 September 2018 at 08:09:46 UTC, Joakim wrote: I contacted one of the few companies putting out RISC-V dev boards, Sifive, a couple weeks ago with the suggestion of making available a paid RISC-V VPS, and one of their field engineers got back to me last week with a note that

Re: Mobile is the new PC and AArch64 is the new x64

2018-09-11 Thread Dejan Lekic via Digitalmars-d
On Monday, 10 September 2018 at 13:43:46 UTC, Joakim wrote: LDC recently added a linux/AArch64 CI for both its main branches and 64-bit ARM, ie AArch64, builds have been put out for both linux and Android. It does not seem that many are paying attention to this sea change that is going on with

Re: What changes to D would you like to pay for?

2018-09-07 Thread Dejan Lekic via Digitalmars-d
On Wednesday, 5 September 2018 at 07:00:49 UTC, Joakim wrote: The D foundation is planning to add a way for us to pay for changes we'd like to see in D and its ecosystem, rather than having to code everything we need ourselves or find and hire a D dev to do it: I would donate again to

Re: Dicebot on leaving D: It is anarchy driven development in all its glory.

2018-08-24 Thread Dejan Lekic via Digitalmars-d
On Friday, 24 August 2018 at 13:04:28 UTC, Chris wrote: I've been working with Java recently and although it is not an exciting language, it does the job and it does it well. You can rely on it to get the job done - and get it done fast. And you know that your code will still work next week,

Re: Work on ARM backend for DMD started

2018-07-06 Thread Dejan Lekic via Digitalmars-d-announce
On Thursday, 20 July 2017 at 22:08:16 UTC, Walter Bright wrote: I wouldn't be discouraged by the nay-sayers. If you want to build an ARM back end for it, do it! About every project I've ever embarked on, including D, started with everyone nay-saying it. Keep it that way and thanks for it!!

Re: A Case for Oxidation: A potential missed opportunity for D

2018-06-29 Thread Dejan Lekic via Digitalmars-d
On Friday, 29 June 2018 at 10:55:27 UTC, kinke wrote: Phobos. I understand the separate 'minimal runtime' need for bare metal (no Type- and ModuleInfos etc.), but I can't help myself in seeing betterC as, nicely put, worseD. I acknowledge I *completely* agree. However, I have nothing against

Re: iopipe v0.1.0 - now with Windows support!

2018-06-11 Thread Dejan Lekic via Digitalmars-d-announce
On Sunday, 10 June 2018 at 20:10:31 UTC, Steven Schveighoffer wrote: iopipe version 0.1.0 has been released. iopipe is a high-performance pipe processing system that makes it easy to string together pipelines to process data with as little buffer copying as possible. All I can say (again,

Re: D on top of Hacker News!

2018-06-05 Thread Dejan Lekic via Digitalmars-d
On Sunday, 3 June 2018 at 17:40:46 UTC, I love Ice Cream wrote: Is D really a top 20 language? I don't remember seeing it anywhere close to the top 20. https://www.tiobe.com/tiobe-index/ has them in 31 Top comment is kind of depressing. The right place to look is

Re: Is D releasing too often?

2018-05-14 Thread Dejan Lekic via Digitalmars-d
On Monday, 14 May 2018 at 07:20:48 UTC, Joakim wrote: There have been 6 major releases of dmd over the last year, with ldc trying to keep pace, currently only one release behind. This is a big jump up from the previous release schedule, I see 2 major releases in 2014, 3 in 2015, and 3 in

Re: dxml 0.3.0 released

2018-04-20 Thread Dejan Lekic via Digitalmars-d-announce
On Thursday, 19 April 2018 at 14:40:58 UTC, Jonathan M Davis wrote: Well, since I'm going to be talking about dxml at dconf, and it's likely that I'll be talking about stuff that was not in the 0.2.* releases, it seemed like I should get a new release out before dconf. So, here it is. dxml

Re: Optional parameters?

2018-04-04 Thread Dejan Lekic via Digitalmars-d-learn
On Sunday, 1 April 2018 at 15:54:16 UTC, Steven Schveighoffer wrote: I currently have a situation where I want to have a function that accepts a parameter optionally. This is what function overloading and/or default values are for, right?

Re: dmd -unittest= (same syntax as -i)

2018-03-16 Thread Dejan Lekic via Digitalmars-d
On Wednesday, 14 March 2018 at 22:04:50 UTC, Adam D. Ruppe wrote: On Wednesday, 14 March 2018 at 21:22:01 UTC, Timothee Cour wrote: would a PR for `dmd -unittest= (same syntax as -i)` be welcome? so when this came up on irc earlier (was that you?) this was the first thought that came to my

Re: Article: Why Const Sucks

2018-03-05 Thread Dejan Lekic via Digitalmars-d-announce
On Monday, 5 March 2018 at 10:57:35 UTC, Jonathan M Davis wrote: Here's something I wrote up on const: http://jmdavisprog.com/articles/why-const-sucks.html I suppose that it's not exactly the most positive article, but I feel that it's accurate. - Jonathan M Davis Brilliant article,

Re: DConf 2018 Logo

2017-11-17 Thread Dejan Lekic via Digitalmars-d
On Wednesday, 15 November 2017 at 14:56:53 UTC, Andrei Alexandrescu wrote: Hello, for all of you with expertise in graphics, we'd be in your debt if you could create a logo for DConf 2018. Proposals would be appreciated! Thanks, Andrei Why a new logo? The last year's one is superb and

Re: Project Elvis

2017-11-07 Thread Dejan Lekic via Digitalmars-d
On Tuesday, 7 November 2017 at 09:42:50 UTC, Satoshi wrote: I strongly agree with you. As I wrote earlier int this thread. Kotlin has the `?.` operator for the same reason. I honestly can't think of a more obvious operator for that purpose...

Re: Project Elvis

2017-10-30 Thread Dejan Lekic via Digitalmars-d
On Saturday, 28 October 2017 at 11:38:52 UTC, Andrei Alexandrescu wrote: Walter and I decided to kick-off project Elvis for adding the homonym operator to D. Razvan Nitu has already done a good part of the work: https://github.com/dlang/dmd/pull/7242

Re: Note from a donor

2017-10-24 Thread Dejan Lekic via Digitalmars-d
On Tuesday, 24 October 2017 at 13:20:10 UTC, Andrei Alexandrescu wrote: A person who donated to the Foundation made a small wish list known. Allow me to relay it: * RSA Digital Signature Validation in Phobos * std.decimal in Phobos * better dll support for Windows. Andrei First two are in

Re: Replacing Make for the DMD build

2017-06-19 Thread Dejan Lekic via Digitalmars-d
On Friday, 16 June 2017 at 06:30:01 UTC, Russel Winder wrote: A direct question to Walter and Andrei really. If someone, let us say Russel Winder, create a CMake/Ninja and/or Meson/Ninja build for DMD, is there any chance of it being allowed to replace the Make system? If the answer is no,

Re: sqlite3 vs. sqlite-d

2017-06-08 Thread Dejan Lekic via Digitalmars-d
On Thursday, 8 June 2017 at 13:37:41 UTC, Russel Winder wrote: Exactly my point. Using SQLAlchemy made me actually enjoy writing database code. Which I did last year having avoided it Using ORM like SQLAlchemy certainly has benefits but like any other ORM, it generates hideous SQL code,

Re: ndslice summary please

2017-04-13 Thread Dejan Lekic via Digitalmars-d-learn
On Thursday, 13 April 2017 at 10:00:43 UTC, 9il wrote: On Thursday, 13 April 2017 at 08:47:16 UTC, Ali Çehreli wrote: I haven't played with ndslice nor followed its deprecation discussions. Could someone summarize it for us please. Also, is it still used outside Phobos or is Ilya or someone

Re: BLAS implementation for D

2017-04-13 Thread Dejan Lekic via Digitalmars-d-announce
On Thursday, 13 April 2017 at 09:18:06 UTC, data pulverizer wrote: I have just finished the first version of a BLAS implementation for D mostly done by code conversion from GSL's BLAS module https://github.com/dataPulverizer/dblas It is complete functionally with respect covering all the

Re: Thoughts from newcommer

2017-04-13 Thread Dejan Lekic via Digitalmars-d
On Wednesday, 12 April 2017 at 09:38:49 UTC, Russel Winder wrote: On Tue, 2017-04-11 at 20:07 +, Stefan Koch via Digitalmars-d wrote: […] At the risk of starting a flame war: The memory safety is currently in the works. We just have one std-lib now. GC is slow, yes. I don't care, it

Re: pImpl in D

2017-04-04 Thread Dejan Lekic via Digitalmars-d
On Tuesday, 4 April 2017 at 12:05:15 UTC, Satoshi wrote: Hi, do someone have any experience with pImpl and inheritance in D? Some parts of Phobos use it. Example: https://github.com/dlang/phobos/blob/master/std/stdio.d Have a look at the struct ByLine It has something like: struct

RFC: patch statement

2017-04-03 Thread Dejan Lekic via Digitalmars-d
I know people her do not like to see proposals that change (add stuff to) the language. However, I strongly feel that for the testing purposes D should provide means to patch any object (no matter whether it is final or not!). Therefore I wonder what people think of adding a `patch(obj) {}` or

Re: influxdb-dlang-wrapper v0.0.1 - D API for InfluxDB

2017-03-21 Thread Dejan Lekic via Digitalmars-d-announce
On Monday, 20 March 2017 at 19:57:03 UTC, Atila Neves wrote: http://code.dlang.org/packages/influxdb-dlang-wrapper InfluxDB is a database optimised for time-series data. This package implements a D API via the REST interface so that this code works: Brilliant! I may actually need it soon!

Re: mysql-native: API Refresh RC

2017-01-30 Thread Dejan Lekic via Digitalmars-d-announce
On Monday, 30 January 2017 at 02:56:27 UTC, Nick Sabalausky wrote: I've been working on a big refresh of mysql-native's API, to take care of various issues that have appeared with it. It involves some major breaking changes (although I've tried to keep old interfaces around for the moment, but

Re: Using Dub

2017-01-16 Thread Dejan Lekic via Digitalmars-d-learn
On Monday, 16 January 2017 at 09:40:55 UTC, Russel Winder wrote: On the one hand Cargo works wonderfully with Rust so I had hoped Dub would work wonderfully with D. Sadly I am finding it doesn't. Possibly my fault, but still annoying. Cargo does not have multiple Rust compilers as an option.

Re: Databases and the D Standard Library

2017-01-04 Thread Dejan Lekic via Digitalmars-d
On Sunday, 1 January 2017 at 03:24:31 UTC, Adam Wilson wrote: Hi Everyone, I've seen a lot of talk on the forums over the past year about the need for database support in the D Standard Library and I completely agree. At the end of the day the purpose of any programming language and its

Re: Red Hat's issues in considering the D language

2016-12-28 Thread Dejan Lekic via Digitalmars-d
On Thursday, 22 December 2016 at 08:33:55 UTC, Daniel Kozák wrote: ? I am on fedora and I have dmd, so it is not true :P Dejan Lekic via Digitalmars-d <digitalmars-d@puremagic.com> napsal St, pro 21, 2016 v 6∶36 : On Wednesday, 21 December 2016 at 16:41:56 UTC, hardreset wrote:

Re: Red Hat's issues in considering the D language

2016-12-21 Thread Dejan Lekic via Digitalmars-d
On Wednesday, 21 December 2016 at 16:41:56 UTC, hardreset wrote: Moving the reference compiler to LLVM as was suggested in the list. LDC is the only compiler on Fedora/CentOS anyway!

Re: [Semi-OT] I don't want to leave this language!

2016-12-07 Thread Dejan Lekic via Digitalmars-d-learn
On Monday, 5 December 2016 at 20:25:00 UTC, Ilya Yaroshenko wrote: Good D code should be nothrow, @nogc, and betterC. BetterC means that it must not require DRuntime to link and to start. I started Mir as scientific/numeric project, but it is going to be a replacement for Phobos to use D

Re: DIP 1003: remove `body` as a keyword

2016-11-21 Thread Dejan Lekic via Digitalmars-d-announce
On Saturday, 19 November 2016 at 21:16:15 UTC, Dicebot wrote: DIP 1003 is merged to the queue and open for public informal feedback. Perhaps a good idea for D3...

[RFC] Runtime, interfaces and implementations.

2016-10-26 Thread Dejan Lekic via Digitalmars-d
I have mentioned this on IRC quite few times in the past years, as well here on the newsgroups... I really think the D runtime should have a std.api package containing what I call "module interfaces" (something similar to how Modula-3 treats interfaces and modules), and all existing std

Re: Wait-free queue

2016-10-19 Thread Dejan Lekic via Digitalmars-d
On Tuesday, 18 October 2016 at 18:03:58 UTC, Andrei Alexandrescu wrote: Interesting work: http://concurrencyfreaks.blogspot.com/2016/10/crturn-queue-first-mpmc-memory.html -- Andrei I could not help but paste something from the paper: "We chose C++14 because it is a native language that is

Re: gdc in Linux distros recommended?

2016-10-19 Thread Dejan Lekic via Digitalmars-d
On Tuesday, 18 October 2016 at 23:02:28 UTC, Ali Çehreli wrote: I have a friend who has started writing a library in D. Although I recommended that he should use a recent dmd or ldc, he thinks gdc is a better candidate because it's "available to the masses" through Linux distros similar to

Re: New team member: Lucia

2016-10-14 Thread Dejan Lekic via Digitalmars-d-announce
On Thursday, 13 October 2016 at 18:15:30 UTC, Andrei Alexandrescu wrote: Hello everyone, Please join me in welcoming Lucia Lucia Cojocaru to our team. Lucia is a MSc student in computer security, having Razvan Deaconescu and Razvan Rughiniș as advisers. She just completed an internship at

Re: PowerNex - The Userspace update! (also first birthday)

2016-10-04 Thread Dejan Lekic via Digitalmars-d-announce
On Sunday, 2 October 2016 at 22:46:17 UTC, Wild wrote: Hey! To celebrate the first birthday[1] of PowerNex, my D kernel, I've made a new release. This is a big release compared to the old one, because this one contains a userspace mode where you can load and execute ELF executable. I've also

Re: GC blessed for C++ (again)

2016-09-30 Thread Dejan Lekic via Digitalmars-d-announce
On Wednesday, 28 September 2016 at 20:50:28 UTC, Ali Çehreli wrote: https://www.reddit.com/r/programming/comments/54xnbg/herb_sutters_experimental_deferred_and_unordered/ Ali The paragraph I like the most there is: "The other important difference is that deferred_heap meets C++'s

Re: Go's march to low-latency GC

2016-09-26 Thread Dejan Lekic via Digitalmars-d
On Saturday, 9 July 2016 at 23:14:38 UTC, ZombineDev wrote: https://github.com/dlang/druntime/blob/master/src/gc/gcinterface.d https://github.com/dlang/druntime/blob/master/src/gc/impl/manual/gc.d What else do you need to start working on a new GC implementation? That is actually the only

Re: Why I am switching to Go

2016-09-21 Thread Dejan Lekic via Digitalmars-d
...I could care less why you are switching to Go...

Re: ISO D

2016-08-17 Thread Dejan Lekic via Digitalmars-d
On Wednesday, 17 August 2016 at 12:57:59 UTC, TencoDK wrote: I dropped D once about a year ago because the new DMD version has broken backward compatibility. Some libraries have stopped You could have used STABLE DMD (v1), right? Assuming that you *intentionally* used the unstable (v2) DMD,

Re: Go's march to low-latency GC

2016-07-09 Thread Dejan Lekic via Digitalmars-d
On Saturday, 9 July 2016 at 17:41:59 UTC, Andrei Alexandrescu wrote: I wish we could amass the experts able to make similar things happen for us. I humbly believe it is not just about amassing experts, but also making it easy to do experiments. Phobos/druntime should provide set of APIs for

Re: First dmd nightly shipping with dub

2016-07-06 Thread Dejan Lekic via Digitalmars-d-announce
On Wednesday, 6 July 2016 at 09:28:44 UTC, Martin Nowak wrote: This is the first nightly dmd build that includes dub binaries. http://nightlies.dlang.org/dmd-2016-07-06/ They will also be part of the upcoming 2.072.y releases. We will sync the dub and dmd release cycles, but not the versioning.

Re: Build a SysTime from a string

2016-07-06 Thread Dejan Lekic via Digitalmars-d-learn
On Wednesday, 6 July 2016 at 14:15:22 UTC, Andrea Fontana wrote: My problem is that from documentation I can't understand how to set +01:00 timezone on systime. I guess I'm missing something... As far as I know, you can't do that. Quote from the documentation: """ Unlike DateTime, the time

Re: What's the secret to static class members

2016-06-30 Thread Dejan Lekic via Digitalmars-d-learn
On Thursday, 30 June 2016 at 01:11:09 UTC, Mike Parker wrote: I think it's safe to say this guy is just trolling and we can ignore him. I was about to say the same, Mike. He is either trolling, or genuinely did not even bother to learn some language basics...

Re: Where is the D deep learning library?

2016-06-28 Thread Dejan Lekic via Digitalmars-d
On Monday, 27 June 2016 at 14:10:15 UTC, Guillaume Piolat wrote: With the latest popularity of Machine Learning, and all the achievement we see, where is the D alternative in this area? C++'s offering makes lot of use of meta-programming already:

Re: Makd (build system) and d1to2fix tool (D1->D2 conversion) released as open source

2016-06-24 Thread Dejan Lekic via Digitalmars-d-announce
On Friday, 24 June 2016 at 16:44:05 UTC, Dejan Lekic wrote: And no, some of *still love Make*! Well, I wanted to say that some of US still love Make! :) Pardon my quick typing...

Re: Makd (build system) and d1to2fix tool (D1->D2 conversion) released as open source

2016-06-24 Thread Dejan Lekic via Digitalmars-d-announce
On Friday, 24 June 2016 at 16:02:26 UTC, Leandro Lucarella wrote: Makd is a a GNU Make library/framework to build D projects (I know there is a lot of hate towards Make, so I'm not sure if this is good or bad news for the community :-P). https://github.com/sociomantic-tsunami/makd

Re: Anybody still using the chm docs

2016-06-16 Thread Dejan Lekic via Digitalmars-d
What's the main difference between it and just pointing your browser at the downloaded html files? Search and index? Well, seach and index are not the only operations you need. One of the common operation with every CHM viewer is to bookmark something for an example. I've just checked the

Re: Anybody still using the chm docs

2016-06-16 Thread Dejan Lekic via Digitalmars-d
On Thursday, 16 June 2016 at 02:32:05 UTC, Jack Stouffer wrote: On Wednesday, 15 June 2016 at 10:58:04 UTC, Martin Nowak wrote: So I'm wondering if in 2016 someone really needs an offline copy of a website shipped with a binary release? For offline browsing, Windows and Linux users can use

Re: Anybody still using the chm docs

2016-06-16 Thread Dejan Lekic via Digitalmars-d
I still use CHM document as it is absolutely the best solution compared to anything else. I think it is a mistake to compare CHM with PDF... They are made for different things... I forgot to mention - I use CHM on Linux. It is not my fault that opensource community could not come up with a

Re: Anybody still using the chm docs

2016-06-16 Thread Dejan Lekic via Digitalmars-d
On Wednesday, 15 June 2016 at 10:58:04 UTC, Martin Nowak wrote: It's a huge maintenance effort for us to produce the chm files. We no longer generate documentation on Windows, but just for the chm generation we have dedicated tools [¹] to create an index (from a json generated via ddoc) and

Re: Work in Amsterdam

2016-06-15 Thread Dejan Lekic via Digitalmars-d-announce
On Monday, 13 June 2016 at 22:45:15 UTC, Márcio Martins wrote: Forgive me if this is not the best place for this sort of posts, but we are looking for experienced developers willing to learn D to join our development team in Amsterdam. We are a fast-growing travel e-commerce startup focused on

Re: improve concurrent queue

2016-06-03 Thread Dejan Lekic via Digitalmars-d-learn
On Tuesday, 27 August 2013 at 17:35:13 UTC, qznc wrote: I can recommand this paper (paywalled though): http://dl.acm.org/citation.cfm?id=248106 The research paper can actually be freely downloaded from http://www.dtic.mil/cgi-bin/GetTRDoc?AD=ADA309412 . Good article, thanks!

Re: LZ4 decompression at CTFE

2016-04-27 Thread Dejan Lekic via Digitalmars-d-announce
On Tuesday, 26 April 2016 at 22:05:39 UTC, 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 per title. you can decompress .lz4 flies created by the standard lz4hc commnadline tool

  1   2   3   4   5   6   7   >