On Monday, 27 May 2024 at 16:17:07 UTC, aberba wrote:
By Ionut Arghire:
The North Korea-linked hacking group Lazarus has been observed
deploying Dlang malware in attacks against organizations in
the manufacturing, agriculture, and physical security sectors,
Cisco’s Talos security researchers
LDC yet again is proving how essential it is for D, now that more
OS are embracing ARM, having LDC available and maintained to
support latest version of LLVM and all kind of platforms is a
blessing
The maintainer is using macOS, and his library targets many
platforms including the web with
It'll be interesting to know what the experience was for the
maintainer to play around with D (for the first time?)
From what i could gather, problems encountered:
- rvalue ref params (wich led to someone telling him to use
-preview=all wich led to other issues)
- attributes soup
- float
I just saw this yesterday, and i haven't see anybody talk about
it here, so i decided to share this great news for D here
Sokol is a popular gamedev library https://github.com/floooh/sokol
It now officially supports D, thanks to the work led by
https://github.com/kassane
https://github.com/dlang/phobos/pull/8925/files#diff-647aa2ce9ebedd6759a2f1c55752f0279de8ae7ba55e3c270bd59e1f8c1a5162R131
Why can't D have its own types?
Just importing this introduces dependencies on other system
modules
```D
import core.stdc.config;
import core.stdc.stddef; // for wchar_t
On Wednesday, 7 February 2024 at 15:27:34 UTC, cookiewitch wrote:
On Wednesday, 7 February 2024 at 12:49:31 UTC, ryuukk_ wrote:
On Wednesday, 7 February 2024 at 07:43:58 UTC, cookiewitch
wrote:
Windows:
* Static Windows libraries for Freetype have been replaced
with dynamic ones, which makes
On Wednesday, 7 February 2024 at 07:43:58 UTC, cookiewitch wrote:
Windows:
* Static Windows libraries for Freetype have been replaced with
dynamic ones, which makes it a lot easier to compile.
I am working on a PR that makes working with static libraries
easier
On Sunday, 28 January 2024 at 18:11:24 UTC, Mike Parker wrote:
Some of you may recall the two conversations I had with Walter
a while back, part of what I called the 'D Community
Conversations' series. I've long planned to get that going as a
regular, monthly thing. Finally, the time has come.
On Tuesday, 23 January 2024 at 06:30:08 UTC, Jonathan M Davis
wrote:
That being said, I expect that it would be pretty easy to write
a mixin to do something like that if you really wanted to.
Also, if you're simply looking to not have to name the type,
you could do
dataGrid = new
On Saturday, 20 January 2024 at 15:25:35 UTC, Renato wrote:
On Saturday, 20 January 2024 at 14:14:10 UTC, Hipreme wrote:
- I have tried contributing to dub's project on
parallelization, I waste 1 week trying that and could not get
it working, so, I decided it would be a better use of my time
A string literal as an assert condition is deprecated
Thanks, caught one in my project!
On Monday, 1 January 2024 at 10:50:22 UTC, Konstantin wrote:
On Sunday, 31 December 2023 at 11:12:23 UTC, Mike Parker wrote:
Finally, he brought up code-d, [the Visual Studio Code
extension for D](https://github.com/Pure-D/code-d) maintained
by Jan Jurzitza (Webfreak). Steve said that it was
On Sunday, 31 December 2023 at 11:12:23 UTC, Mike Parker wrote:
(__UPDATE__: Both [the Bugzilla
issue](https://issues.dlang.org/show_bug.cgi?id=24153) and [the
pull request](https://github.com/dlang/dmd/pull/15627) have
since been closed, as the issue is no longer reproducible.)
I just
On Saturday, 30 December 2023 at 07:13:25 UTC, monkyyy wrote:
https://monkyyy.itch.io/test-wasm-missle-command
https://github.com/crazymonkyyy/raylib-2024
(press f9 to change color scheme)
Nearly done with my alpha todo list, schvelguy got it working
on windows,
so thats 3 platforms,
We plan to add more memory management utilities, thereby making
writing completely GC-less D code a lot more user-friendly.
I'd be happy to help
What D really is missing _right now_, and will hopefully get
_before_ phobosv3 is a good and minimalistic Allocator API, i
modeled mine around
Nice, thanks for sharing, it'll be very useful for the C++
developers who want to give D a try
This needs to be taken out of DRuntime because DRuntime is
distributed pre-compiled, and that ties it to a specific
compiler API, which isn't good. Instead, we should distribute
it as a package. It's something he'd brought up before.
Why not directly distribute DRuntime as a source? or
Replace libdparse with the DMD Library in dfmt
That's awesome to see tooling getting some love! thanks
On Sunday, 17 September 2023 at 00:55:22 UTC, Richard (Rikki)
Andrew Cattermole wrote:
On 17/09/2023 11:46 AM, Adam Wilson wrote:
Kidding aside. If you do this, you might as well turn them on
everywhere. After that it's a easy stroll to a non-blocking
moving GC, which would end most complaints
On Friday, 15 September 2023 at 17:39:41 UTC, M.M. wrote:
In February there were some exciting news on the usage of dlang
within serpent-os linux distribution, quite a large open source
project of Ikey Doherty and the team around him.
Unfortunately, the project decided to leave dlang behind,
On Saturday, 2 September 2023 at 20:41:33 UTC, Dukc wrote:
Just a while ago I was hit by some sort of a violent ailment. I
first noticed it like an hour ago, and I'm shivering as I stand
in a well-heated house, despite having had a sauna just a while
ago. Temperature already high.
I wouldn't
On Sunday, 27 August 2023 at 09:10:14 UTC, drock wrote:
On Saturday, 26 August 2023 at 13:08:14 UTC, kinke wrote:
Glad to announce LDC 1.34.0. Major changes:
* Based on D 2.104.2.
* Support for LLVM 16, incl. v16.0.6 for the prebuilt
packages. Support for v9 and v10 was dropped.
* 64-bit
On Friday, 7 July 2023 at 03:06:28 UTC, Walter Bright wrote:
1. continue to evolve the language
I'm super excited about this!
- Tagged Union? :D
- Pattern Matching? :D ()
- Built-in Tuple with deconstructing? :D
On Sunday, 4 June 2023 at 12:53:39 UTC, Ki Rill wrote:
![alt
text](https://github.com/rillki/learn-dlang/blob/master/lesson%2327%20-%20in%2C%20out%2C%20inout%20type%20qualifiers/slides/1.png?raw=true)
Here is the [link](https://youtu.be/bY7MYykaahk).
Thanks for your tutorials, gamedev is an
On Monday, 15 May 2023 at 17:44:20 UTC, Dany12L wrote:
On Monday, 15 May 2023 at 14:26:52 UTC, ryuukk_ wrote:
On Sunday, 14 May 2023 at 21:47:51 UTC, Dany12L wrote:
On Sunday, 14 May 2023 at 18:59:52 UTC, ryuukk_ wrote:
I'll end up just sticking to C if nobody understand
Fine but what do
On Sunday, 14 May 2023 at 21:47:51 UTC, Dany12L wrote:
On Sunday, 14 May 2023 at 18:59:52 UTC, ryuukk_ wrote:
I'll end up just sticking to C if nobody understand
Fine but what do you solve? If you need memcpy you will in any
case have to implement it yourself or use some already made
On Sunday, 14 May 2023 at 19:13:50 UTC, Dennis wrote:
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
On Sunday, 14 May 2023 at 18:51:38 UTC, Dennis wrote:
Then my project no longer compile, thanks a lot!
When you use a custom druntime, you can't expect stability when
you upgrade the compiler but not your druntime. The real issue
here is that there is no proper support for WebAssembly in
On Sunday, 14 May 2023 at 18:51:38 UTC, Dennis wrote:
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
WASI is not WASM, please don't suggest that as a
Razvan next brought up Teodor Dutu's work on converting
DRuntime hooks to templates. An intended side effect of this
effort is that it should make things more usable in BetterC,
but sometimes, getting real work done in one of these templates
means calling into the C library (memset, memcpy,
On Saturday, 13 May 2023 at 15:58:12 UTC, ryuukk_ wrote:
On Friday, 5 May 2023 at 11:26:26 UTC, Ogi wrote:
Or it perhaps doesn't need that list and i am wrong in my
analysis, wich is probably the case
On Friday, 5 May 2023 at 11:26:26 UTC, Ogi wrote:
On Wednesday, 3 May 2023 at 11:13:34 UTC, Mike Parker wrote:
…
That’s a lot of words but little actual sense. What makes you
think that this IVY™ program is the silver bullet that D
desperately needs? And not just yet another load of crap
On Friday, 12 May 2023 at 03:11:49 UTC, ryuukk_ wrote:
On Thursday, 11 May 2023 at 23:00:03 UTC, epilogue wrote:
On Thursday, 11 May 2023 at 00:56:03 UTC, ryuukk_ wrote:
Don't you find this code easier to read and review?
```D
if (target.os == .Windows)
{
On Thursday, 11 May 2023 at 23:00:03 UTC, epilogue wrote:
On Thursday, 11 May 2023 at 00:56:03 UTC, ryuukk_ wrote:
Don't you find this code easier to read and review?
```D
if (target.os == .Windows)
{
item("windows");
}
else
{
I was reading DMD source code, case of repetition that adds
nothing of value but useless reading strain
https://github.com/dlang/dmd/blob/999d835c1196eb993a99bb7f1c863da265a6b6c0/compiler/src/dmd/json.d#L843-L869
```D
if (target.os == Target.OS.Windows)
{
On Monday, 1 May 2023 at 14:03:51 UTC, bachmeier wrote:
On Monday, 1 May 2023 at 00:34:03 UTC, ryuukk_ wrote:
I don't think it's a misconception. It's more like a complete
lack of clarity.
the goal is not to use an anonymous enum, the goal is to
leverage the robust type system to avoid
Do you write this?
```
float myfloat = float(1.0);
```
Or this?
```
float myfloat = 1.0;
```
Why would it be different for enums (or any other type)
Also i suggest you to try all kind of languages to expand your
knowledge and to try out new UX that modern languages provide,
there is no
On Thursday, 27 April 2023 at 13:03:17 UTC, bachmeier wrote:
On Thursday, 27 April 2023 at 06:10:57 UTC, Basile B. wrote:
On Thursday, 27 April 2023 at 00:16:10 UTC, Walter Bright
wrote:
This also works:
alias F = MySuperLongNameFlag;
auto flag = F.A | F.B | F.C | F.D;
On Wednesday, 26 April 2023 at 12:50:32 UTC, bachmeier wrote:
On Wednesday, 26 April 2023 at 11:52:31 UTC, Jacob Shtokolov
wrote:
On Tuesday, 25 April 2023 at 20:15:39 UTC, ryuukk_ wrote:
void set_connected()
{
network_connect_state = NetworkConnectState.CONNECTED
}
MySuperLongNameFlag
On Wednesday, 26 April 2023 at 10:48:21 UTC, Greggor wrote:
On Tuesday, 25 April 2023 at 04:54:43 UTC, Mike Parker wrote:
I submitted DIP1044, "Enum Type Inference", to Walter and
Atila on April 1. I received the final decision from them on
April 18. They have decided not to accept this
On Wednesday, 26 April 2023 at 11:52:31 UTC, Jacob Shtokolov
wrote:
On Tuesday, 25 April 2023 at 20:15:39 UTC, ryuukk_ wrote:
void set_connected()
{
network_connect_state = NetworkConnectState.CONNECTED
}
MySuperLongNameFlag flag = MySuperLongNameFlag.A |
MySuperLongNameFlag.B |
On Wednesday, 26 April 2023 at 01:39:14 UTC, Walter Bright wrote:
On 4/25/2023 1:15 PM, ryuukk_ wrote:
Or perhaps, listen to this person:
https://github.com/dlang/dmd/pull/14650
That only does a subset of the proposal. The inference only
works in specific cases. Things like function
On Tuesday, 25 April 2023 at 20:59:23 UTC, max haughton wrote:
On Tuesday, 25 April 2023 at 20:15:39 UTC, ryuukk_ wrote:
On Tuesday, 25 April 2023 at 18:38:14 UTC, max haughton wrote:
[...]
Why you guys focus on "switch"
Because that's the example given by Mike...
Who doesn't love writing
On Tuesday, 25 April 2023 at 18:38:14 UTC, max haughton wrote:
On Tuesday, 25 April 2023 at 04:54:43 UTC, Mike Parker wrote:
Firstly I think this is the correct decision, certainly for
now, probably forever.
Regarding enums in switch statements, Walter suggested we
could shorten the `with
On Tuesday, 25 April 2023 at 04:54:43 UTC, Mike Parker wrote:
I submitted DIP1044, "Enum Type Inference", to Walter and Atila
on April 1. I received the final decision from them on April
18. They have decided not to accept this proposal.
On Friday, 21 April 2023 at 15:26:15 UTC, Rey Valeza wrote:
Hi, I just completed the newer version of the tutorial on
Vibe.d. It is viewable here:
https://reyvaleza.gitbook.io/vibe.d-tutorial
and the PDF version is downloadable here:
Another suggestion:
https://i.imgur.com/x7nkKXl.png
This is unreadable, please put that on a code block too to make
it easier on the eyes
On Monday, 17 April 2023 at 15:26:16 UTC, kinke wrote:
A new patch version was just released:
* The prebuilt Linux packages are now generated on a Ubuntu
20.04 box, so the min required glibc version has been raised
from 2.26 to 2.31.
* Fix empty `ldc.gccbuiltins_*` modules with LLVM 15+.
*
On Monday, 3 April 2023 at 16:41:25 UTC, Iain Buclaw wrote:
Glad to announce D 2.103.0, ♥ to the 43 contributors.
This release comes with 9 major changes, including:
- In the compiler, `-preview=dip25` is now enabled by default.
- In the standard library, std.uni Grapheme functions have been
On Friday, 10 March 2023 at 21:14:38 UTC, Hipreme wrote:
On Friday, 10 March 2023 at 21:10:50 UTC, ryuukk_ wrote:
Congrats!
But metal obj-c? do you mean DMD support only? so no Apple
Silicon (intel only)?
I don't think Intel stuff on mac ecosystem will be a thing for
too long, PPC era
On Friday, 10 March 2023 at 20:53:23 UTC, Hipreme wrote:
Hello guys. I have been working for some time into binding
Metal to D.
This has been quite an interesting journey and today I've
reached a point where it is usable.
It is far from complete, but I included a lot of comments from
Apple's
On Thursday, 2 March 2023 at 14:40:04 UTC, Iain Buclaw wrote:
Glad to announce the first beta for the 2.103.0 release, ♥ to
the 43 contributors.
This release comes with 9 major changes, including:
- In the compiler, `-preview=dip25` is now enabled by default.
- In the standard library,
On Monday, 27 February 2023 at 14:24:38 UTC, Adam D Ruppe wrote:
On Monday, 27 February 2023 at 12:08:58 UTC, newbie wrote:
with `betterC` you can target into new platform without much
work, and easy to deal with dynamic library, generate much
fast and smaller binary.
you can do this
I use -betterC because i can focus on the language and build upon
it, i don't have to deal with the slowness of phobos and more
importantly, i don't have to wait for phobos or druntime to be
ported to WASM in order to be able to target to WASM, i target
WASM today
It also makes me confident
That's pretty cool, thanks for sharing!
On Saturday, 4 February 2023 at 12:47:30 UTC, Guillaume Piolat
wrote:
On Friday, 3 February 2023 at 13:41:35 UTC, Hipreme wrote:
![Hipreme Engine Match3 sample game on
web](https://user-images.githubusercontent.com/10136262/216611608-aebcb31b-a5f3-4153-ac41-44777f19896a.png)
This custom
Congrats!
This shows D capabilities, system language that is able to scale
from as little as micro controllers to full blown cross platform
games including the Web with WASM!
That's why it's always important to keep runtime as simple as
possible, and the std as minimal as possible, lets you
On Thursday, 2 February 2023 at 12:30:50 UTC, Iain Buclaw wrote:
Glad to announce D 2.102.0, ♥ to the 40 contributors.
This release comes with support for multiple message arguments
in `static assert()`, stack allocated `scope` array literals, a
new preview switch to add support for `@system`
On Monday, 23 January 2023 at 01:48:11 UTC, Rey Valeza wrote:
Hi,
I just uploaded a second edition of the tutorial I uploaded on
Github last year. Here is the link:
https://github.com/reyvaleza/vibed/blob/main/Build%20Web%20Apps%20in%20Vibed%20second%20edition.pdf
Thanks!
PDF is not a good
On Saturday, 21 January 2023 at 04:29:28 UTC, Mike Parker wrote:
Robert spoke up then to suggest deprecating @property and
releasing a tool that removes it from a code base. Then we
should apply that tool to create pull requests for all dub
packages using @property, and then in a future
On Sunday, 8 January 2023 at 11:27:14 UTC, Mike Parker wrote:
Have you ever considered hacking on the D compiler but were
intimidated by the build process? Dennis Korpel has been
working on a series of video tutorials aimed at helping
potential contributors establish a foundation from which to
On Wednesday, 2 November 2022 at 04:42:06 UTC, Mike Parker wrote:
Following that, he had begun adding colors in the stack trace
because he thought they were unreadable, and adding colors was
not that much work. He had a proof-of-concept but still had a
few things to work out.
That's a little
WOW that's pretty cool!!
It was always time consuming having to manually port C code, your
tool will be very helpful!
Thanks a lot for sharing!
On Tuesday, 27 September 2022 at 21:07:25 UTC, Willian wrote:
https://forum.dlang.org/post/misbkuqdifjdhhsox...@forum.dlang.org
On Sunday, 21 November 2021 at 15:08:18 UTC, MGW wrote:
I am still developing my QtE5 library.
Unfortunately, I don't have enough free time to make it into a
On Thursday, 22 September 2022 at 01:28:11 UTC, Doigt wrote:
On Wednesday, 21 September 2022 at 10:39:27 UTC, Mike Parker
wrote:
For example:
T front() => from;
becomes:
T front => from;
As DIP author, Max decided against this. He said it's not a
bad idea, but it's then
On Monday, 5 September 2022 at 11:39:44 UTC, Mike Parker wrote:
I mentioned to Max that I had spoken to Eyal Lotem of Weka
about the move constructor DIP (DIP 1040, "Copying, Moving, and
Forwarding",
You linked the wrong DIP, your link point to DIP1043
On Monday, 5 September 2022 at 11:39:44 UTC, Mike Parker wrote:
EV code-signing certs are expensive, and also have a 2FA
dependency on a hardware token
D is an established open source project known by everyone in the
planet
I'm pretty sure contacting one company to get sponsor for 1 would
Dennis brought up a discussion about reducing the size of
object.d that came up in a PR thread. Specifically, moving
things into separate modules, then making object.d a list of
public imports would make it easier to maintain a custom
object.d.
It is unfortunate that my suggestion was used
That's a very cool library, i might ditch stb_image for yours,
thanks for sharing!
I went ahead and added it to the list of libraries that supports
QOI file format here: https://github.com/phoboslab/qoi/pull/235
One suggestion, have a little struct with function pointers for
On Wednesday, 6 July 2022 at 14:30:07 UTC, Paulo Pinto wrote:
On Tuesday, 5 July 2022 at 12:34:57 UTC, ryuukk_ wrote:
On Monday, 4 July 2022 at 05:30:10 UTC, Andrej Mitrovic wrote:
On Sunday, 3 July 2022 at 08:46:31 UTC, Mike Parker wrote:
You can find the final draft of the high-level goals
On Monday, 4 July 2022 at 05:30:10 UTC, Andrej Mitrovic wrote:
On Sunday, 3 July 2022 at 08:46:31 UTC, Mike Parker wrote:
You can find the final draft of the high-level goals for the D
programming language at the following link:
https://github.com/dlang/vision-document
Under 'Memory
Pattern matching
Hopefully that includes proper built in Tagged Union, non OOP
people need that otherwise we are stuck in C's era of programming
We can, and we should do better (import std.sumtype is
embarrassing when other languages have it built in without
template soup, i still refuse
I know GCs are a big source of contention, particularly so
among game developers, but I have to say I've never really
experienced one of the (theoretical) scenarios where a GC ruins
a game's performance or something like that, at least not with
the D GC. It seems to just be a matter of not
On Saturday, 14 May 2022 at 14:58:52 UTC, zoujiaqing wrote:
Hi, everybody.
The epidemic in China is serious. I am in home quarantine in
Shanghai.
I used to write a lot of frameworks. But they are huge and
difficult to use.
I've always wanted to design a lightweight Web framework that
is
That's impressive, and shows the D capabilities, the future is
WASM!!! glad to see D ready for it!
I'm working on a similar project, thanks for sharing, it'll be
very helpful for me!
On Saturday, 20 February 2021 at 14:03:18 UTC, Rumbu wrote:
- updated to Windows SDK 10.19041.5
- wchar* constants with GUID patterns translated as GUID
structures
- improved documentation
- strongly typed handles
- auto disposed handles
- new attributes (currently ignored): RetVal,
On Saturday, 9 January 2021 at 11:48:46 UTC, kinke wrote:
Glad to announce the first beta for LDC 1.25 - some highlights:
- Based on D 2.095.0+.
- LLVM for prebuilt packages bumped to v11.0.1.
- Profile/trace LDC invocations via --ftime-trace.
- New Windows installer.
- New experimental
77 matches
Mail list logo