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
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
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.
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
On 5/16/2022 11:31 AM, kinke wrote:
Glad to announce the first beta for LDC 1.30.
Excellent work!
As always, stellar work, Martin! Thank you!
Now on front page of hackernews!
https://news.ycombinator.com/news
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!
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
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
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
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.
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.
https://nwcpp.org/
An online presentation.
Monday at 7PM PST.
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
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
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!
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!
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
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
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
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.
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,
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.
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
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.
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
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?"
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
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
Nice work, Max!
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
"Why I like D" is on the front page of HackerNews at the moment at number 11.
https://news.ycombinator.com/news
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
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
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
On 1/7/2022 7:25 PM, Brian Callahan wrote:
Thanks Walter. This is quite useful.
Welcs. I'm already productively using it myself.
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.
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?
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
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? :)
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
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!
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!
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/
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
The Emperor would shoot you for interrupting his wedding with this news! Fire
when Gordon's in range!
On 10/19/2021 10:08 PM, max haughton wrote:
Why is compiling zlib a goalpost for *Import*C?
Dogfooding.
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
Use #dconf2021 on twitter!
https://twitter.com/hashtag/dconf2021
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
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
On 7/29/2021 7:51 AM, Iain Buclaw wrote:
GCC version 11.2 was released on the 28th.
Thank you!
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!
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
https://twitter.com/hashtag/ImportC?src=hashtag_click
There are a couple ancient tweets there, just ignore them.
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.
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
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!
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!
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.
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!
Thank you, Martin!
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
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
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
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/
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!
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.
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
Welcome Max and congratulations!
This is great news! Congrats to Andrew and Razvan. I'm looking forward to
working with them.
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
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
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.
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
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
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
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
On 1/4/2021 4:11 AM, 9il wrote:
[...]
The reason those switches are provided is because the write/read is a
performance hog.
D provides a couple functions in druntime which guarantee rounding intermediate
values to float/double precision. Those can be used as required. This is better
than a
On 1/3/2021 8:37 PM, 9il wrote:
I didn't believe it when I got a similar answer about IEEE floating-point numbers:
D doesn't pertinent to be IEEE 754 compatible language and the extended
precision bug is declared to be a language feature.
The "extended precision bug" is how all x87 code works,
On 12/20/2020 5:21 AM, Martin Nowak wrote:
Glad to announce the first beta for the 2.095.0 release, ♥ to the 61
contributors.
http://dlang.org/download.html#dmd_beta
http://dlang.org/changelog/2.095.0.html
As usual please report any bugs at
https://issues.dlang.org
-Martin
Thank you, Marti
If you don't want the formatting code to be part of Phobos, I respect your
choice.
On 12/21/2020 8:51 PM, 9il wrote:
... I just have thought maybe I have missed something and DLF helps Mir with
advertising at least a bit, maybe at least with two-three tweets per year? The
last time @D_Programming tweeted something about Mir was in 2016.
I thought anything in D.announce got a
On 12/21/2020 8:33 PM, 9il wrote:
These functions in Phobos would make a great advertisement for Mir.
How this possible?
A lot more people will have Phobos than Phobos+Mir. If they are perusing the
source code and see Mir contributed excellent floating point formatting code,
they may have ne
On 12/20/2020 9:42 PM, 9il wrote:
On Sunday, 20 December 2020 at 22:21:56 UTC, Walter Bright wrote:
Can the improved parsing be added to D? (It would need to be Boost licensed.)
If I am correct there is open PR that set DMD to use C’s primitives for literals
parsing. So, for compiler itself we
On 12/13/2020 10:47 PM, 9il wrote:
Note that D's compiler floating-point literals parsing and Phobos floating-point
literals parsing are not precise [5,6,7,8]. It is recommended to use Mir's
to!double/float/real to convert floating-point numbers from a string.
Can the improved parsing be added
On 12/3/2020 8:27 AM, 9il wrote:
Since the first announcement [0] the original benchmark [1] has been boosted [2]
with Mir-like implementations.
This is really great! Can you write an article about it? Such would be really
helpful in letting people know about it.
I enjoyed #DConfOnline very much, though I miss seeing everyone in person.
Thanks go out to all the people who helped out by asking questions that made the
chats interesting and informative.
Special thanks go out to our speakers who provided the technical presentations:
Stefan Koch
Steven Sch
What's the hashtag? #dconf2020 ?
On 9/23/2020 7:01 AM, Arun wrote:
How does the compiler handle function lookup when there is an ambiguous match,
but the ambiguous function is in a different module?
What would be the solution?
The same way it handles it without named arguments - an error.
On 9/17/2020 6:42 AM, Jean-Louis Leroy wrote:
That being said, does the new feature imply any change in the *parameters*
themselves?
No.
I.e. are there changes in the way the function is defined,
No.
not only in the way it is called?
It only affects calling syntax in providing an altern
On 9/12/2020 5:26 PM, Manu wrote:
What a monster release! We haven't had one like this for a while!
Should be something for everyone in it :-)
On 9/11/2020 12:48 AM, Martin Nowak wrote:
As usual please report any bugs at
https://issues.dlang.org
https://issues.dlang.org/show_bug.cgi?id=21241
(The changelog is basically illegible on Chrome.)
On 9/11/2020 12:48 AM, Martin Nowak wrote:
Glad to announce the first beta for the 2.094.0 release, ♥ to the 49
contributors.
This is the first release to be built with LDC on all platforms, so we'd welcome
some more thorough beta testing.
http://dlang.org/download.html#dmd_beta
http://dlang
On 8/11/2020 2:30 AM, Martin Nowak wrote:
Glad to announce the first beta for the 2.093.1 point release, ♥ to the 11
contributors.
Thank you, Martin and the 11!
On 8/20/2020 3:12 AM, aberba wrote:
Wrote something on OpenSource.com
https://opensource.com/article/20/8/nesting-d
Very nice! Thank you, Lawrence!
Very nice! Thanks to everyone who helped make this happen.
On 7/31/2020 10:57 AM, H. S. Teoh wrote:
Not sure how blog-worthy this is,
It is. Please do it!
On 7/10/2020 12:56 PM, Steven Schveighoffer wrote:
But on July 25-26, we will do another online beerconf like was done in June.
This went off very nicely! Thanks to all to participated, and especially to
Steven for finding good video conferencing software (much better than Skype is)
and runni
101 - 200 of 1144 matches
Mail list logo