Re: Printing shortest decimal form of floating point number with Mir

2021-01-05 Thread Walter Bright via Digitalmars-d-announce
On 1/4/2021 11:22 PM, 9il wrote: I can't reproduce the same DMD output as you. I did it on Windows 32 bit. I tried it on Linux 32, which does indeed show the behavior you mentioned. At the moment I don't know why the different behaviors. https://issues.dlang.org/show_bug.cgi?id=21526 It j

Re: Printing shortest decimal form of floating point number with Mir

2021-01-05 Thread Walter Bright via Digitalmars-d-announce
On 1/5/2021 5:30 AM, Guillaume Piolat wrote: It would be nice if no excess precision was ever used. It can sometimes gives a false sense of correctness. It has no upside except accidental correctness that can break when compiled for a different platform. That same argument could be use to alwa

Re: Printing shortest decimal form of floating point number with Mir

2021-01-05 Thread Walter Bright via Digitalmars-d-announce
On 1/5/2021 2:42 AM, 9il wrote: On Tuesday, 5 January 2021 at 09:47:41 UTC, Walter Bright wrote: On 1/4/2021 11:22 PM, 9il wrote: I can't reproduce the same DMD output as you. I did it on Windows 32 bit. I tried it on Linux 32, which does indeed show the behavior you mentioned. At the moment

Re: Printing shortest decimal form of floating point number with Mir

2021-01-05 Thread Walter Bright via Digitalmars-d-announce
On 1/5/2021 9:57 PM, Timon Gehr wrote: Anyway, I wouldn't necessarily say occasional accidental correctness is the only upside, you also get better performance and simpler code generation on the deprecated x87. I don't see any further upsides though, and for me, it's a terrible trade-off, becau

Re: Printing shortest decimal form of floating point number with Mir

2021-01-07 Thread Walter Bright via Digitalmars-d-announce
On 1/6/2021 4:26 AM, Jacob Carlborg wrote: On 2021-01-06 03:30, Walter Bright wrote: The baseline Linux target does not have SSE. Other compilers solve this by having a flag to specify the minimum target CPU. DMD has flags for that, too.

Re: Printing shortest decimal form of floating point number with Mir

2021-01-07 Thread Walter Bright via Digitalmars-d-announce
On 1/6/2021 1:31 AM, 9il wrote: > [...] This is the same problem as https://issues.dlang.org/show_bug.cgi?id=21526 It has been provided in the thread https://forum.dlang.org/post/gqzdiicrvtlicurxy...@forum.dlang.org In general, I strongly reiterate that posting bugs to the n.g. means they li

Re: Printing shortest decimal form of floating point number with Mir

2021-01-10 Thread Walter Bright via Digitalmars-d-announce
On 1/9/2021 11:18 PM, Jacob Carlborg wrote: On 2021-01-06 03:30, Walter Bright wrote: The baseline Linux target does not have SSE. What about this changelog entry: https://dlang.org/changelog/2.087.0.html#xmm-linux-changelog ? Eh, you're right. It's FreeBSD32

Re: Say Hello to Our Two New Pull-Request/Issue Managers

2021-01-14 Thread Walter Bright via Digitalmars-d-announce
This is great news! Congrats to Andrew and Razvan. I'm looking forward to working with them.

Re: Please Congratulate My New Assistant

2021-01-21 Thread Walter Bright via Digitalmars-d-announce
Welcome Max and congratulations!

Re: Please Congratulate My New Assistant

2021-01-24 Thread Walter Bright via Digitalmars-d-announce
On 1/24/2021 5:49 AM, Timon Gehr wrote: There is certainly useful work to be done in the issue tracker. I am here objecting to certain systematic destructive practices that do not even have any upside. I wish this kind of behavior would stop forever. You are not the first person to engage into

Re: Please Congratulate My New Assistant

2021-01-25 Thread Walter Bright via Digitalmars-d-announce
On 1/24/2021 10:46 PM, Imperatorn wrote: Imo it's reasonable to close or archive issues that are older than 10 years. We are not going to do that just because they are old. If a bug still exists in the current DMD, the bug report stays open.

Re: Article: Why I use the D programming language for scripting

2021-01-31 Thread Walter Bright via Digitalmars-d-announce
On 1/31/2021 12:36 PM, aberba wrote: It's finally out! https://opensource.com/article/21/1/d-scripting Very nice and informative article!

Idioms for the D programming language

2021-02-11 Thread Walter Bright via Digitalmars-d-announce
Now #5 on the front page of https://news.ycombinator.com/news The page being discussed: https://p0nce.github.io/d-idioms/ and on reddit: https://www.reddit.com/r/programming/comments/lhssjp/idioms_for_the_d_programming_language/

Re: Idioms for the D programming language

2021-02-12 Thread Walter Bright via Digitalmars-d-announce
On 2/11/2021 5:53 PM, James Lu wrote: On Thursday, 11 February 2021 at 20:12:36 UTC, Walter Bright wrote: Now #5 on the front page of https://news.ycombinator.com/news I've gotten Dlang to the frontpage of HN 3 other times: Specification for the D Programming Language https://news.ycombinat

Re: Idioms for the D programming language

2021-02-14 Thread Walter Bright via Digitalmars-d-announce
On 2/13/2021 7:57 AM, James Lu wrote: I once resubmitted with an AMA-style comment, which was the difference between getting 12 points and not getting on the frontpage, and getting on the frontpage with 158 points. Yup. Another critical thing is to make the first post. The first post has a st

Re: Windows Bindings v1.0

2021-02-17 Thread Walter Bright via Digitalmars-d-announce
On 2/17/2021 2:09 PM, Dennis wrote: 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. Please file bugzilla issues for the

Re: Release D 2.096.0

2021-03-13 Thread Walter Bright via Digitalmars-d-announce
Thank you, Martin!

Dr Callahan ports D compiler to OpenBSD

2021-03-21 Thread Walter Bright via Digitalmars-d-announce
https://briancallahan.net/blog/20210320.html https://news.ycombinator.com/item?id=26520996#26531423 https://reddit.com/r/programming/comments/m9xu8s/a_working_d_compiler_on_openbsd/ Thanks to Dr Brian Callahan!

Re: Dr Callahan ports D compiler to OpenBSD

2021-03-22 Thread Walter Bright via Digitalmars-d-announce
No problem, Brian. I just assumed that since the article used Dr, that you preferred it. It's a good idea to sign up on Reddit and HN, if only to help support your work and articles.

Re: Beta 2.096.1

2021-04-16 Thread Walter Bright via Digitalmars-d-announce
On 4/14/2021 8:10 AM, Martin Nowak wrote: Glad to announce the first beta for the 2.096.1 point release, ♥ to the 15 contributors. Thank you, Martin!

Destroy All Memory Corruption

2021-04-19 Thread Walter Bright via Digitalmars-d-announce
I'll be doing a reprise of my DConf 2020 talk on Destroy All Memory Corruption on April 21, 2021 at 7PM PST. https://nwcpp.org/ Except this time it'll be live, not prerecorded. All are welcome!

Re: Destroy All Memory Corruption

2021-04-23 Thread Walter Bright via Digitalmars-d-announce
On 4/21/2021 6:31 PM, Ali Çehreli wrote: This is happening in half an hour. It requires MS Teams, which requires a MS (or Skype) account. I was a bit concerned about this, so a couple days earlier Lloyd and I worked to get everything configured and working at my end. It worked smoothly, but

Re: Destroy All Memory Corruption

2021-04-24 Thread Walter Bright via Digitalmars-d-announce
On 4/24/2021 2:53 PM, Paul Backus wrote: I assume it's to ensure that objects are destroyed properly when unwinding the stack. Might be possible to avoid in `nothrow` code. Yes, you can avoid this in nothrow code.

Keep up with ImportC using hashtag #ImportC

2021-06-07 Thread Walter Bright via Digitalmars-d-announce
https://twitter.com/hashtag/ImportC?src=hashtag_click There are a couple ancient tweets there, just ignore them.

Re: Keep up with ImportC using hashtag #ImportC

2021-06-11 Thread Walter Bright via Digitalmars-d-announce
On 6/10/2021 9:08 AM, Imperatorn wrote: On Tuesday, 8 June 2021 at 06:39:51 UTC, Walter Bright wrote: https://twitter.com/hashtag/ImportC?src=hashtag_click There are a couple ancient tweets there, just ignore them. ImportC will actually be kinda cool Yup, that's why I'm putting the effort i

Re: LDC 1.27.0-beta3

2021-07-14 Thread Walter Bright via Digitalmars-d-announce
On 7/14/2021 12:38 PM, kinke wrote: Glad to announce the third beta for LDC 1.27. Some noteworthy changes since beta2: Nice work!

Re: GCC 11.2 Released

2021-07-29 Thread Walter Bright via Digitalmars-d-announce
On 7/29/2021 7:51 AM, Iain Buclaw wrote: GCC version 11.2 was released on the 28th. Thank you!

Re: Beta 2.098.0

2021-10-10 Thread Walter Bright via Digitalmars-d-announce
On 10/5/2021 10:36 AM, ag0aep6g wrote: it's also true that Walter prioritizes new features instead (ImportC is the latest fad) ImportC resolves a long standing serious issue where multiple other substantial attempts at solving it have fallen short over the years. Unfortunately, ImportC is use

Re: Beta 2.098.0

2021-10-10 Thread Walter Bright via Digitalmars-d-announce
On 10/5/2021 8:57 AM, Steven Schveighoffer wrote: On 10/4/21 6:40 PM, Temtaime wrote: https://issues.dlang.org/show_bug.cgi?id=22115 was created for no reason and fixed same day. Aside from the tasteless (and incorrect) attack here, creating an issue, even for a small change, puts something i

Re: DConf Online 2021 Schedule Published

2021-10-11 Thread Walter Bright via Digitalmars-d-announce
Use #dconf2021 on twitter! https://twitter.com/hashtag/dconf2021

Re: Beta 2.098.0

2021-10-19 Thread Walter Bright via Digitalmars-d-announce
On 10/19/2021 6:35 AM, Timon Gehr wrote: I think @live is a dead end and any further work on it is probably wasted unless the code is reusable for some other feature. Ownership is a property of values, not of functions operating on those values. In particular, prioritizing ImportC over @live is

Re: Beta 2.098.0

2021-10-20 Thread Walter Bright via Digitalmars-d-announce
On 10/19/2021 10:08 PM, max haughton wrote: Why is compiling zlib a goalpost for *Import*C? Dogfooding.

Re: Gordon programming language

2021-10-24 Thread Walter Bright via Digitalmars-d-announce
The Emperor would shoot you for interrupting his wedding with this news! Fire when Gordon's in range!

Re: Gordon programming language

2021-10-25 Thread Walter Bright via Digitalmars-d-announce
On 10/25/2021 1:38 AM, Tero Hänninen wrote: On Monday, 25 October 2021 at 00:39:07 UTC, Walter Bright wrote: The Emperor would shoot you for interrupting his wedding with this news! Fire when Gordon's in range! Ohh sh*t, I've got to runnn! Thanks for creating D, Walter. I liked the core D lan

Classes in D with betterC

2021-11-19 Thread Walter Bright via Digitalmars-d-announce
https://lsferreira.net/posts/zet-1-classes-betterc-d/ by Luís Ferreira It's currently on the front page of Hacker News: https://news.ycombinator.com/

Re: DConf Online 2021 Links

2021-11-23 Thread Walter Bright via Digitalmars-d-announce
Mike, the conference went great and very smoothly! You did a great job on all aspects! And thanks to all the presenters for great work, too!

Re: GDC has just landed v2.098.0-beta.1 into GCC

2021-12-03 Thread Walter Bright via Digitalmars-d-announce
On 11/30/2021 11:37 AM, Iain Buclaw wrote: The latest version of the D language has [now landed](https://gcc.gnu.org/git/?p=gcc.git;a=commit;h=5fee5ec362f7a243f459e6378fd49dfc89dc9fb5) in GCC. Excellent!

DMD now incorporates a disassembler

2022-01-07 Thread Walter Bright via Digitalmars-d-announce
Compile with -vasm to see it! Enjoy! For the file test.d: int demo(int x) { return x * x; } Compiling with: dmd test.d -c -vasm prints: _D4test4demoFiZi: : 89 F8 mov EAX,EDI 0002: 0F AF C0imulEAX,EAX 0005: C3

Re: DMD now incorporates a disassembler

2022-01-08 Thread Walter Bright via Digitalmars-d-announce
On 1/8/2022 10:47 AM, Vladimir Marchevsky wrote: On Friday, 7 January 2022 at 21:41:55 UTC, Walter Bright wrote: Compile with -vasm to see it! Enjoy! Any practical reason to put disassembler into compiler instead of making it a separate tool?  Any ETA for renaming it into DMD Burning ROM? :)

Re: DMD now incorporates a disassembler

2022-01-08 Thread Walter Bright via Digitalmars-d-announce
On 1/8/2022 12:50 PM, max haughton wrote: On Saturday, 8 January 2022 at 18:47:11 UTC, Vladimir Marchevsky wrote: On Friday, 7 January 2022 at 21:41:55 UTC, Walter Bright wrote: Compile with -vasm to see it! Enjoy! Any practical reason to put disassembler into compiler instead of making it a

Re: DMD now incorporates a disassembler

2022-01-08 Thread Walter Bright via Digitalmars-d-announce
On 1/7/2022 10:39 PM, ag0aep6g wrote: With feature creep in full swing now, when can I expect to read my email with DMD? The real question is why doesn't your email reader have an option to disassemble the email?

Re: DMD now incorporates a disassembler

2022-01-08 Thread Walter Bright via Digitalmars-d-announce
On 1/7/2022 4:43 PM, Elronnd wrote: On Friday, 7 January 2022 at 21:41:55 UTC, Walter Bright wrote:   :   89 F8   mov EAX,EDI Feature request: octal. I buried my PDP-11 long ago. Sob.

Re: DMD now incorporates a disassembler

2022-01-08 Thread Walter Bright via Digitalmars-d-announce
On 1/7/2022 7:25 PM, Brian Callahan wrote: Thanks Walter. This is quite useful. Welcs. I'm already productively using it myself.

Re: DMD now incorporates a disassembler

2022-01-09 Thread Walter Bright via Digitalmars-d-announce
On 1/8/2022 10:04 PM, max haughton wrote: Anyway, I've been playing with -vasm and I think it seems pretty good so far. There are some formatting issues which shouldn't be hard to fix at all (this is why we asked for some basic tests of the shape of the output), put I think I've only found one

Re: DMD now incorporates a disassembler

2022-01-09 Thread Walter Bright via Digitalmars-d-announce
On 1/8/2022 10:04 PM, max haughton wrote: For GCC/Clang you'd want -S I know about that, but take a look at it: > cat fred.c int fred(int a[10]) { return a[11]; } > cc -S test.c > cat test.s .file "test.c" .text .globl test .type test, @function test

Re: DMD now incorporates a disassembler

2022-01-09 Thread Walter Bright via Digitalmars-d-announce
On 1/9/2022 11:33 AM, max haughton wrote: https://stackoverflow.com/questions/2511018/how-does-objdump-manage-to-display-source-code-with-the-s-option obj2asm does the same thing: https://www.digitalmars.com/ctg/obj2asm.html

Why I Like D

2022-01-11 Thread Walter Bright via Digitalmars-d-announce
"Why I like D" is on the front page of HackerNews at the moment at number 11. https://news.ycombinator.com/news

Re: Why I Like D

2022-01-12 Thread Walter Bright via Digitalmars-d-announce
On 1/12/2022 8:14 AM, Steven Schveighoffer wrote: I wonder if there is just so much fear of the GC vs people who actually tried to use the GC and it failed to suit their needs. I've never been afraid of the GC in my projects, and it hasn't hurt me at all. My experience with people who don't wa

Re: On the D Blog: Using the GCC Static Analyzer on the D Programming Language

2022-01-15 Thread Walter Bright via Digitalmars-d-announce
Nice work, Max!

Re: From the D Blog: The Binary Language of Moisture Vaporators

2022-01-24 Thread Walter Bright via Digitalmars-d-announce
On 1/24/2022 10:22 AM, Imperatorn wrote: On Monday, 24 January 2022 at 14:22:21 UTC, Mike Parker wrote: Some of you may be aware that Walter recently added a disassembler to DMD. He writes about it in his latest post for the D blog. The blog: https://dlang.org/blog/2022/01/24/the-binary-langua

Re: From the D Blog: The Binary Language of Moisture Vaporators

2022-01-24 Thread Walter Bright via Digitalmars-d-announce
On 1/24/2022 1:57 PM, Moth wrote: first: how exactly does assembly output relate to moisture vaporators? Vaporators run on compiled code, so do understand the binary code of vaporators, you'll need a disassembler. I wanted to make looking at the binary code easy and fun. second: what on ea

Re: The DIID series (Do It In D)

2022-01-24 Thread Walter Bright via Digitalmars-d-announce
This is a nice initiative, Thanks! But may I offer a suggestion: The phrase "How bad really is the D ecosystem?" only asks a question, but people tend to interpret such sentences as "D's ecosystem is really bad". What works better is: "How good really is the D ecosystem?"

Re: The DIID series (Do It In D)

2022-01-24 Thread Walter Bright via Digitalmars-d-announce
On 1/24/2022 4:34 PM, Elronnd wrote: On Monday, 24 January 2022 at 23:33:29 UTC, Walter Bright wrote: The phrase "How bad really is the D ecosystem?" only asks a question, but people tend to interpret such sentences as "D's ecosystem is really bad". What works better is: "How good really is t

Re: The DIID series (Do It In D)

2022-01-25 Thread Walter Bright via Digitalmars-d-announce
On 1/25/2022 12:44 AM, Guillaume Piolat wrote: I'll consider fixing this. I always read "How good really is X?" as "this is bad" and "How bad really is X?" as "this is good" probably because for the french the best appreciation you can get is "not bad!" Thanks for considering it.

Re: DIP 1038--"@mustUse" (formerly "@noDiscard")--Accepted

2022-02-07 Thread Walter Bright via Digitalmars-d-announce
On 2/6/2022 7:17 AM, Paul Backus wrote: To be honest, though, I can see where he's coming from. When writing DIP 1038, I made a conscious effort to avoid using the term "non-`@nodiscard`", due to the double negative. With a positively-phrased name like `@mustUse`, that problem disappears. And

Re: DIP 1038--"@mustUse" (formerly "@noDiscard")--Accepted

2022-02-07 Thread Walter Bright via Digitalmars-d-announce
On 2/6/2022 9:05 PM, forkit wrote: only to have the compiler complain, that its' actually @mustUse I have to agree. All D keywords and imports and compiler-recognized attributes are lower case, @mustuse should be consistent with that.

Re: DIP 1038--"@mustUse" (formerly "@noDiscard")--Accepted

2022-02-07 Thread Walter Bright via Digitalmars-d-announce
On 2/7/2022 5:10 PM, forkit wrote: Suppose I don't want to 'use it'. That should be allowed, as long as I don't discard it. With mustuse, I'm being told I can't discard it, and that i must use it. Sorry, all those negations made my brain explode. P.S. English has examples of negation issues,

Re: DIP 1038--"@mustUse" (formerly "@noDiscard")--Accepted

2022-02-07 Thread Walter Bright via Digitalmars-d-announce
On 2/6/2022 7:14 AM, Daniel N wrote: However by choosing "use" we could avoid the entire discussion about which case to use... "mustuse" is much more greppable.

Re: DIP 1038--"@mustUse" (formerly "@noDiscard")--Accepted

2022-02-07 Thread Walter Bright via Digitalmars-d-announce
On 2/7/2022 6:21 PM, Paul Backus wrote: On Monday, 7 February 2022 at 23:40:38 UTC, Walter Bright wrote: On 2/6/2022 9:05 PM, forkit wrote: only to have the compiler complain, that its' actually @mustUse I have to agree. All D keywords and imports and compiler-recognized attributes are lower

Re: Added copy constructors to "Programming in D"

2022-02-10 Thread Walter Bright via Digitalmars-d-announce
On 2/10/2022 12:06 AM, Mathias LANG wrote: I think an *immediate* improvement we could make to ease people's life is to make `auto` peel the outermost qualifier level inside functions. So that: ```D const int* ptr; auto p2 = ptr; static assert(is(typeof(p2) == const(int)*)); ``` I really can't

Re: Added copy constructors to "Programming in D"

2022-02-10 Thread Walter Bright via Digitalmars-d-announce
On 2/10/2022 12:34 PM, Walter Bright wrote: On 2/10/2022 12:06 AM, Mathias LANG wrote: I think an *immediate* improvement we could make to ease people's life is to make `auto` peel the outermost qualifier level inside functions. So that: ```D const int* ptr; auto p2 = ptr; static assert(is(typ

Re: DConf 2022 in London?

2022-02-15 Thread Walter Bright via Digitalmars-d-announce
On 2/15/2022 4:22 AM, Mike Parker wrote: Personally, I'm super pumped about this. I hope to see a lot of you in London in August! I'm in!

Re: Beta 2.099.0

2022-02-16 Thread Walter Bright via Digitalmars-d-announce
On 2/15/2022 10:55 PM, Rainer Schuetze wrote: The PR was too late for the beta, but this is the basic change: https://github.com/dlang/druntime/pull/3740/files#diff-5cbe9748431681a766784b1bd997444d58d436a26a345b32397daae478f85c5dR907 Sweet!

Re: Beta 2.099.0

2022-02-16 Thread Walter Bright via Digitalmars-d-announce
Now that the beta is released (Thank you, Martin!) could we get the documentation for __import pulled? https://github.com/dlang/dlang.org/pull/3182

Re: Teaching D at a Russian University

2022-02-19 Thread Walter Bright via Digitalmars-d-announce
On 2/19/2022 12:26 PM, Elronnd wrote: I think it is fine as is. So do I. I enjoy the unusual phrasings some ESL people use. For example, a long time ago in a circle of friends of mine one ESL person would say things like: "time for go" instead of "time to go" "make some shoppings" inst

Adding Modules to C in 10 Lines of Code

2022-04-17 Thread Walter Bright via Digitalmars-d-announce
https://nwcpp.org/ An online presentation. Monday at 7PM PST.

Re: Adding Modules to C in 10 Lines of Code

2022-04-17 Thread Walter Bright via Digitalmars-d-announce
On 4/17/2022 5:40 PM, Ali Çehreli wrote: On 4/17/22 13:12, Walter Bright wrote: https://nwcpp.org/ An online presentation. Monday at 7PM PST. (My earlier post disappeared.) April 20 is Wednesday. Ali Gak! My bad. You're right.

Re: Adding Modules to C in 10 Lines of Code

2022-04-19 Thread Walter Bright via Digitalmars-d-announce
On 4/19/2022 5:41 AM, jmh530 wrote: Will there be a recording available? Yes. NWCPP routinely posts the video a few days later.

Re: Adding Modules to C in 10 Lines of Code

2022-04-22 Thread Walter Bright via Digitalmars-d-announce
On 4/17/2022 1:12 PM, Walter Bright wrote: https://nwcpp.org/ An online presentation. Monday at 7PM PST. Slides: https://nwcpp.org/talks/2022/modules_in_c.pdf Video: https://www.youtube.com/watch?v=2ImfbGm0fls

Re: Beta 2.100.0

2022-04-23 Thread Walter Bright via Digitalmars-d-announce
On 4/22/2022 2:24 AM, Martin Nowak wrote: Glad to announce the first beta for the 2.100.0 release, ♥ to the 40 contributors. http://dlang.org/download.html#dmd_beta http://dlang.org/changelog/2.100.0.html As usual please report any bugs at https://issues.dlang.org -Martin Yay! Thanks, Mart

Re: Beta 2.100.0

2022-04-24 Thread Walter Bright via Digitalmars-d-announce
On 4/23/2022 7:45 AM, Guillaume Piolat wrote: Those are not super critical bugs. It would just be nice to be able to use D_SIMD one day, as DMD compile speed benefits are enticing. I've addressed all three. The latter two are the result of incorrect usage, so I added some examples here: http

Re: GCC 12.1 Released (D v2.100-rc.1)

2022-05-06 Thread Walter Bright via Digitalmars-d-announce
On 5/6/2022 4:57 AM, Iain Buclaw wrote: I am proud to announce another major GCC release, 12.1. Very impressive work, Iain!

IntelliJ D Language support

2022-05-11 Thread Walter Bright via Digitalmars-d-announce
Now on front page of hackernews! https://news.ycombinator.com/news

Re: Release D 2.100.0

2022-05-15 Thread Walter Bright via Digitalmars-d-announce
As always, stellar work, Martin! Thank you!

Re: LDC 1.30.0-beta1

2022-05-17 Thread Walter Bright via Digitalmars-d-announce
On 5/16/2022 11:31 AM, kinke wrote: Glad to announce the first beta for LDC 1.30. Excellent work!

Re: Adding Modules to C in 10 Lines of Code

2022-06-04 Thread Walter Bright via Digitalmars-d-announce
On 5/29/2022 11:13 PM, Paulo Pinto wrote: Stepstone did it for Objective-C with #import, Not the same as C doing the importing of C code. and Apple with module maps for C and Objective-C, the modules design that preceeded C++ modules on clang. Then we have those failed attempts at fixing C

Re: Adding Modules to C in 10 Lines of Code

2022-06-04 Thread Walter Bright via Digitalmars-d-announce
On 6/4/2022 5:29 AM, Paulo Pinto wrote: I guess going around the horn is a synonym for lets pretend there wasn't prior art and keep arguing D did it first, as usual. Writing a paper is not doing it first.

Re: Adding Modules to C in 10 Lines of Code

2022-06-05 Thread Walter Bright via Digitalmars-d-announce
On 6/4/2022 10:54 PM, Paulo Pinto wrote: That paper had a real implementation to follow along, I didn't see it. while Lucid and IBM products were real things one could buy. That are *C* compilers doing imports for *C* code? What C compilers have imports: gcc - nope clang - nope VC - nope

Re: Adding Modules to C in 10 Lines of Code

2022-06-05 Thread Walter Bright via Digitalmars-d-announce
On 6/5/2022 7:26 AM, mee6 wrote: On Saturday, 4 June 2022 at 19:26:27 UTC, Walter Bright wrote: On 6/4/2022 5:29 AM, Paulo Pinto wrote: I guess going around the horn is a synonym for lets pretend there wasn't prior art and keep arguing D did it first, as usual. Writing a paper is not doing it

Re: Adding Modules to C in 10 Lines of Code

2022-06-07 Thread Walter Bright via Digitalmars-d-announce
On 6/5/2022 10:49 PM, Paulo Pinto wrote: On Sunday, 5 June 2022 at 22:41:14 UTC, Walter Bright wrote: That are *C* compilers doing imports for *C* code? https://clang.llvm.org/docs/Modules.html And I am out of this thread. I had thought that was just for ObjectiveC. It seems it does work for

Adding Modules to C on Hacker news

2022-06-27 Thread Walter Bright via Digitalmars-d-announce
#28 on the front page https://news.ycombinator.com/news

Re: The D Programming Language Vision Document

2022-07-06 Thread Walter Bright via Digitalmars-d-announce
Mike has our full support in his moderation policy and authority.

Re: D Community Conversations: Walter Bright on the Origins of D Part 1

2022-07-16 Thread Walter Bright via Digitalmars-d-announce
On 7/10/2022 8:26 PM, Mike Parker wrote: On Sunday, 10 July 2022 at 18:26:13 UTC, bachmeier wrote: Have you considered uploading the audio to Spotify or somewhere as a podcast? No idea what that would involve, but for a lot of us there are more opportunities to listen to a podcast rather than w

Re: D Community Conversations: Walter Bright on the Origins of D Part 1

2022-07-16 Thread Walter Bright via Digitalmars-d-announce
On 7/11/2022 2:18 PM, bachmeier wrote: One reason is that the editing can be done automatically by services like Descript. I don't know if Mike does it manually. Doing it automatically means then you've got to spend time comparing the two to ensure it cut in the right places :-(

Re: LDC 1.30.0

2022-07-28 Thread Walter Bright via Digitalmars-d-announce
On 7/20/2022 11:43 AM, kinke wrote: Glad to announce LDC 1.30.0. Yay!

Re: Giving up

2022-08-06 Thread Walter Bright via Digitalmars-d-announce
On 8/5/2022 9:43 AM, Max Samukha wrote: Both "123." and "123.E123" is valid C. For some reason, D only copied the former. It's to support UFCS (Universal Function Call Syntax). The idea with C compatible aspects of D is to not *silently* break code when there's a different meaning for it. An

Re: Giving up

2022-08-06 Thread Walter Bright via Digitalmars-d-announce
On 8/6/2022 2:02 AM, Tim wrote: It could silently break code if the right function is defined. The following example is valid in C and D (except import/include), but prints a different value: ```D // #include import core.stdc.stdio; int E2(int i) {     return i; } int main() {     float f

Re: Giving up

2022-08-06 Thread Walter Bright via Digitalmars-d-announce
On 8/6/2022 4:08 AM, Max Samukha wrote: UFCS could still be supported with the exception of functions named like exponents. (I am not advocating for it.) We could, and enter the inevitable bug report from the baffled user who can't figure out why UFCS stopped working for his algorithm-generate

Re: Giving up

2022-08-06 Thread Walter Bright via Digitalmars-d-announce
On 8/6/2022 1:29 PM, Timon Gehr wrote: Seems you should just use a long double/real literal? real x = 0x1p-16383L; // (works) Looks like that settles it. (Why didn't I notice that? Sheesh!)

Re: DConf '22 Slide Links and Update on Videos

2022-08-18 Thread Walter Bright via Digitalmars-d-announce
Thank you, Mike!

Re: Meanwhile on the audio front

2022-09-22 Thread Walter Bright via Digitalmars-d-announce
On 9/22/2022 6:10 AM, Guillaume Piolat wrote: September was a great month for the D sub-community around #Dplug & #audio. Very nice work!

Re: Ali introduced D at Northeastern University

2022-10-08 Thread Walter Bright via Digitalmars-d-announce
Just posted it in the "New" section of HackerNews

Re: D Language Foundation October 2022 Quarterly Meeting Summary

2022-11-02 Thread Walter Bright via Digitalmars-d-announce
On 11/2/2022 4:19 AM, Steven Schveighoffer wrote: On one of the only articles using ImportC (which otherwise shines a positive light on the feature), this specific issue is the only one that comes up as a blocker: The easiest option would be to simply ignore "const" when it is "const pointer

Re: D Language Foundation October 2022 Quarterly Meeting Summary

2022-11-02 Thread Walter Bright via Digitalmars-d-announce
On 11/2/2022 4:19 AM, Steven Schveighoffer wrote: https://briancallahan.net/blog/20220704.html That's now in the "new" section of HackerNews! https://news.ycombinator.com/newest

Re: DConf Online '22 Day One Livestream

2022-12-17 Thread Walter Bright via Digitalmars-d-announce
On 12/17/2022 5:12 AM, Mike Parker wrote: The DConf Online Day One Q & A Livestream kicks off in less than an hour. See you there! Many thanks to today's speakers: Átila Neves Max Haughton Robert Schadek Dennis Korpel Adam D. Ruppe who obviously spent a lot of time and effort preparing their

Re: text based file formats

2022-12-19 Thread Walter Bright via Digitalmars-d-announce
On 12/18/2022 7:56 AM, Robert Schadek wrote: So stop talking, and start creating PR's. Yup! Curious why CSV isn't in the list. I encounter that a lot at tax time. https://en.wikipedia.org/wiki/Comma-separated_values Maybe just ask OpenAI?

Re: DConf Online '22 Day Two Livestream

2022-12-19 Thread Walter Bright via Digitalmars-d-announce
On 12/18/2022 5:08 AM, Mike Parker wrote: We're coming up on the start of the Day Two livestream. I'll get it started at 13:45 UTC. I'll jump in around 13:50, and Walter will join me at 13:55 just before his talk starts. See you there! https://youtu.be/VCgdajZconA Another marvelous DConf d

Re: text based file formats

2022-12-19 Thread Walter Bright via Digitalmars-d-announce
On 12/19/2022 4:35 AM, Adam D Ruppe wrote: On Monday, 19 December 2022 at 09:55:47 UTC, Walter Bright wrote: Curious why CSV isn't in the list. Maybe std.csv is already good enough? LOL, learn something every day! I've even written my own, but it isn't very good.

Re: text based file formats

2022-12-21 Thread Walter Bright via Digitalmars-d-announce
On 12/20/2022 11:46 AM, John Colvin wrote: We use this at work with some light tweaks, it’s done a lot work 🙂 Sweet!

Re: text based file formats

2022-12-21 Thread Walter Bright via Digitalmars-d-announce
On 12/20/2022 8:19 PM, 9il wrote: It has already been replaced with [mir.csv](https://github.com/libmir/mir-ion/blob/master/source/mir/csv.d). Mir is faster, SIMD accelerated, and supports numbers and timestamp recognition. Propose this for Phobos?

<    1   2   3   4   5   6   7   8   9   10   >