https://issues.dlang.org/show_bug.cgi?id=19305
Issue ID: 19305
Summary: In symbol lookup, with statement becomes stronger than
an inner scope import statement
Product: D
Version: D2
Hardware: All
OS: All
Nifty, I'll have to look into this. Any idea what it would take to get
this doing some WebGL? (Or playing audio?) Or is this more for HTML-ish
sorts of stuff?
What are the main current limitations?
https://issues.dlang.org/show_bug.cgi?id=19304
Ludovit Lucenic changed:
What|Removed |Added
Keywords||link-failure
--
On Friday, 12 October 2018 at 23:32:34 UTC, Nicholas Wilson wrote:
On Friday, 12 October 2018 at 20:12:26 UTC, Stanislav Blinov
That's done first and foremost by stripping out unnecessary
allocations, not by writing "new" every other line and closing
your eyes.
If you need perf in your
On Friday, 12 October 2018 at 21:39:13 UTC, Atila Neves wrote:
D isn't Java. If you can, put your data on the stack. If you
can't, `new` away and don't think about it.
Then five years later, try and hunt down that mysterious heap
corruption. Caused by some destructor calling into buggy
On Friday, 12 October 2018 at 20:12:26 UTC, Stanislav Blinov
wrote:
On Friday, 12 October 2018 at 19:55:02 UTC, Nicholas Wilson
wrote:
Freeing your mind and the codebase of having to deal with
memory leaves it in an easier place to deal with the less
common higher impact leaks: file
On Friday, 12 October 2018 at 21:34:35 UTC, Atila Neves wrote:
---
When writing a throwaway script...
...there's absolutely no need for a GC.
True. There's also absolutely no need for computer languages
either, machine code is sufficient.
Funny. Now for real,
https://issues.dlang.org/show_bug.cgi?id=15956
jo...@mail.de changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://issues.dlang.org/show_bug.cgi?id=15956
jo...@mail.de changed:
What|Removed |Added
Severity|critical|normal
--- Comment #3 from jo...@mail.de ---
On 10/11/18 11:20 PM, JN wrote:
On Thursday, 11 October 2018 at 21:22:19 UTC, aberba wrote:
[snip]
That is fine, if you want to position yourself as competition to
languages like Go, Java or C#. D wants to be a viable competition to
languages like C, C++ and Rust, as a result, there are
On Friday, 12 October 2018 at 21:15:04 UTC, welkam wrote:
People in this thread mostly said that for some things GC is
just awesome. When you need to get shit done fast and dirty GC
saves time and mental capacity. Not all code deals with
sockets, DB, bank transactions, multithreading, etc.
On Friday, 12 October 2018 at 20:12:26 UTC, Stanislav Blinov
wrote:
On Friday, 12 October 2018 at 19:55:02 UTC, Nicholas Wilson
wrote:
Freeing your mind and the codebase of having to deal with
memory leaves it in an easier place to deal with the less
common higher impact leaks: file
On Friday, 12 October 2018 at 16:26:49 UTC, Stanislav Blinov
wrote:
On Thursday, 11 October 2018 at 21:22:19 UTC, aberba wrote:
"It takes care of itself
---
When writing a throwaway script...
...there's absolutely no need for a GC.
True. There's also absolutely
On 10/12/18 3:43 PM, Sebastiaan Koppe wrote:
I like to announce Spasm https://github.com/skoppe/spasm
It is a webassembly library to develop single page applications and
builds on my previous work
(https://forum.dlang.org/post/eqneqstmwfzugymfe...@forum.dlang.org).
It generates fast and
On 10/12/18 4:59 PM, Codifies wrote:
On Friday, 12 October 2018 at 20:29:27 UTC, Steven Schveighoffer wrote:
On 10/12/18 3:40 PM, Codifies wrote:
[...]
Unfortunately, I can't find a way to sort a doubly linked list in
phobos, so comparisons are somewhat moot.
However, if there *were* a
On Friday, 12 October 2018 at 20:12:26 UTC, Stanislav Blinov
wrote:
Saying stuff like "do more with GC" is just outright harmful.
Kids are reading, for crying out loud.
People in this thread mostly said that for some things GC is just
awesome. When you need to get shit done fast and dirty GC
On Friday, 12 October 2018 at 20:05:29 UTC, welkam wrote:
On Friday, 12 October 2018 at 16:19:59 UTC, Jabari Zakiya wrote:
The real point of the challenge is too see what idiomatic
code...
There is no idiomatic D code. There is only better
implementations.
D doesnt tell you how to write
On Friday, 12 October 2018 at 20:29:27 UTC, Steven Schveighoffer
wrote:
On 10/12/18 3:40 PM, Codifies wrote:
[...]
Unfortunately, I can't find a way to sort a doubly linked list
in phobos, so comparisons are somewhat moot.
However, if there *were* a sorting routine, generally the
On 10/12/18 3:40 PM, Codifies wrote:
a while ago I wrote a doubly linked list (in C), which has a compare
callback to allow custom sorting for example
int cmpNodes(cnode_t* n1, cnode_t* n2)
{
mapNode_t* rn1 = (mapNode_t*)(n1->data);
mapNode_t* rn2 = (mapNode_t*)(n2->data);
if (rn1->G
On Friday, 12 October 2018 at 19:55:02 UTC, Nicholas Wilson wrote:
Freeing your mind and the codebase of having to deal with
memory leaves it in an easier place to deal with the less
common higher impact leaks: file descriptors, sockets, database
handles ect. (this is like chopping down the
On Friday, 12 October 2018 at 16:19:59 UTC, Jabari Zakiya wrote:
The real point of the challenge is too see what idiomatic
code...
There is no idiomatic D code. There is only better
implementations.
D doesnt tell you how to write your code. It gives you many tools
and you choose which
On Friday, 12 October 2018 at 19:43:02 UTC, Stanislav Blinov
wrote:
On Friday, 12 October 2018 at 18:50:26 UTC, Neia Neutuladh
wrote:
Over the lifetime of the script, it processed more memory than
my computer had. That means I needed a memory management
strategy other than "allocate
On Friday, 12 October 2018 at 16:19:59 UTC, Jabari Zakiya wrote:
Hmm,I don't think what you're saying about similar
output|performance with other languages is empirically correct,
but it's really not the point of the challenge.
Thats why godbolt exists.
c++ and Rust
On Friday, 12 October 2018 at 19:06:36 UTC, Dejan Lekic wrote:
What a bunch of nonsense! I used to talk like this some 20
years ago when all I saw in the computing world was C and C++...
Sure garbage collection is not for every project, depends what
industry you are in I guess... In my case
On Friday, 12 October 2018 at 16:26:49 UTC, Stanislav Blinov
wrote:
On Thursday, 11 October 2018 at 21:22:19 UTC, aberba wrote:
"It takes care of itself
---
When writing a throwaway script...
...there's absolutely no need for a GC. In fact, the GC runtime
will
On Friday, 12 October 2018 at 18:50:26 UTC, Neia Neutuladh wrote:
Over the lifetime of the script, it processed more memory than
my computer had. That means I needed a memory management
strategy other than "allocate everything". The GC made that
quite easy.
Now *that* is a good point. Then
I like to announce Spasm https://github.com/skoppe/spasm
It is a webassembly library to develop single page applications
and builds on my previous work
(https://forum.dlang.org/post/eqneqstmwfzugymfe...@forum.dlang.org).
It generates fast and small webassembly binaries. The example
todo-mvc
a while ago I wrote a doubly linked list (in C), which has a
compare callback to allow custom sorting for example
int cmpNodes(cnode_t* n1, cnode_t* n2)
{
mapNode_t* rn1 = (mapNode_t*)(n1->data);
mapNode_t* rn2 = (mapNode_t*)(n2->data);
if (rn1->G + rn1->H > rn2->G + rn2->H) return 1;
On Friday, 12 October 2018 at 16:26:49 UTC, Stanislav Blinov
wrote:
On Thursday, 11 October 2018 at 21:22:19 UTC, aberba wrote:
"It takes care of itself
---
When writing a throwaway script...
...there's absolutely no need for a GC. In fact, the GC runtime
will
On 10/12/2018 11:14 AM, Stanislav Blinov wrote:
On Friday, 12 October 2018 at 17:31:30 UTC, Neia Neutuladh wrote:
Throwaway scripts can allocate a lot of memory and have nontrivial
running times. It's less common for scripts than for long-running
processes, granted, but I've written scripts
On Friday, 12 October 2018 at 17:31:30 UTC, Neia Neutuladh wrote:
Throwaway scripts can allocate a lot of memory and have
nontrivial running times. It's less common for scripts than for
long-running processes, granted, but I've written scripts to go
through gigabytes of data.
Your point
On 10/12/2018 09:26 AM, Stanislav Blinov wrote:
On Thursday, 11 October 2018 at 21:22:19 UTC, aberba wrote:
"It takes care of itself
---
When writing a throwaway script...
...there's absolutely no need for a GC. In fact, the GC runtime will
only detract from
On Thursday, 11 October 2018 at 21:22:19 UTC, aberba wrote:
"It takes care of itself
---
When writing a throwaway script...
...there's absolutely no need for a GC. In fact, the GC runtime
will only detract from performance.
What this means is that whenever I have
On Friday, 12 October 2018 at 15:11:17 UTC, welkam wrote:
On Wednesday, 10 October 2018 at 16:15:56 UTC, Jabari Zakiya
wrote:
What I am requesting here is for a person(s) who is an
"expert" (very good) to create a very fast D version, using
whatever tricks it has to maximize performance.
I
On Friday, 12 October 2018 at 07:32:26 UTC, Mike Parker wrote:
DMD has the -i option which tells the compiler to automatically
compile all imported modules. I don't know if LDC has anything
similar.
It does, same option.
On Thursday, 11 October 2018 at 23:02:19 UTC, Martin Nowak wrote:
Glad to announce D 2.082.1.
http://dlang.org/download.html
This point release fixes a few issues over 2.082.1
Ummm...
Anyway, thanks for the release!
On Friday, 12 October 2018 at 13:15:22 UTC, Steven Schveighoffer
wrote:
On 10/12/18 6:06 AM, Kagamin wrote:
On Thursday, 11 October 2018 at 23:17:15 UTC, Jonathan Marler
wrote:
[...]
That's https://issues.dlang.org/show_bug.cgi?id=14186
Wow, interesting that C precedence is different from
On Thursday, 11 October 2018 at 23:17:57 UTC, Jonathan M Davis
wrote:
On Thursday, October 11, 2018 8:35:34 AM MDT James Japherson
via Digitalmars-d wrote:
Certainly, major languages like C, C++, Java, and C# all do it
the way that D does, and they all have the same kind of
precedence for
On Wednesday, 19 September 2018 at 12:51:25 UTC, Basile B. wrote:
The downloads of nightlies is broken since at least 2 weeks
now. What's going on ?
I've started using this script from today :
https://github.com/BBasile/dmdm/blob/master/dmdm.sh
Instead of downloading the nightly release it
On Thursday, 11 October 2018 at 23:17:15 UTC, Jonathan Marler
wrote:
On Thursday, 11 October 2018 at 21:57:00 UTC, Jonathan M Davis
wrote:
On Thursday, October 11, 2018 1:09:14 PM MDT Jonathan Marler
via Digitalmars-d wrote:
On Thursday, 11 October 2018 at 14:35:34 UTC, James Japherson
wrote:
On Thursday, 11 October 2018 at 18:20:56 UTC, Ephrahim wrote:
Using this dub.json configuration
0.8.36\eventcore\source\eventcore\drivers\posix\driver.d(145,14):
Error: safe function
'eventcore.drivers.posix.driver.PosixEventDriverCore!(SelectEventLoop, LoopTimeoutTimerDriver,
On Wednesday, 10 October 2018 at 16:15:56 UTC, Jabari Zakiya
wrote:
What I am requesting here is for a person(s) who is an "expert"
(very good) to create a very fast D version, using whatever
tricks it has to maximize performance.
I would like to include in my paper a good comparison of
https://issues.dlang.org/show_bug.cgi?id=19303
Luís Marques changed:
What|Removed |Added
Hardware|x86 |All
OS|Mac OS X
https://issues.dlang.org/show_bug.cgi?id=19303
Issue ID: 19303
Summary: hasMember fails to recognize member (interaction with
mixin template)
Product: D
Version: D2
Hardware: x86
OS: Mac OS X
On Friday, 12 October 2018 at 13:25:33 UTC, Chris Katko wrote:
Like, insanely fat.
All I wanted was a simple regex. The second include a regex
function, my program would no longer compile "out of memory for
fork".
/usr/bin/time -v reports it went from 150MB of RAM for D,
DAllegro, and
Like, insanely fat.
All I wanted was a simple regex. The second include a regex
function, my program would no longer compile "out of memory for
fork".
/usr/bin/time -v reports it went from 150MB of RAM for D,
DAllegro, and Allegro5.
To over 650MB of RAM, and from 1.5 seconds to >5.5
On Friday, 12 October 2018 at 12:43:53 UTC, Paul Backus wrote:
On Wednesday, 10 October 2018 at 22:56:14 UTC, James Japherson
wrote:
The point of all this is because D does not allow nesting of
enums
which allows for nice use of . to separate hiearchies:
enum A
{
enum B
{
X,
}
On 10/12/18 6:06 AM, Kagamin wrote:
On Thursday, 11 October 2018 at 23:17:15 UTC, Jonathan Marler wrote:
I had a look at the table again, looks like the ternary operator is on
there, just called the "conditional operator". And to clarify, D's
operator precedence is close to C/C++ but doesn't
On Wednesday, 10 October 2018 at 22:56:14 UTC, James Japherson
wrote:
The point of all this is because D does not allow nesting of
enums
which allows for nice use of . to separate hiearchies:
enum A
{
enum B
{
X,
}
}
A.B.X, rather than having to have one large flat enum and do
https://issues.dlang.org/show_bug.cgi?id=19302
Issue ID: 19302
Summary: statement not reachable in
std.regex.internal.parser.Parser.parseAtom, only in
-inline -profile builds
Product: D
Version: D2
On Friday, 12 October 2018 at 07:13:33 UTC, Russel Winder wrote:
On Thu, 2018-10-11 at 13:00 +, bachmeier via Digitalmars-d
wrote: […]
Suggestions?
My guess is that the reason they've heard of those languages
is because their developers were writing small projects using
Go and Rust, but
On Thursday, 11 October 2018 at 23:17:15 UTC, Jonathan Marler
wrote:
I had a look at the table again, looks like the ternary
operator is on there, just called the "conditional operator".
And to clarify, D's operator precedence is close to C/C++ but
doesn't match exactly. This is likely a
On Thursday, 11 October 2018 at 16:19:07 UTC, April Nassi wrote:
Hi! I'm the community manager for gRPC and this is awesome!
Would love to add this to our ecosystem repo. Would also be
great to have you talk about this on an upcoming community call!
Thanks,
e-mail: zoujiaq...@gmail.com
On Friday, 12 October 2018 at 07:13:33 UTC, Russel Winder wrote:
On Thu, 2018-10-11 at 13:00 +, bachmeier via Digitalmars-d
wrote: […]
Suggestions?
My guess is that the reason they've heard of those languages
is because their developers were writing small projects using
Go and Rust, but
On Friday, 12 October 2018 at 07:13:33 UTC, Russel Winder wrote:
On Thu, 2018-10-11 at 13:00 +, bachmeier via Digitalmars-d
wrote: […]
Suggestions?
My guess is that the reason they've heard of those languages
is because their developers were writing small projects using
Go and Rust, but
On Friday, 12 October 2018 at 06:01:12 UTC, spikespaz wrote:
I'm using the latest LDC2 beta, and when running the compiler
with -I (Look for imports also in ) it fails with
unresolved externals. These are my commands.
=
$ ldc2
On 11/10/2018 06:34, James Japherson wrote:
> I've been having a lot of issues with visual D. I'm not sure if it's
> just dysfunctional, has a few bugs, new bugs were introduced, or what
> has happened. Some things have always been like then. I have a potential
> solution though.
>
> I will
On Thu, 2018-10-11 at 13:00 +, bachmeier via Digitalmars-d wrote:
[…]
> Suggestions?
>
> My guess is that the reason they've heard of those languages is
> because their developers were writing small projects using Go and
> Rust, but not D.
I fear it may already be too late. Go, and now
https://issues.dlang.org/show_bug.cgi?id=19301
Илья Ярошенко changed:
What|Removed |Added
Keywords||rejects-valid
--
https://issues.dlang.org/show_bug.cgi?id=19301
Issue ID: 19301
Summary: [DIP1000] missing overload abilities
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: enhancement
On Thursday, 11 October 2018 at 21:22:19 UTC, aberba wrote:
When writing a throwaway script that I will only use a handful
of times, optimising that code isn’t necessarily high on my
priority list. The priority is to get it written, and get it
running. That’s where the V8 (C++) engine that
I'm using the latest LDC2 beta, and when running the compiler
with -I (Look for imports also in ) it fails with
unresolved externals. These are my commands.
=
$ ldc2 "source\setup.d" -I "source" -J "build\vars" -of
"build\bin\setup.exe"
62 matches
Mail list logo