On Friday, 17 November 2017 at 05:50:24 UTC, rumbu wrote:
You are not ending with nothing, you are ending with a run time
error in D. In C# it's a compile-time error. Ideally, something
ending for sure in an error at run time, must be catch at
compile-time.
Well.. sometimes it's just nice...t
On Friday, 17 November 2017 at 02:25:21 UTC, codephantom wrote:
On Friday, 17 November 2017 at 01:47:01 UTC, Michael V.
Franklin wrote:
It peeked my interested, because when I first started studying
D, the lack of any warning or error for this trivial case
surprised me.
// Example A
class T
On Thursday, 16 November 2017 at 23:03:41 UTC, solidstate1991
wrote:
On Wednesday, 15 November 2017 at 11:46:48 UTC, Joakim wrote:
[...]
I'm thinking on picking up some Android tablet for development
purposes, would be good to port my game engine for mobile
devices, probably have to resort f
On Thursday, 16 November 2017 at 22:58:32 UTC, solidstate1991
wrote:
Often I just don't find a use for them, so I won't make the
compiler to do CTFE if it's not needed.
Why wouldn't you? It gives less overhead at run-time, giving your
application better performance.
Whenever I look at the documentation, I find things that could be
improved. Consider https://dlang.org/library/, one of the most important
pages - the portal - of the hopefully future default documentation
renderer. It goes something like this:
Module Description
On Friday, 17 November 2017 at 01:47:01 UTC, Michael V. Franklin
wrote:
In C#, you get a compiler error.
// Example B
class Test
{
public int Value;
}
public class Program
{
public static void Main()
{
Test t;
t.Value++; // Er
On Friday, 17 November 2017 at 01:47:01 UTC, Michael V. Franklin
wrote:
It peeked my interested, because when I first started studying
D, the lack of any warning or error for this trivial case
surprised me.
// Example A
class Test
{
int Value;
}
void main(string[] args)
{
Test t;
On Friday, 17 November 2017 at 01:47:01 UTC, Michael V. Franklin
wrote:
// Example A
class Test
{
int Value;
}
void main(string[] args)
{
Test t;
t.Value++; // No compiler error, or warning. Runtime
error!
}
//Test t;
Test t = new Test;
On Wednesday, 15 November 2017 at 04:34:09 UTC, Walter Bright
wrote:
On 11/14/2017 7:15 PM, solidstate1991 wrote:
Walter Bright: What's the licensing state of DMC and OPTLINK?
Boost
Can it made open-source?
Yes.
If yes, we should patch in a COFF32/64 support, maybe even
port it to D for
I ran into this blog post today:
https://blogs.msdn.microsoft.com/dotnet/2017/11/15/nullable-reference-types-in-csharp/
It peeked my interested, because when I first started studying D,
the lack of any warning or error for this trivial case surprised
me.
// Example A
class Test
{
int Va
On Thursday, 16 November 2017 at 16:10:50 UTC, Meta wrote:
int function(int) f1 = (int n) => n;
int function(int) f2 = (char c) => c;
Should be int function(char)
On Thu, Nov 16, 2017 at 08:21:41PM +, user1234 via Digitalmars-d wrote:
> On Thursday, 16 November 2017 at 14:11:22 UTC, Dukc wrote:
> > On Wednesday, 15 November 2017 at 14:56:53 UTC, Andrei Alexandrescu
> > wrote:
> > > Hello, for all of you with expertise in graphics, we'd be in your
> > > d
On Wednesday, 15 November 2017 at 11:46:48 UTC, Joakim wrote:
I just saw this post about the upcoming Lenovo/AT&T Moto Tab
and thought of you:
https://www.phonearena.com/news/Lenovo-Moto-Tab-ATT-features_id99782
For $300, you can buy a tablet that lets you do everything you
normally do on a t
On Tuesday, 14 November 2017 at 01:01:16 UTC, codephantom wrote:
As someone new to D, I think this point stood out the most(for
me):
"C++, Rust, and D have a large number of features and it can be
distracting from the actual meaning of the application you are
working on. One finds themselves
On Wednesday, 15 November 2017 at 14:56:53 UTC, Andrei
Alexandrescu wrote:
Hello, for all of you with expertise in graphics, we'd be in
your debt if you could create a logo for DConf 2018. Proposals
would be appreciated!
Thanks,
Andrei
I think I'll do something in Illustrator, probably our
On Thursday, 16 November 2017 at 14:11:22 UTC, Dukc wrote:
On Wednesday, 15 November 2017 at 14:56:53 UTC, Andrei
Alexandrescu wrote:
Hello, for all of you with expertise in graphics, we'd be in
your debt if you could create a logo for DConf 2018. Proposals
would be appreciated!
Thanks,
Andr
On Wednesday, 15 November 2017 at 22:43:03 UTC, codephantom wrote:
On Wednesday, 15 November 2017 at 14:56:53 UTC, Andrei
Alexandrescu wrote:
Hello, for all of you with expertise in graphics, we'd be in
your debt if you could create a logo for DConf 2018. Proposals
would be appreciated!
Thank
On Thursday, 16 November 2017 at 19:42:09 UTC, Arun
Chandrasekaran wrote:
On Thursday, 16 November 2017 at 19:22:37 UTC, Johannes Pfau
wrote:
https://github.com/Pure-D/serve-d
-- Johannes
BTW, what are the feature available with serve-d? Does it
support all of the below?
Code completion,
On 11/16/2017 02:29 AM, Michael V. Franklin wrote:
On Thursday, 16 November 2017 at 07:24:44 UTC, Andrei Alexandrescu wrote:
Try it here: https://run.dlang.io/is/nfMGfG
DMD-nightly
Cool, thanks. That seems to be an unrelated bug. Have you added it to
bugzilla? Thanks! -- Andrei
Bugzilla Is
On Thursday, 16 November 2017 at 19:22:37 UTC, Johannes Pfau
wrote:
https://github.com/Pure-D/serve-d
-- Johannes
BTW, what are the feature available with serve-d? Does it support
all of the below?
Code completion, Hover, Jump to def, Workspace symbols, Find
references, Stream reference
On Thursday, 16 November 2017 at 19:22:37 UTC, Johannes Pfau
wrote:
Am Thu, 16 Nov 2017 19:09:14 +
https://github.com/Pure-D/serve-d
We should probably get it listed in the homepage.
Am Thu, 16 Nov 2017 19:09:14 +
schrieb Arun Chandrasekaran :
> Is someone working on D community to implement
> https://langserver.org ?
>
> What will the D community miss out if we ignore LSP?
>
> PS: HackerPilot's tools are very helpful.
https://github.com/Pure-D/serve-d
-- Johannes
Is someone working on D community to implement
https://langserver.org ?
What will the D community miss out if we ignore LSP?
PS: HackerPilot's tools are very helpful.
On Thursday, 16 November 2017 at 13:05:51 UTC, Petar Kirov
[ZombineDev] wrote:
On Wednesday, 15 November 2017 at 19:29:29 UTC, Steven
Schveighoffer wrote:
On 11/15/17 11:59 AM, Andrea Fontana wrote:
On Wednesday, 15 November 2017 at 15:25:06 UTC, Steven
Schveighoffer wrote:
alias foo = lambda1
On Wednesday, 15 November 2017 at 14:56:53 UTC, Andrei
Alexandrescu wrote:
Hello, for all of you with expertise in graphics, we'd be in
your debt if you could create a logo for DConf 2018. Proposals
would be appreciated!
Thanks,
Andrei
Probably too crude to be worth considering but feel fre
On Wednesday, 15 November 2017 at 19:29:29 UTC, Steven
Schveighoffer wrote:
On 11/15/17 11:59 AM, Andrea Fontana wrote:
On Wednesday, 15 November 2017 at 15:25:06 UTC, Steven
Schveighoffer wrote:
alias foo = lambda1;
alias foo = lambda2;
What?
Yep. Would never have tried that in a million y
On Wednesday, 15 November 2017 at 22:43:03 UTC, codephantom wrote:
On Wednesday, 15 November 2017 at 14:56:53 UTC, Andrei
Alexandrescu wrote:
Hello, for all of you with expertise in graphics, we'd be in
your debt if you could create a logo for DConf 2018. Proposals
would be appreciated!
Thank
On Thursday, 16 November 2017 at 02:48:27 UTC, Tony wrote:
I am surprised C hasn't tried to become a "better C".
Most of the people that wanted to work on a spec for a better C
has already moved to C++ or other languages. The ones that remain
want C to stay simple, but they have added new stu
On Thursday, 16 November 2017 at 03:32:26 UTC, codephantom wrote:
// ---
module test;
import core.stdc.stdio;
extern (C) int main()
{
printf("hello world\n");
return 0;
}
// ---
compiled with dmd v2.077.0, using the -bett
29 matches
Mail list logo