Re: My interest in contributing to the D language and participation in the Symmetry Autumn of code

2024-05-16 Thread Dennis via Digitalmars-d-announce
On Wednesday, 15 May 2024 at 14:23:32 UTC, RazvanN wrote: On Tuesday, 14 May 2024 at 18:42:56 UTC, Dennis wrote: Hello everyone, My name is Dennis and I’m from Nigeria and I want to contribute to the D language, perhaps engage in the upcoming Symmetry Autumn of code, and contribute immensely

Re: My interest in contributing to the D language and participation in the Symmetry Autumn of code

2024-05-15 Thread Dennis via Digitalmars-d-announce
On Wednesday, 15 May 2024 at 14:23:32 UTC, RazvanN wrote: On Tuesday, 14 May 2024 at 18:42:56 UTC, Dennis wrote: Hello everyone, My name is Dennis and I’m from Nigeria and I want to contribute to the D language, perhaps engage in the upcoming Symmetry Autumn of code, and contribute immensely

My interest in contributing to the D language and participation in the Symmetry Autumn of code

2024-05-14 Thread Dennis via Digitalmars-d-announce
Hello everyone, My name is Dennis and I’m from Nigeria and I want to contribute to the D language, perhaps engage in the upcoming Symmetry Autumn of code, and contribute immensely to the D language and beyond. I’m open to anyone directing me on things to work on. I'd really appreciate that.

Re: Release D 2.107.0

2024-02-02 Thread Dennis via Digitalmars-d-announce
On Friday, 2 February 2024 at 11:26:11 UTC, Richard (Rikki) Andrew Cattermole wrote: Doesn't look like any of Dennis's work on improving the Unicode tables for Phobos has made it in this release. The master branch for 2.107 was cut off on Jan 1st, and the table improvements came after that.

Re: DLF September 2023 Planning Update

2023-11-14 Thread Dennis via Digitalmars-d-announce
On Tuesday, 14 November 2023 at 19:13:38 UTC, Steven Schveighoffer wrote: As I understand the current thinking, that is not what D is intending to do. Additional changes don't require a new edition to be enabled, only breaking changes. I expect editions to mostly subtract code, by turning

Re: D Language Foundation April 2023 Monthly Meeting Summary

2023-05-14 Thread Dennis via Digitalmars-d-announce
On Sunday, 14 May 2023 at 19:38:38 UTC, ryuukk_ wrote: Now you suggest me to depend on WASI by default Unbelievable It's getting hard to maintain composure Then I'll leave it here. There's apparently a big problem with the solutions I provided that I'm supposed to know, but I don't, and

Re: D Language Foundation April 2023 Monthly Meeting Summary

2023-05-14 Thread Dennis via Digitalmars-d-announce
On Sunday, 14 May 2023 at 18:59:52 UTC, ryuukk_ wrote: WASI is not WASM, please don't suggest that as a solution, it's not, this is frustrating to read what you suggest when i bring to you problems I've literally had the same problem as you (missing references to libc symbols when targeting

Re: D Language Foundation April 2023 Monthly Meeting Summary

2023-05-14 Thread Dennis via Digitalmars-d-announce
On Sunday, 14 May 2023 at 16:02:00 UTC, ryuukk_ wrote: I wanted to target WASM, if your hooks call into libC, i can't target WASM.. Good news, there's implementations of libc for WASM (example: https://archlinux.org/packages/community/any/wasi-libc/), and linking them doesn't even increase

Re: exponential errors

2023-05-08 Thread Dennis via Digitalmars-d-announce
On Monday, 8 May 2023 at 05:01:44 UTC, anonymouse wrote: This is a macOS issue. Don't know if it's specific to Ventura but I just loaded up a Debian VM and it runs as expected. Indeed. Apparently Apple changed their floating point parsing function in their C runtime library, causing dmd to

Re: Tutorial on LDC's -ftime-trace

2023-05-02 Thread Dennis via Digitalmars-d-announce
On Tuesday, 2 May 2023 at 12:28:32 UTC, Guillaume Piolat wrote: More tips: - `--ftime-trace` was introduced a while back, at least back in LDC 1.27 or perhaps even earlier. I've tested it in LDC 1.30 and works perfectly. So you can probably already use it without upgrading LDC. True, but

Re: Tutorial on LDC's -ftime-trace

2023-05-02 Thread Dennis via Digitalmars-d-announce
On Monday, 1 May 2023 at 17:56:21 UTC, Johan wrote: - You forgot about the `--ftime-trace-granularity=` option ;-P - The timetrace can also tell you which parts of your program to separate into separate files + separate compilation. Good suggestions. This video I wanted to focus on setting it

Re: Blog post on figuring out attribute inference failure

2023-02-25 Thread Dennis via Digitalmars-d-announce
On Sunday, 19 February 2023 at 19:40:26 UTC, Steven Schveighoffer wrote: https://www.schveiguy.com/blog/2023/02/spelunking-attribute-inference-in-d/ "Hopefully these improvements will be mimicked for all attributes, and instrumenting code will be a thing of the past!" I'm working on it!

Re: Hipreme Engine is fully ported to WebAssembly

2023-02-05 Thread Dennis via Digitalmars-d-announce
On Sunday, 5 February 2023 at 18:48:05 UTC, Richard (Rikki) Andrew Cattermole wrote: It never got upstreamed because it was never attempted. I checked, no PR's for druntime. It's on LDC: https://github.com/ldc-developers/ldc/pull/3345

ctod: a tool that translates C code to D

2022-10-13 Thread Dennis via Digitalmars-d-announce
# ctod **GitHub:** https://github.com/dkorpel/ctod **Dub:** https://code.dlang.org/packages/ctod --- In the summer of 2020, before ImportC, I wrote a tool to help me with my D translations of C libraries: [glfw-d](https://code.dlang.org/packages/glfw-d) and

Re: Walter's Edited DConf Talk Video -- Feedback Request

2022-09-07 Thread Dennis via Digitalmars-d-announce
On Wednesday, 7 September 2022 at 12:42:35 UTC, Mike Parker wrote: https://youtu.be/iuP-AWUyjp8 I suggest boosting the audio as much as you can before it starts clipping. It's currently a bit low.

Re: Winners of the 1st Jan - 31st March 2022 Bugzilla Cycle

2022-04-07 Thread Dennis via Digitalmars-d-announce
On Monday, 4 April 2022 at 11:11:25 UTC, RazvanN wrote: 1. MoonlightSentinel 830 points 2. ljmf00270 points 3. aG0aep6G 240 points Congratulations!

Re: D Language Foundation Monthly Meeting Summary for March 2022

2022-04-04 Thread Dennis via Digitalmars-d-announce
On Monday, 4 April 2022 at 10:59:39 UTC, Mike Parker wrote: One of the problems with going to DIP 1000 by default is what to do about `ref return scope` ambiguity. Walter had finally come up with a fix that was half-implemented. Some of the PRs had been merged, but others were stalled. Those

Re: Release D 2.099.0

2022-03-09 Thread Dennis via Digitalmars-d-announce
On Wednesday, 9 March 2022 at 10:08:50 UTC, meta wrote: Are CI/CD builds available somewhere? on GitHub? You can get a nightly build here: https://github.com/dlang/dmd/releases Regular releases are not hosted on GitHub (yet).

Re: Our New Pull-Request and Issue Manager

2022-02-24 Thread Dennis via Digitalmars-d-announce
On Thursday, 24 February 2022 at 20:32:25 UTC, Arjan wrote: Goed bezig! Veel plezier en succes Dennis. Dank jullie wel! Thank you all!

Re: D Language Foundation Monthly Meeting, December 2021

2021-12-27 Thread Dennis via Digitalmars-d-announce
On Monday, 27 December 2021 at 06:40:30 UTC, Mike Parker wrote: He then talked about a discovery he had made when playing around with the DMD internals which he isn't yet ready to publicize. Is this something good or bad?

Re: On the D Blog -- Teaching D from Scratch: Is it a viable first language?

2021-12-24 Thread Dennis via Digitalmars-d-announce
On Thursday, 23 December 2021 at 12:44:04 UTC, Mike Parker wrote: The blog: https://dlang.org/blog/2021/12/23/teaching-d-from-scratch-is-it-a-viable-first-language/ I agree about the bad error message with missing semicolons. Looks like it inspired improvement!

Re: code-d 0.23.0

2021-11-20 Thread Dennis via Digitalmars-d-announce
On Saturday, 20 November 2021 at 17:57:40 UTC, WebFreak001 wrote: I just released a new version of my Visual Studio Code extension "code-d" Thank you for maintaining such an important piece of D tooling. Don't forget to link your sponsor page: https://github.com/sponsors/WebFreak001

Re: Gordon programming language

2021-10-26 Thread Dennis via Digitalmars-d-announce
On Sunday, 24 October 2021 at 10:13:14 UTC, Tero Hänninen wrote: decided I'd post about my primarily D-influenced programming language here. Looks very interesting. Why did you create it?

Re: Beta 2.098.0

2021-10-17 Thread Dennis via Digitalmars-d-announce
On Tuesday, 12 October 2021 at 12:55:16 UTC, Adam Ruppe wrote: On Sunday, 10 October 2021 at 23:11:56 UTC, Walter Bright wrote: ImportC resolves a long standing serious issue where multiple other substantial attempts at solving it have fallen short over the years. Why have the other

Re: Beta 2.098.0

2021-09-30 Thread Dennis via Digitalmars-d-announce
On Wednesday, 29 September 2021 at 20:53:53 UTC, Martin Nowak wrote: http://dlang.org/changelog/2.098.0.html The changelog is outdated, the entries in master should be moved to stable and then the changelog folder on the master branch can be purged. https://github.com/dlang/dmd/pull/13113

Re: dmdtags 1.0.0: an accurate tag generator for D source code

2021-08-27 Thread Dennis via Digitalmars-d-announce
On Friday, 27 August 2021 at 21:38:58 UTC, Paul Backus wrote: Editors that support tags files, such as Vim and Emacs, can use this index to help with things like project navigation and tab completion. Cool! Now I'll have to look if I can make this work with Visual Studio Code, since code-d

Re: mir.complex

2021-08-20 Thread Dennis via Digitalmars-d-announce
On Friday, 20 August 2021 at 16:44:53 UTC, 9il wrote: Builtin complex numbers have been replaced with mir.complex in the following packages: Out of curiosity, how did std.complex fall short?

Re: Beta 2.097.2

2021-08-12 Thread Dennis via Digitalmars-d-announce
On Thursday, 12 August 2021 at 14:14:27 UTC, FeepingCreature wrote: I can just wait for 2.098.1 otherwise though, it's not a big deal. Since Nullable is a template type, maybe you can just apply the patch on your LDC installation's Phobos source?

Re: Welcome to DUB, the D package registry. Total 2000 packages found.

2021-05-21 Thread Dennis via Digitalmars-d-announce
On Friday, 21 May 2021 at 13:14:08 UTC, Martin Tschierschke wrote: Nice milestone! Great! Only 48 to go until we get a nice, round number.

Re: A Pull Request Manager's Perspective

2021-05-18 Thread Dennis via Digitalmars-d-announce
On Tuesday, 18 May 2021 at 12:58:51 UTC, Mike Parker wrote: https://dlang.org/blog/2021/05/18/a-pull-request-managers-perspective/ Ths emphasizes the fact that druntime needs more love. That conclusion is given along with these numbers: || dmd | phobos | druntime |

Re: Debugging improvements - Visual Studio Natvis, GDB, LLDB

2021-04-23 Thread Dennis via Digitalmars-d-announce
On Tuesday, 6 April 2021 at 21:04:47 UTC, WebFreak001 wrote: I have created editor independent pretty printers / visualization files for Visual Studio's debugger\*, GDB and LLDB. The script and setup guide are available here: https://github.com/Pure-D/dlang-debug This is great.

Re: ae v0.0.3000

2021-04-23 Thread Dennis via Digitalmars-d-announce
Whoa, this commit: https://github.com/CyberShadow/ae/commit/3979fc046a556b55825792d959f3e3a95ff4fd15 "Document Almost Everything" - that's dedication! On Saturday, 10 April 2021 at 20:46:39 UTC, Vladimir Panteleev wrote: -

Re: Destroy All Memory Corruption

2021-04-22 Thread Dennis via Digitalmars-d-announce
On Thursday, 22 April 2021 at 13:30:16 UTC, Steven Schveighoffer wrote: You can always watch the dconf online version on Youtube. This talk is now on YouTube as well: https://www.youtube.com/watch?v=bf7csqqXmrA

Re: LDC 1.25.0

2021-02-26 Thread Dennis via Digitalmars-d-announce
On Friday, 26 February 2021 at 01:10:48 UTC, Mathias LANG wrote: If it's the regular client, then just cd to https://github.com/wolfpld/tracy/tree/master/profiler/build/unix and run `make`. We use it on Linux without problem, but the profiler crashes on Mac OSX ATM. I had to `sudo apt install

Re: LDC 1.25.0

2021-02-25 Thread Dennis via Digitalmars-d-announce
On Monday, 22 February 2021 at 11:57:46 UTC, Johan Engelen wrote: This article explains the basics: https://www.snsystems.com/technology/tech-blog/clang-time-trace-feature Thank you! I opened the trace of my project in chrome://tracing and found that the majority of semantic analysis was

Re: bindbc-lua 0.4.0 -- Lua 5.4, parameter names

2021-02-25 Thread Dennis via Digitalmars-d-announce
On Friday, 19 February 2021 at 08:28:01 UTC, Mike Parker wrote: In recognition of the upcoming named argument support, I've decided to add parameter names to all of the C API function declarations in the BindBC packages. Nice! Thank you. bindbc-lua 0.4.0 can be found at GitHub:

Re: LDC 1.25.0

2021-02-21 Thread Dennis via Digitalmars-d-announce
Great stuff, thanks! On Sunday, 21 February 2021 at 18:26:38 UTC, kinke wrote: - Profile/trace LDC invocations via --ftime-trace. Is there more info on this? I tried it on a simple file, it generates a large json file. Can this be inspected to reduce compile times? The changelog and pull

Re: Windows Bindings v1.0

2021-02-18 Thread Dennis via Digitalmars-d-announce
On Thursday, 18 February 2021 at 00:46:26 UTC, Walter Bright wrote: Please file bugzilla issues for them! I'm not going to file issues for each individual module, since there are about 100 of them. There already is a general issue about Windows headers:

Re: Windows Bindings v1.0

2021-02-17 Thread Dennis via Digitalmars-d-announce
On Wednesday, 17 February 2021 at 20:53:49 UTC, tchaloupka wrote: Thanks for this, looks great. Could the generated code be annotated with nothrow @nogc too? +1 This is actually missing in many core.sys.windows modules.

Re: DIP 1034--Add a Bottom Type (reboot)--Formal Assessment Begins

2021-02-03 Thread Dennis via Digitalmars-d-announce
On Wednesday, 3 February 2021 at 18:24:06 UTC, Imperatorn wrote: Is there a short explanation of why this was done and what it enables? It is done to give better semantics to certain things that currently have special cases in the compiler. E.g. the compiler has an internal list of functions

Re: combindings and directxbindings

2020-09-07 Thread Dennis via Digitalmars-d-announce
On Sunday, 6 September 2020 at 18:14:25 UTC, Ethan wrote: So now there's two libraries. combindings - A thin layer that defines COM compatible UDAs and autogenerates some convenience features directxbindings - Little more than direct hand-done translations of DirectX headers to D Cool

Re: combindings and directxbindings

2020-09-07 Thread Dennis via Digitalmars-d-announce
On Sunday, 6 September 2020 at 18:14:25 UTC, Ethan wrote: So now there's two libraries. combindings - A thin layer that defines COM compatible UDAs and autogenerates some convenience features directxbindings - Little more than direct hand-done translations of DirectX headers to D Cool

Re: Blog Post: What Does Memory Safety Really Mean in D?

2020-08-27 Thread Dennis via Digitalmars-d-announce
On Thursday, 27 August 2020 at 13:32:44 UTC, Paul Backus wrote: Of course, you could also argue that these are things that shouldn't be allowed in @safe code to begin with--regardless of whether pointers are involved. I did not intend to argue anything with that post, I was just pointing out

Re: Blog Post: What Does Memory Safety Really Mean in D?

2020-08-26 Thread Dennis via Digitalmars-d-announce
On Wednesday, 26 August 2020 at 14:29:46 UTC, Dukc wrote: I think there is a workaround to the variable access being always safe. Something like this in a dedicated module: ``` struct SystemVar(T, bool safeVal) { private T _var; static if (safeVal) @safe pure nothrow @nogc auto val() {

Re: Github Actions now support D out of the box!

2020-08-21 Thread Dennis via Digitalmars-d-announce
On Friday, 21 August 2020 at 02:03:40 UTC, Mathias LANG wrote: I ended up picking up the project, after working with actions extensively for my own projects and the dlang org, and my PR was finally merged yesterday (https://github.com/actions/starter-workflows/pull/546). Excellent! One

Translations of GLFW and libsoundio for Windows and Linux

2020-08-20 Thread Dennis via Digitalmars-d-announce
If you are making a D application with graphics or sound, you might be interested in these: https://code.dlang.org/packages/glfw-d https://code.dlang.org/packages/libsoundio-d They are (partial) translations of their respective C libraries. GLFW is a cross-platform library for creating a

Re: From the D Blog: A Pattern for Head-mutable Structures

2020-06-26 Thread Dennis via Digitalmars-d-announce
On Friday, 26 June 2020 at 19:57:36 UTC, Arun Chandrasekaran wrote: No, that's not right to say just for a hyperlink! Show some appreciation and kindness please. If we don't have anything nice to say, it's better not to say anything at all. True that! Mike has been doing many thankless jobs

Re: Origins of the D Programming Language now published by ACM!

2020-06-15 Thread Dennis via Digitalmars-d-announce
On Saturday, 13 June 2020 at 03:16:05 UTC, Walter Bright wrote: Many, many thanks to Mike Parker and Andrei Alexandrescu for their endless hours spent fixing the mess I originally wrote. It turned out great!

Re: LDC 1.19.0-beta2

2019-12-01 Thread Dennis via Digitalmars-d-announce
On Friday, 29 November 2019 at 20:55:10 UTC, kinke wrote: Glad to announce the second beta for LDC 1.19. Thanks! with significant import library additions and changes. So if you target Windows and don't use the Microsoft toolchain, please participate in testing to prevent regressions for

Re: Blog post about printing associative arrays from GDB

2019-10-23 Thread Dennis via Digitalmars-d-announce
Thanks for spitting through the GDB manual so I don't have to! I would've guessed something like this was possible with GDB, but never bothered until now. On Wednesday, 23 October 2019 at 20:52:55 UTC, Johannes Riecken wrote: is there a Phobos function to automatically print expected and

Re: D at 20: Hits and Misses, and what I learned along the way Oct 19

2019-10-17 Thread Dennis via Digitalmars-d-announce
On Thursday, 17 October 2019 at 20:39:41 UTC, H. S. Teoh wrote: Huh. Walter says binary literal were removed from D, so how come the following still compiles on git master?? pragma(msg, 0b1000_1000); I was surprised by him mentioning that as well. I'm glad it stayed too, since I

Re: D at 20: Hits and Misses, and what I learned along the way Oct 19

2019-10-17 Thread Dennis via Digitalmars-d-announce
On Monday, 23 September 2019 at 17:49:12 UTC, H. S. Teoh wrote: Will this talk be posted somewhere like Youtube afterwards? It's up now! https://www.youtube.com/watch?v=p22MM1wc7xQ

Re: Blog Post: Beating std::visit Without Really Trying

2019-10-06 Thread Dennis via Digitalmars-d-announce
On Sunday, 6 October 2019 at 00:58:17 UTC, SrMordred wrote: But why if this is a final switch? (also assert(0); at the end don´t help ) Because the optimization hasn't been implemented yet. https://issues.dlang.org/show_bug.cgi?id=13169

Re: commonmark-d: A fast CommonMark and Github Flavoured Markdown parser, translation of MD4C

2019-10-01 Thread Dennis via Digitalmars-d-announce
Cool! On Monday, 30 September 2019 at 23:06:42 UTC, Guillaume Piolat wrote: Key Performance Numbers: Have you compared it with the original C code from MD4C?

Re: Demo: Calling Typescript library from D via WebAssembly

2019-09-27 Thread Dennis via Digitalmars-d-announce
On Thursday, 26 September 2019 at 09:25:28 UTC, Sebastiaan Koppe wrote: I would like to announce an example showcasing D interacting with a Typescript library via WebAssembly. I love how much work you put into WebAssembly support for D. Keep up the good work! I have started work on a small

Re: setup-dmd GitHub action

2019-09-13 Thread Dennis via Digitalmars-d-announce
On Friday, 13 September 2019 at 10:51:28 UTC, Mihails wrote: So essentially Github Actions takes existing top CI offer and makes it easier to use. Thanks for the clarification you all!

Re: setup-dmd GitHub action

2019-09-12 Thread Dennis via Digitalmars-d-announce
On Thursday, 12 September 2019 at 19:07:30 UTC, WebFreak001 wrote: ... So I've seen GitHub actions pop-up suddenly but I can't figure out what it is. Googling it gives me some high-level generic description about "workflow automation" but I don't see what concrete problem it's trying to

Re: Cross-compiling dub projects with LDC

2019-08-25 Thread Dennis via Digitalmars-d-announce
On Sunday, 25 August 2019 at 21:16:22 UTC, kinke wrote: as many of you probably know, LDC can be used for cross-compilation, and setting that up isn't rocket-science. [1] I actually presumed it would be pretty complicated, so thanks for letting me know this is a thing! Since I work on both

Re: D syntax highlight support by Chroma in Hugo

2019-05-22 Thread Dennis via Digitalmars-d-announce
On Wednesday, 22 May 2019 at 01:36:46 UTC, Shigeki Karita wrote: Recently, I sent a PR [1] in Chroma (syntax highlighter) to support D. Thanks for doing that! I think my implementation is not perfect. I made this announcement to ask some experts for help and to ask Dlang blogger to use

Re: DStep 1.0.0

2019-04-22 Thread Dennis via Digitalmars-d-announce
On Monday, 22 April 2019 at 11:02:24 UTC, Jacob Carlborg wrote: It now supports preserving comments and support for one more platform has been added: Windows. Huh, I've been using DStep on Windows back in January. I can't remember how I obtained the binary, but it's version 0.2.3-67-gdeabc63.

Re: OpenWL/DL - two foundation libraries for building a cross-platform GUI with non-C++ languages

2019-04-12 Thread Dennis via Digitalmars-d-announce
On Friday, 12 April 2019 at 10:02:53 UTC, DanielG wrote: Oh, and I see now you were only asking about OpenWL, not the both of them. Derp. So yeah, just the complete lack of OpenGL support really :P Well I don't mind you telling more about OpenDL either. :) My first reaction to "I made a

Re: OpenWL/DL - two foundation libraries for building a cross-platform GUI with non-C++ languages

2019-04-12 Thread Dennis via Digitalmars-d-announce
On Friday, 12 April 2019 at 06:45:01 UTC, DanielG wrote: OpenWL[1] - cross-platform top-level windowing library, with native menus, events, clipboard/DnD. I'm currently using glfw for that, how does OpenWL compare?

Re: Regionprops implementation for D

2019-03-11 Thread Dennis via Digitalmars-d-announce
On Monday, 11 March 2019 at 09:29:16 UTC, Ferhat Kurtulmuş wrote: I am trying to learn dlang and decided to develop a regionprops library in pure d (https://github.com/aferust/regionpropsford). What is regionprops? What are the use cases for this library?

Re: LDC 1.15.0-beta1

2019-03-09 Thread Dennis via Digitalmars-d-announce
Thanks! On Saturday, 9 March 2019 at 19:57:36 UTC, kinke wrote: * Based on D 2.085.0. Yes, gimme those assertion failure messages! I hope the fix for using it with attributes (https://github.com/dlang/druntime/pull/2479) gets merged in time for the stable release of LDC 1.15. * New

Re: Fireside chat with Walter Bright, the creator of the D programming language

2019-02-22 Thread Dennis via Digitalmars-d-announce
On Thursday, 14 February 2019 at 23:34:40 UTC, Ali Çehreli wrote: We will post a streaming link at the time of the meetup. Is there a recording of it available?

Re: DIP 1016--ref T accepts r-values--Formal Assessment

2019-02-08 Thread Dennis via Digitalmars-d-announce
On Friday, 8 February 2019 at 23:58:49 UTC, H. S. Teoh wrote: Yep, the moral of the story is, if codegen quality is important to you, use ldc (and presumably gdc too) rather than dmd. That's definitely true, but that leaves the question whether lowering rvalue references to lambdas is

Re: DIP 1016--ref T accepts r-values--Formal Assessment

2019-02-08 Thread Dennis via Digitalmars-d-announce
On Friday, 8 February 2019 at 23:02:34 UTC, Nicholas Wilson wrote: Immediately called lamdas are always inlined. ``` extern(C) void main() { int a = (() => 1)(); } ``` dmd -inline -O -release -betterC asm: ``` main: pushRBP mov RBP,RSP call qword

Re: A brief survey of build tools, focused on D

2018-12-10 Thread Dennis via Digitalmars-d-announce
On Monday, 10 December 2018 at 21:01:08 UTC, H. S. Teoh wrote: [SNIP] Great rant! Do you think dub's current architecture is a lost cause or are there some leverage points where it can greatly improve? Also, do you have any recommendations? Currently I'm using dub because it's the standard,

Re: termcolor-d - Colors with writeln(...);

2018-11-21 Thread Dennis via Digitalmars-d-announce
On Wednesday, 21 November 2018 at 18:36:06 UTC, Vladimirs Nordholm wrote: (hackish, POSIX only) Windows support coming? :)

Re: Wed Oct 17 - Avoiding Code Smells by Walter Bright

2018-11-08 Thread Dennis via Digitalmars-d-announce
On Thursday, 8 November 2018 at 23:50:18 UTC, TheFireFighter wrote: No it is not. You can keep saying there is, but it doesn't make it so. ... We don't seem to be on the same page here...do you misunderstand what I want? Fair enough, the exact thing you want is not possible. I understand

Re: Wed Oct 17 - Avoiding Code Smells by Walter Bright

2018-11-08 Thread Dennis via Digitalmars-d-announce
On Thursday, 8 November 2018 at 09:53:59 UTC, TheFireFighter wrote: well you could say the same about pointers. but..what happens when a large number of programmers start using pointers? I don't see the parallel between pointers and class-private. But my argument actually is less about bugs,

Re: Wed Oct 17 - Avoiding Code Smells by Walter Bright

2018-11-07 Thread Dennis via Digitalmars-d-announce
On Wednesday, 7 November 2018 at 11:00:49 UTC, TheFirefighter wrote: Now. How many C++/Java/C# programmers are there? Even if a `super private` attribute or something is introduced, the semantics of private in D will not change. Your hypothetical C# programmer who switches to D assuming

Re: Lost in Translation: Encapsulation

2018-11-06 Thread Dennis via Digitalmars-d-announce
On Tuesday, 6 November 2018 at 15:14:55 UTC, Mike Parker wrote: [...] I noticed that the `export` visibility attribute is curiously not mentioned anywhere in the article. I suppose it is not relevant to the encapsulation story, but it is weird to see it in the spec

Re: BindBC -- The successor to Derelict

2018-10-19 Thread Dennis via Digitalmars-d-announce
On Friday, 19 October 2018 at 17:34:10 UTC, Mike Parker wrote: [...] When I saw the packages appearing on dub, I knew an announcement was imminent. This is great stuff! I don't think dpp obsoletes this. If you aren't already using dpp, being able to just add a dependency from dub is less

Re: Wed Oct 7 - Avoiding Code Smells by Walter Bright

2018-10-16 Thread Dennis via Digitalmars-d-announce
On Monday, 15 October 2018 at 21:23:13 UTC, Walter Bright wrote: I'm giving a presentation at: http://nwcpp.org/ See you there! Will it be streamed live?

Re: LDC 1.12.0-beta2 (based on LLVM 7)

2018-09-30 Thread Dennis via Digitalmars-d-announce
"LTO now basically working for Win64 too" That's great! Why the "basically"? On Saturday, 29 September 2018 at 19:00:09 UTC, kinke wrote: * New, Easy::jit-like interface for dynamic/JIT compilation. What are the applications of that? Is there a code sample I can check out?

Re: LDC 1.11.0 beta2

2018-07-17 Thread Dennis via Digitalmars-d-announce
On Sunday, 15 July 2018 at 19:46:24 UTC, kinke wrote: * Rudimentary support for compiling & linking directly to WebAssembly. See the dedicated Wiki page [1] for how to get started. This is really awesome! I tried the examples, is there any other documentation about it currently? I tried

Re: Vision document for H1 2018

2018-03-12 Thread Dennis via Digitalmars-d-announce
On Monday, 12 March 2018 at 16:07:40 UTC, SealabJaster wrote: This post may not be all that helpful, but I feel the need to voice the frustrations with my experience. Sorry for the pointless/off-topic rant. Thank you for this post, I found this actually really insightful. I'm also