I've seen vibe.d has some pretty nice features when it comes to
asynchronous I/O but does someone know of an example of a
STUN/TURN server written in it, or in plain D?
On Tuesday, 29 April 2014 at 01:21:36 UTC, Vladimir Panteleev
wrote:
On Monday, 28 April 2014 at 18:36:59 UTC, Radu wrote:
Every time I read anything related to STUN/TURN, it becomes
obvious that these technologies were designed by some
committee. Metric tons of technical jargon and
On Tuesday, 29 April 2014 at 09:56:18 UTC, John Colvin wrote:
No, he means that WormNAT2 is written in D1 and doesn't used
Vibe.d
Vibe.d is D2 only.
Thanks for the clarification :). It seems my English is a bit
rusty.
On Thursday, 23 June 2016 at 17:24:23 UTC, Joerg Joergonson wrote:
On Thursday, 23 June 2016 at 14:34:44 UTC, Jack Stouffer wrote:
[...]
So, 10 companies are using phobos!! That's amazing, sure shows
how great it is! I wonder if they use use import std.stdio; or
actually USE phobos.
[...]
On Thursday, 25 February 2016 at 03:05:21 UTC, Walter Bright
wrote:
On 2/18/2016 9:52 AM, Kai Nacke wrote:
I really like the compiler diversity.
Me too. Having 3 major implementations is a great source of
strength for D.
This needs to go further, currently there is no up to date, high
On Friday, 26 February 2016 at 06:19:27 UTC, Walter Bright wrote:
On 2/18/2016 1:30 PM, Jonathan M Davis wrote:
It's not a strawman. Walter has state previously that he's
explicitly avoided
looking at the source code for other compilers like gcc,
because he doesn't want
anyone to be able to
On Friday, 26 February 2016 at 11:01:46 UTC, Walter Bright wrote:
On 2/26/2016 1:47 AM, Radu wrote:
Please don't get me wrong, we all apreciate what you offered
to the D community,
but all these legal arguments are strongly tied to you, and
less so to the
community.
Didn't Google get hung
On Friday, 26 February 2016 at 13:11:11 UTC, Steven Schveighoffer
wrote:
On 2/26/16 7:02 AM, Radu wrote:
On Friday, 26 February 2016 at 11:01:46 UTC, Walter Bright
wrote:
I don't see anything unfair. gdc, ldc, and dmd are each as
good as
their respective teams make them.
The lack of
On Thursday, 18 February 2016 at 00:35:01 UTC, Chris Wright wrote:
On Wed, 17 Feb 2016 22:57:20 +, Márcio Martins wrote:
I was reading the other thread "Speed kills" and was wondering
if there is any practical reason why DMD is the official
compiler?
Walter Bright is the lead developer,
On Thursday, 18 February 2016 at 11:47:48 UTC, Kai Nacke wrote:
On Thursday, 18 February 2016 at 11:12:57 UTC, Jonathan M Davis
wrote:
If anything, the problem is probably that the gdc and ldc
folks could use more help, but dmd and Phobos suffer from that
problem on some level as well, albeit
On Thursday, 18 February 2016 at 12:48:23 UTC, Jacob Carlborg
wrote:
On 2016-02-18 01:35, Chris Wright wrote:
Should Walter retire, there's a reasonable chance that LDC
will become
the primary compiler. However, compilation speed is important.
Walter working on D is his way of retiring ;)
On Thursday, 18 February 2016 at 12:23:18 UTC, Jonathan M Davis
wrote:
On Thursday, 18 February 2016 at 12:16:49 UTC, Radu wrote:
My simple assumption is that if presumably the dmd backend is
not maintained anymore, a lot of the core dmd people can focus
on improving whatever problems the
On Thursday, 18 February 2016 at 17:52:10 UTC, Kai Nacke wrote:
On Thursday, 18 February 2016 at 12:16:49 UTC, Radu wrote:
As a casual user of the language I see that there is a
fragmentation of resources and a waste in this regard with
people developing in mainline, then some of you LDC guys
On Thursday, 18 February 2016 at 10:42:33 UTC, Márcio Martins
wrote:
On Thursday, 18 February 2016 at 10:16:40 UTC, Radu wrote:
[...]
Walter doesn't have to give up working on DMD, right? Everyone
could continue working on DMD, perhaps a few people could help
on all three, I don't know...
On Friday, 19 February 2016 at 09:06:28 UTC, Jonathan M Davis
wrote:
On Thursday, 18 February 2016 at 21:39:45 UTC, Ola Fosheim
Grøstad wrote:
On Thursday, 18 February 2016 at 21:30:29 UTC, Jonathan M
Davis wrote:
It's not a strawman. Walter has state previously that he's
explicitly avoided
On Monday, 30 January 2017 at 08:02:12 UTC, Walter Bright wrote:
On 1/29/2017 9:50 PM, Nordlöw wrote:
Will we make them equal in the long run? So much shorter to
read.
I know it's shorter. I'd like to do it too, we'll have to see.
Can it be enabled for -dip1000 flag?
Doc was pretty clear on
On Sunday, 18 December 2016 at 09:26:09 UTC, Ilya Yaroshenko
wrote:
Hi,
Who is interested in betterC _modular_* standard library?
I am planing to make libmir org a community for it.
Thought and concerns?
We already have better `cpuid` and better `random` packages.
The betterC std.range and
On Sunday, 18 December 2016 at 15:01:55 UTC, Ilya Yaroshenko
wrote:
On Sunday, 18 December 2016 at 14:37:55 UTC, Radu wrote:
[...]
Maybe I will be able to propose them on DConf.
[...]
Yes/No in the same time.
1. It would be always possible to use Mir and Phobos together,
100% guarantee.
On Thursday, 6 April 2017 at 05:24:07 UTC, Joakim wrote:
I have been saying for some time now that mobile is going to go
after the desktop next
(http://forum.dlang.org/thread/rionbqmtrwyenmhmm...@forum.dlang.org), Samsung just announced it, for a flagship device that will ship tens of millions:
On Saturday, 7 October 2017 at 20:36:24 UTC, Laeeth Isharc wrote:
On Saturday, 7 October 2017 at 09:37:12 UTC, Radu wrote:
I think there is some merit criticizing D's GC.
The major problem with it ATM is that there is no convenient
way to use all (most) of D's std lib without it.
This also
On Friday, 6 October 2017 at 17:14:51 UTC, Rion wrote:
https://www.quora.com/What-is-your-review-of-D-programming-language
It seems that D still has the GC being mentioned up to today.
Maybe its better to move the standard library slower to a non
gc version in the future...
I think there is
On Thursday, 30 November 2017 at 19:01:02 UTC, Andrei
Alexandrescu wrote:
Hi all,
Eduard, Alexandru Jercaianu and I are working on improving
allocators' design and implementation. This entails a few
breaking changes.
[...]
Sounds good!
Please consider -betterC on your refactoring. Would
On Friday, 4 May 2018 at 17:50:59 UTC, 0x wrote:
What am I violating here apart from the truth that our Mr.
Walter doesn't like namespaces:
interface tlvs
{
enum tlv { addr };
static:
void header();
}
Is this cool?
Thanks
`final abstract class` is what you are
On Thursday, 26 April 2018 at 03:04:55 UTC, A. Nicholi wrote:
Hello,
I am working on a large cross-platform project, which will be
written primarily in D, interfacing to C as necessary. To get
finer control over memory safety, binary size, and use of the
GC, we would like to disclude
Whould like to know what's the state of dip1000?
Lately I haven't noticed much activity on it, and at least on the
bug front there are about 28 entries opened:
https://issues.dlang.org/buglist.cgi?quicksearch=dip1000%20OR%20%5Bscope%5D_id=219758
I'm asking this as I am eagerly waiting for it
On Thursday, 26 July 2018 at 07:25:24 UTC, Seb wrote:
On Wednesday, 25 July 2018 at 09:49:54 UTC, Radu wrote:
On Wednesday, 25 July 2018 at 08:31:05 UTC, rikki cattermole
wrote:
[...]
It is a very simple thing to do. But the foundation hasn't
bothered buying a code signing certificate, even
On Thursday, 26 July 2018 at 08:45:41 UTC, Kagamin wrote:
On Wednesday, 25 July 2018 at 16:39:51 UTC, bpr wrote:
Well, this is a big problem with D IMO. There are a lot of
unfinished, half baked features which linger in development
for years. How long for precise GC now, over 5 years?
On Friday, 27 July 2018 at 11:03:50 UTC, Seb wrote:
This a thread to explore whether it would be feasible to do so.
Motivation
--
[...]
Druntime is not exclusively DMD. For example when porting to
other platforms or cruntimes is already hard because of the sync
and merge you need
On Monday, 13 August 2018 at 18:48:21 UTC, Seb wrote:
As a few of you might have noticed, we bought a Code Signing
Certificate a few days ago and while we're still investigating
on how to integrate the code signing best into the release
process, I thought a share a first preview of signed DMD
On Tuesday, 14 August 2018 at 16:10:41 UTC, Jacob Carlborg wrote:
On Tuesday, 14 August 2018 at 14:42:54 UTC, Seb wrote:
On Monday, 13 August 2018 at 19:09:55 UTC, Jacob Carlborg
wrote:
Any plans for doing the same thing for the installer on
macOS? It complains that it's from an unidentified
On Thursday, 23 August 2018 at 17:19:41 UTC, Ali wrote:
On Thursday, 23 August 2018 at 16:22:54 UTC, Shachar Shemesh
wrote:
On 23/08/18 17:01, Steven Schveighoffer wrote:
My main job is to develop for Weka, not develop D itself.
Weka, at some point, made the strategic decision to use a non
On Saturday, 25 August 2018 at 22:55:05 UTC, RhyS wrote:
On Saturday, 25 August 2018 at 12:16:06 UTC, Laeeth Isharc
wrote:
And yet some of the heaviest users of D have said in public
'please break our code". I wonder why that could be.
My answer to that is simply:
Break stuff so it becomes
On Sunday, 26 August 2018 at 20:21:07 UTC, Ali wrote:
On Sunday, 26 August 2018 at 19:28:30 UTC, Radu wrote:
On Sunday, 26 August 2018 at 16:09:35 UTC, lurker wrote:
[...]
Yeah right... I'm sure this is what everyone experienced.
This thread has become the trollers trolling playground.
On Sunday, 26 August 2018 at 16:09:35 UTC, lurker wrote:
[...]
Yeah right... I'm sure this is what everyone experienced.
This thread has become the trollers trolling playground.
On Friday, 20 July 2018 at 05:16:53 UTC, Mike Parker wrote:
This is the feedback thread for the first round of Community
Review for DIP 1016, "ref T accepts r-values":
https://github.com/dlang/DIPs/blob/725541d69149bc85a9492f7df07360f8e2948bd7/DIPs/DIP1016.md
All review-related feedback on
On Tuesday, 17 July 2018 at 18:55:07 UTC, Russel Winder wrote:
[...]
Missing openssl libs? Try installing openssl-dev package.
On Wednesday, 18 July 2018 at 22:44:33 UTC, aliak wrote:
On Wednesday, 18 July 2018 at 12:10:04 UTC, Seb wrote:
On Wednesday, 18 July 2018 at 03:40:08 UTC, Jon Degenhardt
[...]
[...]
That point is still open for discussion, but at the moment
rcstring isn't a range and the user has to
On Wednesday, 25 July 2018 at 08:31:05 UTC, rikki cattermole
wrote:
On 25/07/2018 8:27 PM, Rel wrote:
To be exact as a "HEUR:Trojan-Downloader.Win32.Agent.gen".
Few other AV software does the same:
On Thursday, 8 March 2018 at 06:49:07 UTC, Andrew Benton wrote:
On Monday, 5 March 2018 at 17:58:25 UTC, Joakim wrote:
[...]
I took a shot at dockerizing dub-registry with the alpine build
using multistage builds. I got ldc installed and dub built.
Unfortunately when I tried to build
On Thursday, 8 March 2018 at 09:28:02 UTC, Andrew Benton wrote:
On Thursday, 8 March 2018 at 08:07:23 UTC, Joakim wrote:
[...]
I built out LDC on Alpine using the v1.8.0 LDC release. It's
available now through Docker Hub and Github.
Docker:
On Friday, 9 March 2018 at 03:09:16 UTC, dangbinghoo wrote:
hi all,
I think the D community should make more effort to make Dlang
more easier to use on embedded Linux(mostly are arm and mips,
powerpc).
currently, LDC seems to be more complete, but we can only see a
hundred words on the
On Friday, 9 March 2018 at 11:35:58 UTC, aberba wrote:
On Friday, 9 March 2018 at 09:12:28 UTC, Radu wrote:
On Friday, 9 March 2018 at 03:09:16 UTC, dangbinghoo wrote:
[...]
I'm working in BAS(Building Automation System) sector, and I
use Dlang daily for some advance products targeting
On Tuesday, 17 April 2018 at 00:08:07 UTC, Mike Franklin wrote:
On Monday, 16 April 2018 at 13:40:55 UTC, jmh530 wrote:
On Monday, 16 April 2018 at 13:01:44 UTC, Radu wrote:
A blocker for more advanced 'betterC' usage.
https://issues.dlang.org/show_bug.cgi?id=18493
From what I can gather
On Tuesday, 17 April 2018 at 12:13:06 UTC, Mike Franklin wrote:
On Tuesday, 17 April 2018 at 05:33:53 UTC, Radu wrote:
This is very odd, as the following compiles:
---
struct S
{
this(this)
{
}
~this()
{
}
}
struct C
{
S s1;
}
---
If the scope failure would cause
A blocker for more advanced 'betterC' usage.
On Thursday, 19 April 2018 at 17:36:19 UTC, Per Nordlöw wrote:
I'm now satisfied with my SSOString at
https://github.com/nordlow/phobos-next/blob/master/src/sso_string.d
However, I'm having problems within making lifetime analysis
via scope kick in. For instance, the function `f` at
On Friday, 16 March 2018 at 11:44:59 UTC, Chris wrote:
Would it be possible to find out at DConf in Munich why exactly
D is so popular in Germany (my impression) and in other
countries of Europe (and that general post code) like France,
Italy, GB, Romania and Russia etc.? I've always been
On Thursday, 22 March 2018 at 11:58:02 UTC, Shachar Shemesh wrote:
On 22/03/18 12:28, Meta wrote:
On Wednesday, 21 March 2018 at 12:52:19 UTC, Paulo Pinto wrote:
[...]
"The central failure of the language is the myopic focus on
the affine typing solution to heap allocation and thread
On Wednesday, 21 March 2018 at 22:48:36 UTC, Seb wrote:
On Wednesday, 21 March 2018 at 22:33:37 UTC, Aedt wrote:
I've been playing with D for a while. I usually
write/maintain/contribute to C and C++ applications for *nix.
D is low key amazing, it has
- C standard library in the standard
-
On Thursday, 22 March 2018 at 16:03:14 UTC, Seb wrote:
On Thursday, 22 March 2018 at 15:42:54 UTC, Radu wrote:
[...]
FYI: There were a few efforts to attempt this, e.g.
https://github.com/dlang/dmd/pull/5082
https://github.com/dlang/tools/pull/39
https://issues.dlang.org/show_bug.cgi?id=9285
On Friday, 2 March 2018 at 18:07:34 UTC, carblue wrote:
On Thursday, 22 February 2018 at 14:36:10 UTC, Radu wrote:
[...]
The fact that it takes 8 days for any reply, doesn't that say
something?
@safe is a high ranked technical issue in vision papers (in
german we say something like "paper
On Saturday, 3 March 2018 at 16:01:29 UTC, Robert M. Münch wrote:
Can VisualD somehow make use of dub in that I don't have to
provide any "include paths" for modules etc.?
It's a bit irritating to use dub on the terminal and sometimes
VisualD for debugging etc. and have to configure the same
On Saturday, 3 March 2018 at 09:04:04 UTC, Walter Bright wrote:
On 3/2/2018 10:48 PM, Manu wrote:
I've been arguing for DIP1000 (or something very much like it)
for
almost 10 years. It's one of the small handful of issues that
lead me
to the forum in the first place.
'Patience' might not be
On Friday, 29 June 2018 at 09:25:08 UTC, Mike Franklin wrote:
Please allow me to bring your attention to an interesting
presentation about choosing a modern programming language for
writing operating systems:
https://www.youtube.com/watch?v=cDFSrVhnZKo
It's a good talk and probably worth
On Wednesday, 27 June 2018 at 23:54:55 UTC, Manu wrote:
Hey people,
So I had a few people in the office refuse to install DMD
because when
they launched the installer, Windows displayed the prompt that
it was
untrusted (ie, unsigned) and not offer the install button
without
manual override.
On Thursday, 28 June 2018 at 07:35:13 UTC, Radu wrote:
On Wednesday, 27 June 2018 at 23:54:55 UTC, Manu wrote:
[...]
This can be done easily, you need something like this on the
Linux build server
---
osslsigncode sign -pkcs12 dlang-cert.pkcs12.p12 -pass `cat
dlang-cert.pkcs12.pwd` -n
On Friday, 29 June 2018 at 10:55:27 UTC, kinke wrote:
On Friday, 29 June 2018 at 10:00:09 UTC, Radu wrote:
While not necessarily targeting bare metal, I'm very
interested in a working version of @safe dlang. I believe that
dlang with betterC, @safe, C/C++ inter-op and dip1000 will be
huge for
On Tuesday, 6 October 2015 at 06:37:16 UTC, Nicholas Wilson wrote:
On Monday, 5 October 2015 at 11:31:32 UTC, Radu wrote:
There is a weird rule on how compiler treats alias this for
the N and S types bellow.
[...]
Please file a bug report.
Also do the errors change if you reverse the order
On Tuesday, 6 October 2015 at 06:37:16 UTC, Nicholas Wilson wrote:
On Monday, 5 October 2015 at 11:31:32 UTC, Radu wrote:
There is a weird rule on how compiler treats alias this for
the N and S types bellow.
[...]
Please file a bug report.
Also do the errors change if you reverse the order
On Friday, 2 October 2015 at 11:25:44 UTC, Andrei Alexandrescu
wrote:
Walter and I will travel to Brasov, Romania to hold an
evening-long event on the D language. There's been strong
interest in the event with over 300 registrants so far.
http://curiousminds.ro
Scott Meyers will guest star
There is a weird rule on how compiler treats alias this for the N
and S types bellow.
As you can see, somehow S losses it's type and ends up a plain
string withing the Algebraic type. I would expect that all types
should be the treated the same, why a string alias will be
different then a
On Monday, 6 June 2016 at 07:00:56 UTC, Kai Nacke wrote:
Hi everyone,
It is a great pleasure to announce that version 1.0.0 of LDC,
the LLVM-based D compiler, is now available for download!
The release is based on the 2.070.2 frontend and standard
library and supports LLVM 3.5-3.8. We
On Tuesday, 8 March 2016 at 19:12:57 UTC, Kai Nacke wrote:
Hi all!
LLVM 3.8 has been released half an hour ago! See the release
notes here:
http://www.llvm.org/releases/3.8.0/docs/ReleaseNotes.html
Downloads: http://www.llvm.org/releases/download.html#3.8.0
Also note that LDC is mentioned
On Friday, 12 August 2016 at 14:27:48 UTC, Mike Parker wrote:
Rainer took some time out of his busy schedule to send me quite
a bit of information regarding the development of Visual D. The
post is now live at [1]. In the interest of space, I couldn't
use it all of his content. If anything
On Friday, 15 July 2016 at 14:09:40 UTC, Claude wrote:
Hello,
I would like to cross-compile a D program from a x86 machine to
an ARM target.
I work on GNU/Linux Ubuntu 64-bit.
I have an ARM gcc toolchain, which I can use to make programs
on an ARM Cortex-A9 architecture running a Linux
On Friday, 27 November 2015 at 17:12:05 UTC, Jonny wrote:
On Thursday, 26 November 2015 at 15:48:48 UTC, Guillaume Piolat
wrote:
[...]
You have no idea what you are talking about! It is mentalities
like yours that cause headaches for musicians and engineers who
work with RT audio.
[...]
On Monday, 7 December 2015 at 08:17:27 UTC, Enjoys Math wrote:
Exception Message:
First-chance exception: std.format.FormatException Unterminated
format specifier: "%" at
C:\D\dmd2\windows\bin\..\..\src\phobos\std\format.d(828)
[CODE]
module set;
import std.conv;
struct Set(T) {
I'm puzzled by the way destroy works when passed a pointer to a
struct, observe:
--code.d--
int i;
struct C
{
this(ref int i)
{
++i;
ii =
}
~this()
{
On Saturday, 25 February 2017 at 08:36:02 UTC, Ali Çehreli wrote:
On 02/25/2017 12:17 AM, Radu wrote:
> destroy(cc) -> does c = C.init
> destroy(*cc); -> calls the C dtor
>
> Is this by design? If so - how can I destroy and get the dtor
called
> without dereferencing the pointer?
It's by
On Saturday, 25 February 2017 at 13:14:24 UTC, Moritz Maxeiner
wrote:
On Saturday, 25 February 2017 at 10:44:07 UTC, Radu wrote:
On Saturday, 25 February 2017 at 08:36:02 UTC, Ali Çehreli
wrote:
On 02/25/2017 12:17 AM, Radu wrote:
> destroy(cc) -> does c = C.init
> destroy(*cc); -> calls the
On Saturday, 25 February 2017 at 13:18:21 UTC, Moritz Maxeiner
wrote:
On Saturday, 25 February 2017 at 13:14:24 UTC, Moritz Maxeiner
wrote:
---
struct A {}
auto a = cast (A*) malloc(A.sizeof); // Allocate
emplace(a, 42); // Construct
destroy(a);
On Saturday, 25 February 2017 at 16:39:18 UTC, Moritz Maxeiner
wrote:
On Saturday, 25 February 2017 at 15:13:27 UTC, Radu wrote:
[...]
Thanks for the example.
[...]
Hm, that's an issue you'd best take up to the bugtracker, I
think. Maybe there's a way around that, but I don't know.
On Thursday, 8 December 2016 at 11:09:12 UTC, ketmar wrote:
what can be done, tho, is article (or series of articles)
describing what exactly druntime is, how it is compared to libc
and libc++, why it doesn't hurt at all, how to do "bare metal"
with custom runtime, why GC is handy (and how to
On Friday, 7 April 2017 at 15:14:40 UTC, Walter Bright wrote:
https://github.com/dlang/dmd/pull/6680
Yes, this is for real! Symantec has given their permission to
relicense it. Thank you, Symantec!
Glorious day for D and Dlangers.
Congrats Walter for the tenacity and thanks Symantec for
On Thursday, 14 December 2017 at 15:46:03 UTC, Walter Bright
wrote:
On 12/12/2017 10:37 AM, Seb wrote:
After it has been in stealth mode for quite a while, I'm happy
to announce that there's https://run.dlang.io
Very impressive! Nice work!
Can I add a suggestion? Have an option to show the
On Saturday, 2 December 2017 at 16:31:00 UTC, Rainer Schuetze
wrote:
Hi,
I have just released version 0.46 of Visual D, see
http://rainers.github.io/visuald/visuald/StartPage.html
This release doesn't come with major new features, but a list
of bug fixes and incremental improvements, those
On Tuesday, 12 December 2017 at 07:33:47 UTC, Ivan Trombley wrote:
Is there some way that I can make this array immutable?
static float[256] ga = void;
static foreach (i; 0 .. 256)
ga[i] = (i / 255.0f) ^^ (1 / 2.2f);
Check
https://dlang.org/phobos/std_exception.html#assumeUnique
On Thursday, 10 May 2018 at 03:23:50 UTC, Mike Franklin wrote:
Consider the following code:
---
struct S
{
// intentionally not `static`
struct SS
{
int y() { return x; } // Error: need `this` for `x` of
type `int`
}
int x;
SS ss;
}
void main()
{
S s;
On Tuesday, 26 June 2018 at 12:19:16 UTC, Jonathan M Davis wrote:
On Tuesday, June 26, 2018 11:28:11 Radu via Digitalmars-d-learn
wrote:
> [...]
Ha! :) yeah I was pretty sure this will not work.
I'm looking to generate some custom wrappers and knowing when
something is really `siz
Consider this https://run.dlang.io/is/HyY2qG
---
void main()
{
import std.traits;
size_t s;
pragma(msg, typeof(s).stringof);
pragma(msg, mangledName!(typeof(s)));
pragma(msg, mangledName!s);
}
---
It outputs:
---
ulong
m
_D9onlineapp4mainFZ1sm
---
I'm looking for a way to
On Sunday, 24 June 2018 at 13:08:53 UTC, Rainer Schuetze wrote:
Hi,
a new release of Visual D has just been uploaded. Major changes
are
* improved Visual C++ project integration: better dependencies,
automatic libraries, name demangling
* new project wizard
* mago debugger: show vtable,
On Tuesday, 26 June 2018 at 09:24:15 UTC, Stefan Koch wrote:
On Tuesday, 26 June 2018 at 09:14:11 UTC, Radu wrote:
Consider this https://run.dlang.io/is/HyY2qG
---
void main()
{
import std.traits;
size_t s;
pragma(msg, typeof(s).stringof);
pragma(msg, mangledName!(typeof(s)));
On Tuesday, 26 June 2018 at 10:19:44 UTC, Jonathan M Davis wrote:
On Tuesday, June 26, 2018 09:47:44 Radu via Digitalmars-d-learn
wrote:
On Tuesday, 26 June 2018 at 09:24:15 UTC, Stefan Koch wrote:
> On Tuesday, 26 June 2018 at 09:14:11 UTC, Radu wrote:
>> Consider this https://run
On Wednesday, 24 January 2018 at 20:05:42 UTC, Martin Nowak wrote:
On Wednesday, 24 January 2018 at 13:30:42 UTC, Radu wrote:
Just want to bring to your attention a major regression
introduced in 2.078, and still present on current master, re.
the new __equals template.
On Tuesday, 20 February 2018 at 16:01:11 UTC, Smaehtin wrote:
I'm trying to understand why the following doesn't work:
import std.stdio;
import std.variant;
void main()
{
Algebraic!(string, int) test = "Test";
test.tryVisit!(
(ref string s) { s = "Why does this not work?"; }
On Monday, 19 February 2018 at 15:58:57 UTC, Joakim wrote:
On Monday, 19 February 2018 at 15:45:30 UTC, bachmeier wrote:
On Monday, 19 February 2018 at 10:49:03 UTC, Martin Nowak
wrote:
Glad to announce the first beta for the 2.079.0 release, ♥ to
the 77 contributors for this release.
On Thursday, 2 August 2018 at 10:47:33 UTC, Ky-Anh Huynh wrote:
Hi,
can I build my program on OpenWrt? I haven't found any
resources on internet maybe I'm missing something.
Thanks a lot.
LDC 1.10+ should have pretty good support for OpenWRT uClibc for
ARM, and some support for uClibc
On Thursday, 2 August 2018 at 10:47:33 UTC, Ky-Anh Huynh wrote:
Hi,
can I build my program on OpenWrt? I haven't found any
resources on internet maybe I'm missing something.
Thanks a lot.
A status report on what works and how to get LDC to compile for
OpenWRT uClibc ARM:
On Friday, 10 August 2018 at 13:05:24 UTC, Kagamin wrote:
Mixim template can only introduce declarations, not statements,
a workaround is a lambda called in place.
mixin template test(A...){
__gshared a = A;
int dummy = (){ a++; return 0; }();
}
extern(C) void main(){
On Friday, 24 August 2018 at 16:30:56 UTC, John Burton wrote:
On Friday, 24 August 2018 at 15:26:30 UTC, kinke wrote:
On Friday, 24 August 2018 at 13:10:40 UTC, John Burton wrote:
Is in the subject. Are there any cross compilers that will
run on a linux system but compile D code using Win32
On Saturday, 25 August 2018 at 20:37:04 UTC, Everlast wrote:
On Saturday, 25 August 2018 at 20:28:55 UTC, Chris M. wrote:
On Saturday, 25 August 2018 at 20:17:35 UTC, AN wrote:
I downloaded the script and made it executable. I also have
dub on `/usr/bin/dub` . The example just stalls with no
On Saturday, 18 August 2018 at 08:30:31 UTC, Mike Franklin wrote:
On Saturday, 18 August 2018 at 08:22:54 UTC, Mike Franklin
wrote:
It's a little old, but from what I'm reading we need
"reputation" with Microsoft or an EV certificate, or publish
on the Windows Store.
I'm also reading that
On Thursday, 19 July 2018 at 18:16:17 UTC, kinke wrote:
On Thursday, 19 July 2018 at 12:44:30 UTC, Radu wrote:
[...]
Removing some superfluous explicit druntime dependencies from
Phobos would be a start. Your (nice) example compiles fine with
this 4-lines Phobos hack:
[...]
Was able to
On Thursday, 19 July 2018 at 11:35:00 UTC, Seb wrote:
On Thursday, 19 July 2018 at 10:27:36 UTC, Zheng (Vic) Luo
wrote:
Current implementation of d-runtime relies on a lot of symbols
from libc, librt, libpthread, which makes it hard to create a
minimal runtime used for embedded devices.
On Thursday, 30 August 2018 at 13:36:58 UTC, Per Nordlöw wrote:
Recently the benchmark
https://github.com/nordlow/phobos-next/tree/master/benchmarks/containers/dub.sdl
[...]
There is a way to specify the linker to be used
```
-linker= - Linker to use
```
On Friday, 13 July 2018 at 10:21:54 UTC, Michael wrote:
Hello,
I am nesting some function calls, and I'm pretty used to making
use of D's Uniform Function Call Syntax, but I'm getting an
error if I try to convert this line:
createSet(createVector(langSize, index)).length;
which works,
On Friday, 13 July 2018 at 11:12:47 UTC, Michael wrote:
On Friday, 13 July 2018 at 10:52:54 UTC, Radu wrote:
On Friday, 13 July 2018 at 10:21:54 UTC, Michael wrote:
[...]
Do you try to call member functions? UFCS only works with free
functions, meaning declared at module level.
I have this:
enum Type { a };
struct S(Type t = Type.a)
{
this(Type)(Type t)
{
import std.stdio;
writeln("ctor called.");
}
}
void main()
{
auto x = S!(Type.a)(Type.a);
void* y =
auto z = (cast(S!(Type.a)) y);
}
Surprisingly the cast will actually
On Tuesday, 27 February 2018 at 21:04:59 UTC, ag0aep6g wrote:
On 02/27/2018 09:59 PM, Radu wrote:
On Tuesday, 27 February 2018 at 20:51:25 UTC, ag0aep6g wrote:
On 02/27/2018 09:30 PM, Radu wrote:
[...]
[...]
[...]
So the bug is that somehow the templated version makes it so
there is an
On Tuesday, 27 February 2018 at 20:51:25 UTC, ag0aep6g wrote:
On 02/27/2018 09:30 PM, Radu wrote:
enum Type { a };
struct S(Type t = Type.a)
{
this(Type)(Type t)
{
import std.stdio;
writeln("ctor called.");
}
}
void main()
{
auto x = S!(Type.a)(Type.a);
1 - 100 of 140 matches
Mail list logo