On Sunday, 26 November 2017 at 05:36:15 UTC, Guy wrote:
It's funny you say that because they just announced the
introduction of ranges and I believe they return Spans.
Well, basic dataflow pipelines with implicit transfer of buffer
ownership. So it is a language feature with implicit RAII
lif
On Sunday, 26 November 2017 at 04:01:31 UTC, jmh530 wrote:
On Friday, 24 November 2017 at 05:53:37 UTC, Dmitry Olshansky
wrote:
A better GC is a great direction. Generational one is not
feasible unless we disallow quite a few of our features.
What about @safe?
If all of the code is 100% @saf
On Sunday, 26 November 2017 at 08:49:42 UTC, Dmitry Olshansky
wrote:
Sadly you can’t “skip” write barriers in your @system code
because it may run as part of larger @safe. Which is where they
Well, you can if you carefully lock the gc runtime or if you dont
modify existing scannable pointers t
On Tuesday, 21 November 2017 at 14:15:30 UTC, Martin Nowak wrote:
https://github.com/dlang/DIPs/blob/master/DIPs/DIP1006.md
Has come up a couple of times and it's a good idea to allow
more control over which checks are enabled.
I find the suggested switch levels a bit counter-intuitive and
wo
On 26/11/2017 11:59 AM, Joseph Rushton Wakeling wrote:
On Tuesday, 21 November 2017 at 14:15:30 UTC, Martin Nowak wrote:
https://github.com/dlang/DIPs/blob/master/DIPs/DIP1006.md
Has come up a couple of times and it's a good idea to allow more
control over which checks are enabled.
I find the
On Sunday, 26 November 2017 at 08:49:42 UTC, Dmitry Olshansky
wrote:
If all of the code is 100% @safe (not system and not trusted)
you have a different language where write barriers would be
cheaper to implement.
Sadly you can’t “skip” write barriers in your @system code
because it may run
On Sunday, November 26, 2017 18:58:04 jmh530 via Digitalmars-d wrote:
> On Sunday, 26 November 2017 at 08:49:42 UTC, Dmitry Olshansky
>
> wrote:
> > If all of the code is 100% @safe (not system and not trusted)
> > you have a different language where write barriers would be
> > cheaper to implement
On Sunday, 26 November 2017 at 19:11:08 UTC, Jonathan M Davis
wrote:
We can't even have different heaps for immutable and mutable
stuff, because it's very common to construct something as
mutable and then cast it to immutable (either explicitly or
This is easy to fix, introduce a uniquely owne
Hi,
I'm a full-time C++ software engineer in Silicon Valley. I've
been learning D and using it in a couple of personal side
projects for a few months now.
First of all, I must start by saying that I like D, and wish to
use it everyday. I'm even considering to donate to the D
foundation. Howe
On 11/26/17 16:14, IM wrote:
Hi,
I'm a full-time C++ software engineer in Silicon Valley. I've been
learning D and using it in a couple of personal side projects for a few
months now.
First of all, I must start by saying that I like D, and wish to use it
everyday. I'm even considering to donate
On Monday, 27 November 2017 at 00:14:40 UTC, IM wrote:
- D is unnecessarily a huge language. I remember in DConf 2014,
Scott Meyers gave a talk about the last thing D needs, which is
a guy like him writing a lot of books covering the many
subtleties of the language. However, it seems that the D
On Monday, 27 November 2017 at 00:14:40 UTC, IM wrote:
Hi,
I'm a full-time C++ software engineer in Silicon Valley. I've
been learning D and using it in a couple of personal side
projects for a few months now.
First of all, I must start by saying that I like D, and wish to
use it everyday. I
On Monday, 27 November 2017 at 00:14:40 UTC, IM wrote:
- D is unnecessarily a huge language. I remember in DConf 2014,
Scott Meyers gave a talk about the last thing D needs, which is
a guy like him writing a lot of books covering the many
subtleties of the language. However, it seems that the
On Sunday, 26 November 2017 at 19:11:08 UTC, Jonathan M Davis
wrote:
It wouldn't work. @safe code and @system code call each other
all the time (using @trusted where necessary), and they freely
exchange stuff that was allocated on the GC heap. [snip]
I see. Fair enough.
On 27/11/2017 12:14 AM, IM wrote:
snip
- D is very verbose. It requires a lot of typing. Look at how long
'immutable' is. Very often that I find myself tagging my methods with
something like 'final override nothrow @safe @nogc ...' etc.
There be solutions here!
struct Foo {
final n
On 11/26/2017 4:14 PM, IM wrote:
I'm a full-time C++ software engineer in Silicon Valley. I've been learning D
and using it in a couple of personal side projects for a few months now.
Great! Glad you're enjoying it and took the time to post your thoughts.
- D is unnecessarily a huge language.
On Monday, 27 November 2017 at 00:14:40 UTC, IM wrote:
I'm a full-time C++ software engineer in Silicon Valley. I've
been learning D and using it in a couple of personal side
projects for a few months now.
First of all, I must start by saying that I like D, and wish to
use it everyday. I'm ev
On Monday, 27 November 2017 at 00:14:40 UTC, IM wrote:
- D is unnecessarily a huge language. I remember in DConf 2014,
Scott Meyers gave a talk about the last thing D needs, which is
a guy like him writing a lot of books covering the many
subtleties of the language. However, it seems that the D
On Monday, 27 November 2017 at 00:14:40 UTC, IM wrote:
- It's quite clear that D was influenced a lot by Java at some
point, which led to borrowing (copying?) a lot of Java features
that may not appeal to everyone.
Have you observed a human to exist who has complained about a
specific featur
On Sunday, 26 November 2017 at 18:58:04 UTC, jmh530 wrote:
On Sunday, 26 November 2017 at 08:49:42 UTC, Dmitry Olshansky
wrote:
If all of the code is 100% @safe (not system and not trusted)
you have a different language where write barriers would be
cheaper to implement.
Sadly you can’t “sk
On Monday, 27 November 2017 at 05:11:06 UTC, Neia Neutuladh wrote:
You might say that I could use C++ style manual memory
management and get even better performance. And you'd be wrong.
No... Not if you do it right, but it takes more planning. I.e.
Design. Which is why scripting and high level
Thanks everyone for your advices and helping me with finding job
in the US. I applied for about 300 jobs at companies like Apple,
M$, Amazon, Google, etc. and got one offer in Canada, so it's
half-win for me. :)
Thanks!
BTW: Walter, why you don't use IP Board instead of this, custom
made for
On Monday, 27 November 2017 at 01:03:29 UTC, Adam Wilson wrote:
On 11/26/17 16:14, IM wrote:
Hi,
I'm a full-time C++ software engineer in Silicon Valley. I've
been
learning D and using it in a couple of personal side projects
for a few
months now.
[snip]
I could add more, but I'm tired of
On Monday, 27 November 2017 at 05:47:49 UTC, Dmitry Olshansky
wrote:
likely via RAII. Not to mention cheap (thread-local) Ref
Counting, C++ and many other language have to use atomics which
makes RC costly.
No, you dont. Nobody in their right mind would do so in C++ as a
general solution. See
On 11/26/2017 9:11 PM, Neia Neutuladh wrote:
The culprit for the C# version's poor performance was System.String.Substring,
which allocates a copy of its input data. So "Hello world".Substring(5) creates
a new char* pointing at a new memory allocation containing "Hello\0". C++'s
std::string doe
On Monday, 27 November 2017 at 06:36:27 UTC, Ola Fosheim Grostad
wrote:
On Monday, 27 November 2017 at 05:47:49 UTC, Dmitry Olshansky
wrote:
likely via RAII. Not to mention cheap (thread-local) Ref
Counting, C++ and many other language have to use atomics
which makes RC costly.
No, you dont.
On Monday, 27 November 2017 at 06:36:27 UTC, Ola Fosheim Grostad
wrote:
On Monday, 27 November 2017 at 05:47:49 UTC, Dmitry Olshansky
wrote:
likely via RAII. Not to mention cheap (thread-local) Ref
Counting, C++ and many other language have to use atomics
which makes RC costly.
No, you dont.
On Monday, 27 November 2017 at 06:47:00 UTC, Dmitry Olshansky
wrote:
Last time I check shared_ptr can be safely shared across
threads, hence RC is takling synchronization and most likely
atomics since locks won’t be any better.
The controlblock can, but it is crazy to use shared_ptr for
anyth
On 11/26/2017 10:15 PM, Satoshi wrote:
Thanks everyone for your advices and helping me with finding job in the US. I
applied for about 300 jobs at companies like Apple, M$, Amazon, Google, etc. and
got one offer in Canada, so it's half-win for me. :)
Good luck!
BTW: Walter, why you don't us
On Monday, 27 November 2017 at 06:59:30 UTC, Petar Kirov
[ZombineDev] wrote:
the shared_ptr itself) and you can't opt out of that even if
you're not sharing the shared_ptr with other threads.
Well, the compiler can in theory ellide atomics if it csn prove
that the memory cannot be accessed by
30 matches
Mail list logo