On 2019-08-26 05:55, Andrej Mitrovic wrote:
I'm guessing this means we might even be able to use multiple versions
of Phobos one day. However before we do that, we will really need to fix
the use of globals in Phobos.
I don't think that's necessary. All symbols will have the version be
part
On 2019-09-07 00:02, Andre Pany wrote:
Hi,
Just a small info, building your D application using Github Actions just
works out of the box thanks to the install.sh script!
This configuration will install a "dub build" pull request voter:
I would like to announce that I've ported Mecca [1] to macOS. It was
merged in May but I never bothered to announce it until now. Everything
except the file watcher has been ported and is working. Unfortunately
the unit tests fail in Travis CI, but they pass locally and in Circle
CI. Something
On 2019-08-07 19:45, Ron Tarrant wrote:
I'm not familiar with Mecca. What is a Container/reactor library?
I guess it's a reactor library. I see it as a library providing fiber
based non-blocking IO. It also provides containers, logging, reflection,
serialization and a bunch of other things
On 2019-11-11 14:44, Robert Schadek wrote:
So dub has some problems, and personally I find its code base very hard
to get
into.
At Symmetry we are a very heavy user of dub, resulting in many wasted
hours.
So I started to write dud [1]. I kept some boring/nice parts from dub,
but most
code
On Thursday, 7 November 2019 at 10:25:46 UTC, Ron Tarrant wrote:
I follow the steps outlined here:
https://github.com/gtkd-developers/GtkD/wiki/Installing-on-Windows
And one of those steps (Step #5) says to copy the gtkd libs to
the compiler's directory tree. Is that what you mean by "You
On Thursday, 31 October 2019 at 00:05:06 UTC, SealabJaster wrote:
https://bradley.chatha.dev/Home/Blog?post=JsonSerialiser1
FYI, string is a built-in type.
Regarding exercise 2. I would be very careful with deserializing
a single character from JSON. First, because JSON doesn't support
On Sunday, 17 November 2019 at 19:10:05 UTC, Sebastiaan Koppe
wrote:
SDL all the way please.
Perhaps this ship has already sail. But YAML would have been a
better choice. It's a superset of JSON. All the existing JSON
description files would have worked as is.
--
/Jacob Carlborg
On Tuesday, 5 November 2019 at 11:49:20 UTC, Daniel Kozak wrote:
Generally no, because Apline use musl libc instead of glibc, so
there are some issues with that
The correct way is to use static linking and putting only the
binary in a Docker image, i.e. "from scratch" [1] ;). But using
On 2019-11-06 02:02, sarn wrote:
And the neat way to do that is with a multi-stage build: one Dockerfile,
with an Alpine container building the binary, then copying to a FROM
scratch container
I've used the "smith" tool as well [1]. It has some additonal help with
dynamically linked code.
On Tuesday, 12 November 2019 at 09:15:28 UTC, SealabJaster wrote:
And if you do allow things such as letting classes have a
'deserialise' member function which can be overloaded, you
still need to create or be given an instance of the class
beforehand, which brings things back around to the
On Wednesday, 20 November 2019 at 11:40:19 UTC, Robert Schadek
wrote:
Here is disagree, to a degree I consider comments a code smell.
If I have to write them, I failed to convey the information
needed to understand the code in the code.
You think this is a code smell:
On 2019-11-23 10:51, Sebastiaan Koppe wrote:
This is my proposal for porting D runtime to WebAssembly. I would like
to ask you to review it. You can find it here:
https://gist.github.com/skoppe/7617ceba6afd67b2e20c6be4f922725d
What will happen to code that uses TLS? Will it be promoted to a
On Friday, 1 November 2019 at 11:29:11 UTC, Ethan wrote:
string is immutable(char)[], as we all know. Syntactic sugar,
not exactly a built in type but treating it like one is often
valuable.
It's an alias, but what it's aliased to is a built-in type.
--
/Jacob Carlborg
On Friday, 28 February 2020 at 03:10:48 UTC, Walter Bright wrote:
I don't know Swift, but this looks like the "generate strings
and concatenate them" approach.
No, it basically lowers to bunch of method calls. Here's an
example of how it could look like with D syntax:
auto a = 3;
auto b =
On 2020-02-15 07:17, zoujiaqing wrote:
Thanks LDC team!
Thanks Jacob for iOS/tvOS/watchOS on AArch64!
Thanks :)
--
/Jacob Carlborg
On 2020-05-09 09:02, zoujiaqing wrote:
( hunt library is currently the best performing network io in D languages.)
Would be interesting to see how Hunt and Mecca [1] compare. Mecca is
quite a basic library, compared to Hunt. It doesn't support anything
more high level than TCP sockets.
On Monday, 23 March 2020 at 10:41:43 UTC, Jacob Carlborg wrote:
class DSingleton
{
immutable DSingleton instance = new DSingleton;
}
Should of course be `static`:
class DSingleton
{
static immutable DSingleton instance = new DSingleton;
}
--
/Jacob Carlborg
On Monday, 23 March 2020 at 10:26:33 UTC, Jacob Carlborg wrote:
If it's enough with CTFE compatible code in the constructor,
the following is a much simpler version:
class DSingleton
{
private __gshared DSingleton instance = new DSingleton;
DSingleton get()
{
return
On Monday, 23 March 2020 at 10:02:48 UTC, Ron Tarrant wrote:
Today starts a new series I'm calling Snippets and it's about
various D-specific stuff that may come in handy when building a
GUI. You can find it right here:
https://gtkdcoding.com/2020/03/23/0105-dlang-ui-snippets-i.html
If it's
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
On Thursday, 3 September 2020 at 08:40:32 UTC, aberba wrote:
The slack I have no ideas how people get in. I know there's a
number of members in there too.
Unfortunately you need to be invited. Anyone can do it, if you're
interested. We just need an email address.
--
/Jacob Carlborg
On Tuesday, 25 August 2020 at 20:37:38 UTC, Per Nordlöw wrote:
I'm dying to get a semantic engine that supports code
navigation to (and completion of) overloaded functions at their
call site including UFCS-calls. DCD doesn't support these two
features.
I have interest in a LSP server based
On 2020-09-18 23:14, John Colvin wrote:
I know. But it should be.
dub.selections.json wasn't available in the initial version. I don't
remember if branches were deprecated before or after dub.selections.json
was added.
--
/Jacob Carlborg
On 2020-09-16 19:20, mw wrote:
Why it's deprecated? can we revive it?
It was deprecated because it's a bad idea to not lock versions. Using
`~master` would fetch the latest code from the "master" branch when
compiling. You never know which version you get. You don't get
reproducible
On 2020-09-17 12:10, John Colvin wrote:
I personally think it's not so bad as long as the commit gets written to
the dub.selections.json
It doesn't.
--
/Jacob Carlborg
On Thursday, 9 July 2020 at 08:40:24 UTC, Petar Kirov
[ZombineDev] wrote:
What I really wish is we had a single shared codebase for dlang
editor support, that could be shared among editor extension
writers, instead of having many community members working on
competing solutions.
That would
On Tuesday, 30 June 2020 at 15:40:14 UTC, zoujiaqing wrote:
I'm glad we've released the first set of Hunt Framework today.
Make it easier for you to use Hunt Framework. Hope more people
can work with us to improve the content of the document.
https://github.com/huntlabs/hunt-framework-docs
On Sunday, 5 July 2020 at 14:29:22 UTC, IGotD- wrote:
It's a resource question again. I'm all for that for example D
should have a native alternative to curl including SSL/TLS
support. If someone is willing to invest the man hours into
such project, I'm all for it. Nim went that way having
On Friday, 10 July 2020 at 06:46:53 UTC, Rainer Schuetze wrote:
There is an extension using DLS as an LSP:
https://marketplace.visualstudio.com/items?itemName=LaurentTreguier.visual-studio-dlang
It's been some time, but when I tried to use that along side
Visual D, it caused problems because
On Friday, 10 July 2020 at 05:07:38 UTC, Petar Kirov [ZombineDev]
wrote:
So, having had to edit both VS *.*proj files and Makefiles
manually, I'd say that Makefiles are orders of magnitude more
approachable and easier for me. MSBuild is just a giant PITA in
my experience. Though I agree that
On Thursday, 9 July 2020 at 16:37:16 UTC, zoujiaqing wrote:
I want to improve the documentation for the application layer
first. Let more people use the framework quickly. Later, we
will improve the underlying documents when the underlying
library API is stable.
Fair enough.
--
/Jacob
On Friday, 10 July 2020 at 00:39:49 UTC, Manu wrote:
Even DMD itself is too large a D project for Code-D to work
well with.
I have not used Code-D, but I am using TextMate with DCD
integrated. It has no problem with the DMD project. But it only
supports go-to-definition, autocomplete and
On 2020-07-12 11:04, Martin Nowak wrote:
Glad to announce D 2.093.0, ♥ to the 54 contributors.
I just tried to use this release in a GitHub Action using the
"dlang-community/setup-dlang@v1" action. I got an error about the
signature is not trusted. I tried 2.092.0, that works fine. Here's
On Monday, 23 November 2020 at 13:34:14 UTC, Petar Kirov
[ZombineDev] wrote:
Thanks, I've just added the gsoc2020 label for these issues. I
will ping someone to give you permissions for the repo ;)
Shouldn't it be gsoc2021? We're already past GSoC 2020 ;)
--
/Jacob Carlborg
I would like to announce a new release of DLP, 0.3.0.
For those not familiar with DLP, it's a tool collecting commands/tasks
related to processing the D programming language. It uses the DMD
frontend as a library to process D code.
The major new feature in this release a new command that has
On 2020-12-19 00:26, Dave P. wrote:
Looks very useful. Something strange I noticed though, it seems to be
doing the analysis in 32 bits? I had some static assertions go off due
to this which halted the program.
Wow, I haven't noticed that. That's not indented. I've created an issue
[1] and
On 2020-12-14 22:59, tchaloupka wrote:
Hi,
I was missing some commonly usable HTTP parser on code.dlang.org and
after some research and work I've published httparsed[1].
This is awesome. I wanted to use picohttpparser myself and used the C
version. But if you already have created a HTTP
On Thursday, 29 October 2020 at 06:42:54 UTC, ikod wrote:
Hi,
requests 2.0.0 released with single change - support for vibe-d
moved to separate subpackage.
The goal of this update is to prevent dub from downloading
vibe-d packages for optional subConfiguration.
Another approach is to
On 2020-11-01 11:13, Sönke Ludwig wrote:
ddb marks the vibe-d dependency as optional, so it *should* not trigger
a download by itself.
It does not trigger a download. The downside is that user of the library
needs to manually add vibe.d as a dependency.
--
/Jacob Carlborg
On 2021-01-02 22:21, H. S. Teoh wrote:
Nope. Reverse-engineering is a thing. There's even tools out there to
automate this stuff.
Or you can try to prevent reverse engineering. This is both an
interesting and fun talk [1].
[1] https://www.youtube.com/watch?v=HlUe0TUHOIc
--
/Jacob
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.
--
/Jacob Carlborg
On 2021-01-06 10:21, Mike Parker wrote:
This is the discussion thread for the first round of Community Review of
DIP 1039, "Static Arrays with Inferred Length":
https://github.com/dlang/DIPs/blob/c06ce7f144b3dabf363d1896ddcd31a2a6b7c969/DIPs/DIP1039.md
There's `staticArray` to solve this
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 ?
--
/Jacob Carlborg
On Sunday, 31 January 2021 at 20:36:43 UTC, aberba wrote:
It's finally out!
https://opensource.com/article/21/1/d-scripting
FYI, the code will compile faster if you use `dmd -run` instead
of `rdmd`. If you have multiple files that need to be compiled
you can use `dmd -i -run`.
--
/Jacob
# Cross-Platform GitHub Action
I would like to announce the first version of a project I've been
working on for a while. It's not anything D specific or
implemented in D, but it can be used with D projects. This
project provides a GitHub action for running GitHub Action
workflows on multiple
On Tuesday, 8 June 2021 at 19:40:01 UTC, kinke wrote:
Thx for sharing! Interesting; I've recently worked on something
similar, but on Linux hosts and using a kvm/qemu/libvirt stack
for running CI jobs in Windows VMs.
Yeah, this is running on macOS instead because the Linux and the
Windows
On Tuesday, 8 June 2021 at 20:39:45 UTC, Steven Schveighoffer
wrote:
I might have a need for it. When I moved mysql-native to github
actions, I could no longer run mysql integration tests on MacOS
or Windows, since there is no docker support for a mysql
instance on those platforms. I can
On 2021-05-05 13:54, user1234 wrote:
Thanks for the explanations. BTW I had the same question for LDC backend
being c++, I guess the answer would be similar.
If I understand correctly, the Zig compiler is implemented partially in
Zig. It use the LLVM C API and some wrappers C around the C++
On 2021-05-05 12:01, user1234 wrote:
Is it possible to use libclang and more generally LLVM c++ api [directly
in D](https://dlang.org/spec/cpp_interface.html) or the Cpp interface is
too limited ?
Was this an option, have you tried ?
Yes, it's possible to use libclang. DStep [1] is using
On Saturday, 10 July 2021 at 12:30:43 UTC, Bastiaan Veelo wrote:
Thanks for clarifying the differences.
Some other differences:
* DVM is cross-platform. Diva seems to only run on Ubuntu.
* DVM is implemented in D (with a tiny shell script wrapper).
Diva depends on Python
* DVM does not use
On 2021-02-24 17:32, Imperatorn wrote:
What happened to utiliD? Broken link to gh
I think Mike gave up on D.
--
/Jacob Carlborg
# Docker LDC Darwin
I would like to announce a new project I'm working on:
docker-ldc-darwin [1]. The project consists of a Dockerfile for
building a Docker image which has all the necessary tools to
cross-compile D applications targeting macOS x86-64.
## Features
* Uses Apple's ld64
On 2021-04-08 18:36, H. S. Teoh wrote:
Thanks for this, it is very helpful.
You're welcome. I'm glad that it's useful to someone.
I just created a tag [1] (no changes yet), if I would like to make some
changes in the future.
[1]
On 2021-04-10 15:50, kinke wrote:
Thanks Jacob, I'm sure this was quite a bit of work, and opening up
proprietary SDKs for non-native systems is always welcome. Thumbs up!
Thanks.
--
/Jacob Carlborg
On 2021-02-20 15:03, Rumbu wrote:
- new attributes (currently ignored): RetVal, NullNullTerminated,
NotNullTerminated
Regarding the ignored attributes. You could always output these as UDAs.
It would not add any semantic meaning, but could serve as documentation.
In theory, it would be
On Tuesday, 12 October 2021 at 12:42:09 UTC, Brian wrote:
I don't think any of the free ones support OpenBSD yet :)
There is SourceHut, which does support OpenBSD CI, but I don't
think it is free to use.
You can use my GitHub action:
On Thursday, 14 October 2021 at 16:14:17 UTC, Brian wrote:
Awesome! I will spend some time soon figuring it out.
Here are two real world examples:
https://github.com/jacob-carlborg/lime/blob/master/.github/workflows/ci.yml
On Tuesday, 16 November 2021 at 14:38:48 UTC, Sebastiaan Koppe
wrote:
I was reading
https://github.com/marketplace/actions/cross-platform-action#under-the-hood and have to say I am impressed. Looks like a very well done library.
Thanks. Yeah, it turned out to be quite complex to support
On Tuesday, 16 November 2021 at 14:04:12 UTC, Imperatorn wrote:
Oh, nice to see support for FreeBSD. I just added a version for
it in druntime 4 days ago. Now maybe we can test it lol
I can add older versions of FreeBSD (currently 12.2 and 13 are
supported) if there's a need for that.
# Cross-Platform GitHub Action 0.3.0
I would like to announce a new release of [Cross-Platform GitHub
Action](https://github.com/marketplace/actions/cross-platform-action), [0.3.0](https://github.com/cross-platform-actions/action/releases/tag/v0.3.0).
For those not familiar with this project,
601 - 661 of 661 matches
Mail list logo