Hello folks,
I am interested in learning D (just starting out, did a few of
the exercises on the D tour), and had some questions before I
decide to jump right in. My questions are genuinely motivated by
my experiences and expectations, so please forgive me if some
questions don't come across
Thanks for the very comprehensive response! I think most of my
doubts are cleared now. You're right though that I'm probably
worrying too much about GC with my current use case. Also thanks
for the links - they should also come in very handy indeed.
I managed to find some book recommendations
On Saturday, 18 February 2017 at 21:27:55 UTC, sarn wrote:
On Saturday, 18 February 2017 at 20:15:55 UTC, timmyjose wrote:
[...]
Hi :)
[...]
Okay, yes, it's easy to turn off or control the GC. It's also
easy to control memory allocation in general (unlike, say,
Java, where it's practica
On Saturday, 18 February 2017 at 22:17:30 UTC, berni wrote:
I'm new here too (never heard of D before 2017).
Glad to meet someone else new here! :-)
c). The whole community seems infused with both the
Feminism/SJW
I didn't tried out Rust, but that would draw me away too.
(Incidentally it w
On Saturday, 18 February 2017 at 21:51:34 UTC, Daniel Kozak wrote:
Dne 18.2.2017 v 21:15 timmyjose via Digitalmars-d-learn
napsal(a):
[...]
Hi, welcome in D community
Thank you! I'm glad to be part of this excellent community!
[...]
Yes, by default D use GC. And yes there is a
On Saturday, 18 February 2017 at 21:58:15 UTC, ketmar wrote:
timmyjose wrote:
Thanks for the very comprehensive response! I think most of my
doubts are cleared now. You're right though that I'm probably
worrying too much about GC with my current use case.
i can tell you that i'm doing things
On Sunday, 19 February 2017 at 11:51:02 UTC, timmyjose wrote:
On Saturday, 18 February 2017 at 21:58:15 UTC, ketmar wrote:
[...]
No, you're quite right indeed! First of all, those sound like
very interesting project! :-), and you're right about the GC
part. I have some experience in systems
On Sunday, 19 February 2017 at 15:22:50 UTC, bachmeier wrote:
On Saturday, 18 February 2017 at 20:15:55 UTC, timmyjose wrote:
4. I have heard good reports of D's metaprogramming
capabilities (ironically enough, primarily from a thread on
the Rust user group), and coming from a Common Lisp (and
On Sunday, 19 February 2017 at 12:40:10 UTC, Guillaume Piolat
wrote:
On Saturday, 18 February 2017 at 20:15:55 UTC, timmyjose wrote:
My rudimentary knowledge of the D ecosystem tells me that
there is a GC in D, but that can be turned off. Is this
correct? Also, some threads online mention that
On Sunday, 19 February 2017 at 03:17:08 UTC, Seb wrote:
On Saturday, 18 February 2017 at 21:09:20 UTC, ag0aep6g wrote:
5. Supposing I devote the time and energy and get up to speed
on D, would the core language team be welcoming if I feel
like I can contribute?
Absolutely. Anyone is welcome t
On Sunday, 19 February 2017 at 12:31:51 UTC, ag0aep6g wrote:
On 02/19/2017 12:51 PM, timmyjose wrote:
a). So the GC is part of the runtime even if we specify @nogc
Yup. @nogc is per function, not per program. Other functions
are allowed to use the GC.
b). Do we manually trigger the GC (like
On Sunday, 19 February 2017 at 12:45:49 UTC, ketmar wrote:
timmyjose wrote:
a). So the GC is part of the runtime even if we specify @nogc
yes. GC is basically just a set of functions and some
supporting data structures, it is compiled in druntime. @nogc
doesn't turn it off, if says that compil
On Monday, 20 February 2017 at 14:52:43 UTC, ketmar wrote:
timmyjose wrote:
Suppose I have a simple 2 x 3 array like so:
import std.stdio;
import std.range: iota;
void main() {
// a 2 x 3 array
int [3][2] arr;
foreach (i; iota(0, 2)) {
foreach(j; iota(0, 3)) {
On Monday, 20 February 2017 at 14:54:58 UTC, Adam D. Ruppe wrote:
On Monday, 20 February 2017 at 14:44:41 UTC, timmyjose wrote:
My confusion is this - the declaration of the array is arr
[last-dimension]...[first-dimension], but the usage is
arr[first-dimension]...[last-dimension]. Am I missing
On Monday, 20 February 2017 at 15:27:16 UTC, ag0aep6g wrote:
On 02/20/2017 03:44 PM, timmyjose wrote:
Things I don't like so much:
1). The std.range: iota function(?) is pretty nice, but the
naming seems
a bit bizarre, but quite nice to use.
Yeah, the name is weird. A little googling sugges
On Tuesday, 21 February 2017 at 14:17:39 UTC, Steve Biedermann
wrote:
On Saturday, 18 February 2017 at 20:15:55 UTC, timmyjose wrote:
[...]
I'm using D for small tools for about a year now and I never
had to mess with GC. Most of the tools don't need to work on
GBs of data and performance ha
On Monday, 20 February 2017 at 17:43:22 UTC, Ali Çehreli wrote:
On 02/20/2017 07:00 AM, timmyjose wrote:
> slice can be spawned off into a brand new array upon
assigning data to
> it (in the book "Learning D", which I find very nice so far).
It's not assigning data to a slice, but adding elemen
On Monday, 20 February 2017 at 17:36:32 UTC, H. S. Teoh wrote:
On Mon, Feb 20, 2017 at 03:00:05PM +, timmyjose via
Digitalmars-d-learn wrote: [...]
Just one question about the compilers though - I read on the
Wiki that there are three main compiler distros - dmd, ldc,
and gdc. I code
On Tuesday, 21 February 2017 at 19:55:37 UTC, Ali Çehreli wrote:
On 02/21/2017 09:13 AM, timmyjose wrote:
On Tuesday, 21 February 2017 at 14:17:39 UTC, Steve Biedermann
wrote:
On Saturday, 18 February 2017 at 20:15:55 UTC, timmyjose
wrote:
[...]
I'm using D for small tools for about a year n
On Wednesday, 22 February 2017 at 07:48:42 UTC, Steve Biedermann
wrote:
On Tuesday, 21 February 2017 at 17:13:30 UTC, timmyjose wrote:
I would upvote you if I could! :-) ... that's not only an
interesting read, but also fodder for mini-projects of my own!
If you need more details about a speci
20 matches
Mail list logo