Re: D Language Foundation August 2022 Monthly Meeting Summary
On Monday, 5 September 2022 at 11:39:44 UTC, Mike Parker wrote: [...] Thanks for the roundup! It's exciting to see dub being worked on more actively. Even the superficial changes are nice.
Re: Druntime merged into dmd repo
On Tuesday, 12 July 2022 at 07:12:25 UTC, RazvanN wrote: This is not something a user is going to be affected by. But it will make it much easier for the compiler/druntime devs to do work. DMD and druntime are very strictly coupled and sometimes modifying one requires changes in the other. That lead to situations where it was practically impossible to integrate changes without temporarily breaking the CI. Moreover, it was a pain to bisect bugs that were affected by both druntime/dmd changes. Thank you for the elucidation! I might be wrong, but some time ago, there was talk of deprecating druntime or something to that effect, and I wondering whether this was step in that direction, but it appears that is not the case.
Re: The D Programming Language Vision Document
On Monday, 4 July 2022 at 08:34:14 UTC, Mike Parker wrote: Walter and Atila have both talked about rethinking exceptions. Atila brought it up in his DConf Online 2021 talk here: https://youtu.be/UqW42_8kn0s?t=1429 You can see Walter's comments about it in the subsequent Q & A session here: https://youtu.be/g26eJcs2QB0?t=1809 Thank you. I hope to see something more tangible in the future as it's an interesting area to explore. I think that's a reasonable policy. The last thing any of us want is to stifle debate or censor opinions, but we feel that it's reasonable to ask people to participate in debates and express their opinions without upsetting others. So we're going to do our best to find a middle ground. Bit of shame you feel the need to make a change given the circumstances you've detailed. I think you've done a fine job thus far. Appreciate your response!
Re: Druntime merged into dmd repo
On Saturday, 9 July 2022 at 22:24:45 UTC, max haughton wrote: Say thank you to Iain, Mathias, Vladimir, and Martin. This will make D better. More details to come. I'm ignorant. Why is this significant?
Re: The D Programming Language Vision Document
On Sunday, 3 July 2022 at 08:46:31 UTC, Mike Parker wrote: [...] Firstly, thank you for composing this. Given the desire to reduce GC usage in PhobosV2, would it be fair to say this implies changing error handling schemes found therein, i.e. avoiding exceptions as they are implemented now, where reasonable? And if so, have core members mentioned any alternatives? With regards to moderation policy, are there specific issues; about which you feel comfortable speaking; that prompted this item's inclusion in the vision document?
Re: DIP1000: Memory Safety in a Modern System Programming Language Pt.1
On Tuesday, 21 June 2022 at 15:05:46 UTC, Mike Parker wrote: [...] ```d int[5] stackData = [-1, -2, -3, -4, -5]; // Lifetime of stackData2 ends // before limitedRef, so this is // disallowed. limitedRef = stackData[]; ``` In the above example, `stackData2` seems to be a typo.
Re: Release D 2.099.0
https://dlang.org/changelog/2.099.0.html#throw_expression Yes! I can finally rid my code of `throwException`.
Re: DConf 2022 in London?
On Tuesday, 15 February 2022 at 12:22:05 UTC, Mike Parker wrote: [...] I regret not getting into D sooner, when I could have driven to a dconf.
Re: sha3-d
On Friday, 29 October 2021 at 15:13:38 UTC, dd wrote: Hello all! When I submitted my work to Phobos[1] earlier this year, it was rejected. (Understandably) So I made a DUB package and forgot to announce it here! Package: https://code.dlang.org/packages/sha3-d Source: https://github.com/dd86k/sha3-d [1] https://github.com/dlang/phobos/pull/7713 Thank you so much for this! I have to rework a program, and it needs to support SHA3.
Re: Release D 2.096.0
On Sunday, 14 March 2021 at 05:31:27 UTC, Max Haughton wrote: On Sunday, 14 March 2021 at 03:25:28 UTC, starcanopy wrote: On Saturday, 13 March 2021 at 21:33:20 UTC, Meta wrote: On Saturday, 13 March 2021 at 21:15:40 UTC, Martin Nowak wrote: [...] Allow shortened function implementations for single-expresssion functions. -preview=shortenedMethods is added. This allows functions to be written in a similar form to lambda functions: // these 2 are equivalent int foo() { return 1; } int foo() => 1; The syntax allows the form => expr to replace the function body { return expr; } Amazing! I had no idea this got in. I love the syntax. It's pretty neat, but a DIP has to be drafted and approved for it to be enabled by default, right? (Unless I missed it.) Correct. To be completely honest it shouldn't have ever been merged since there was no approval from WalTila and they steer the language. Given your status as a member of the Foundation, is there a plan/track of sorts to convert such a DIP-less -preview feature to a full-fledged one? I know it's a lot of work to write an improvement proposal, and deliberation with the community is a seemingly tiring (but necessary) ordeal, but I'm concerned that this feature will be in purgatory if its author becomes busy or forgets about it. (Barring another individual assuming proprietorship.)
Re: Release D 2.096.0
On Saturday, 13 March 2021 at 21:33:20 UTC, Meta wrote: On Saturday, 13 March 2021 at 21:15:40 UTC, Martin Nowak wrote: [...] Allow shortened function implementations for single-expresssion functions. -preview=shortenedMethods is added. This allows functions to be written in a similar form to lambda functions: // these 2 are equivalent int foo() { return 1; } int foo() => 1; The syntax allows the form => expr to replace the function body { return expr; } Amazing! I had no idea this got in. I love the syntax. It's pretty neat, but a DIP has to be drafted and approved for it to be enabled by default, right? (Unless I missed it.)
Re: Beta 2.095.0
On Sunday, 20 December 2020 at 13:21:46 UTC, 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 Bugzilla 21452: isCallable erroneously returns false on function templates Thank you, Mr. Schroll!
Re: LDC 1.24.0-beta1
On Friday, 23 October 2020 at 22:48:33 UTC, Imperatorn wrote: On Friday, 23 October 2020 at 20:21:39 UTC, aberba wrote: On Friday, 23 October 2020 at 18:01:19 UTC, Kagamin wrote: [...] Not saying Kinke SHOULD do it. Was rather disagreeing with the idea that "developers" don't use installers. And that's a shortcoming with the LDC project...no straightforward way to set it up on Windows using an installer. If visuald supports LDC, why not point people to it. [...] I agree with this. Not providing an installer gives the message that you're not that interested in people using it. That's an exaggeration. Every release is accompanied by binaries that one may easily retrieve. Setting up the dependencies is only done once, and if you're a Windows developer, such an environment most likely exists, and you'll likely only have to add the bin to your path. It's my understanding that there are few people regularly working on LDC; allocating (voluntary!) manpower to a nice but non-essential component doesn't seem wise.
Re: DConf Online 2020 Schedule
On Wednesday, 14 October 2020 at 12:41:34 UTC, Mike Parker wrote: The DConf Online schedule is now live on the website. I've got a blog post coming tomorrow which will, among other things, include an announcement about the schedule aimed at the world outside our community in a form suitable for /r/programming. https://dconf.org/2020/online/index.html Appreciate your work, Mike! Trust Me: An Exploration of @trusted Code in D I am greatly looking forward to this talk.
Re: D mentionned in the ARTIBA webzine for an article on Silq
On Wednesday, 2 September 2020 at 07:38:01 UTC, JN wrote: One thing I always feel this forum is missing is a section for work in progress projects, even if they never end up anywhere. Right now people are shy about their projects, so the only way you learn about them is by finding mentions of them such as these, when they're released on DUB repository or when someone makes an announcement post on Announce. The problem with Announce is that people only use it for official releases - and that's good - but we're missing out on all the work in progress buzz. [...] I'd really love a "Projects" section here on these forums, with perhaps sections for "WIP" and "Releases", so that people can post all the cool stuff they are working on for others to see. I'd also really like this to be a thing. On Wednesday, 2 September 2020 at 13:31:25 UTC, Adam D. Ruppe wrote: But what I think would be really cool though is like an internal twitter... no size limit but also a culture that there's no expectation for length and quality. Just casual "think out loud" or in-progress project updates that can split into chat. I could write that in a few hours. then blog about it omg. but the hard part isn't technical, it is just getting people to actually use it. Mastodon instance? But if you do create an ad-hoc service, I'd very much use it if you didn't necessitate registration with an email.
Re: Symmetry Investments and the D Language Foundation are Hiring
On Monday, 31 August 2020 at 19:55:32 UTC, Arun wrote: On Sunday, 30 August 2020 at 14:13:36 UTC, Mike Parker wrote: Looking for a full-time or part-time gig? Not only is Symmetry Investments hiring D programmers, they are also generously funding two positions for ecosystem work under the D Language Foundation. And they've put up a bounty for a new DUB feature. Read all about it here: https://dlang.org/blog/2020/08/30/symmetry-investments-and-the-d-language-foundation-are-hiring/ SHA-1 hashing throughout Why not SHA-256? I think the majority opinion is that sha1 is fine for non-security purposes like monitoring files for changes to obviate superfluous work in a build system; for which DUB seemingly would use the sha1 checksums. I have (had) a script that would backup files, and I'd use sha1 to detect changes instead of sha256 because the latter's storage and computational requirements were not insignificant compared to the former. This is just my perspective, however. I could be talking nonsense.
Re: tetris in D in webassembly
On Monday, 10 August 2020 at 15:08:59 UTC, Adam D. Ruppe wrote: http://webassembly.arsdnet.net/ tetris.d source here: http://dpldocs.info/this-week-in-d/Blog.Posted_2020_08_03.html#tetris-in-d web assembly source and explanation here: http://dpldocs.info/this-week-in-d/Blog.Posted_2020_08_10.html Short version: BARE MINIMUM druntime port to webassembly together with a bare minimum source port of simpledisplay.d to it as well made that little game playable. In theory we could make a lot more work by building up one function at a time. In practice I gotta get back to real work so don't hold your breath :) This is really cool. This idea, especially, titillates me: "I'm pretty tempted to make serve.d automatically compile modules on demand to make a generic little server that can run a variety of programs without even thinking about it. Just drop a D file in the directory and surf to it in your browser! I might do that later."