Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
zombinedev
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
1.
▲
by
zombinedev
5y ago
Regarding GtkD, you may find this blog interesting: https://gtkdcoding.com/
2.
▲
by
zombinedev
5y ago
https://github.com/atilaneves/automem
3.
▲
by
zombinedev
5y ago
> I hate code like `1.writeln` Meh... after not more than my first month into D this syntax grew on me and now I just use `1.writeln` everywhere. More than a few years later, I can't think of a single issue this has ever caused me.
4.
▲
by
zombinedev
6y ago
It's ok now, as far as I can see.
5.
▲
by
zombinedev
7y ago
Initially coming from C++ background, e.g. I had good understanding of its ownership model with move vs copy semantics (unique_ptr vs shared_ptr), I read many Rust blogs, watched a couple of tech talks and read several chapters of the book,
6.
▲
by
zombinedev
7y ago
You're mistaken. By default D statically links all D dependencies (leaving only libc and possibly OpenSSL (if you need it)) to be dynamically linked (which has it's advantages), but if you want you can statically link all dependen
7.
▲
by
zombinedev
7y ago
To escape the shit show that C and C++ are in their unique ways. In my experience, one of the worst things was working on a proprietary 1M+ LoC codebase. Everything was so painful (despite the feats of engineering being put in the internal
8.
▲
by
zombinedev
8y ago
If you have a half million codebase that you need to migrate, I would say that every heavily used Extended Pascal feature is required to be easily translatable. If it's simply possible but the translation is not direct or easy, then th
9.
▲
by
zombinedev
9y ago
It is not described in the betterC page as these features are not new for D. The betterC page only describes the differences versus the full D feature set. Documentation for the individual features mentioned: http://dlang.org
10.
▲
by
zombinedev
9y ago
D provides the same low-level access as C. Heck, in D you can even use inline assembly, so there are really no barriers to what you can achieve. MMaping files and casting their contents to structures is often used technique. The GC only one
11.
▲
by
zombinedev
9y ago
D has quite good multi-dimensional array support, though probably not as flexible as Python. One of the best libraries in this area is ndslice (part of mir-algorithm) - http://docs.algorithm.dlang.io/latest/index.html .
12.
▲
by
zombinedev
9y ago
If you're interested in high-performance scientific computing, then I guess you'll pleased to know that many use D for this domain, specifically for its high-performance and also high-level features that make prototyping as easy (
13.
▲
by
zombinedev
9y ago
Yes, in this example, but once you start looking at more interesting pieces of code it becomes close to impossible for C beat D without heavy use of macros on the code readability front. Check the runnable examples on the front page - http
14.
▲
by
zombinedev
9y ago
RAII in not removed by design. It is just work in progress. It will be added to -betterC when its implementation is more mature for this mode.
15.
▲
by
zombinedev
9y ago
Can you compare your D vs Nim experience in more detail? What are the key points that you like better about Nim?
16.
▲
by
zombinedev
9y ago
I think the main factor is that the primary contributor to GDC (Iain) made a giant push for this to happen in the last 6-12 months. Just look at this graph: https://github.com/D-Programming-GDC/GDC/graphs/cont