Jump to page: 1 25  
Page
Thread overview
Why I Like D
Jan 12, 2022
Walter Bright
Jan 12, 2022
ag0aep6g
Jan 12, 2022
surlymoor
Jan 12, 2022
forkit
Jan 12, 2022
forkit
Jan 12, 2022
H. S. Teoh
Jan 12, 2022
Adam D Ruppe
Jan 12, 2022
Elronnd
Jan 12, 2022
H. S. Teoh
Jan 12, 2022
Arjan
Jan 12, 2022
bachmeier
Jan 12, 2022
H. S. Teoh
Jan 12, 2022
Walter Bright
Jan 12, 2022
forkit
Jan 14, 2022
Vinod K Chandran
Jan 12, 2022
forkit
Jan 13, 2022
Paul Backus
Jan 13, 2022
H. S. Teoh
Jan 14, 2022
forkit
Jan 14, 2022
H. S. Teoh
Jan 14, 2022
forkit
Jan 14, 2022
H. S. Teoh
Jan 14, 2022
forkit
Jan 14, 2022
Araq
Jan 14, 2022
H. S. Teoh
Jan 14, 2022
Vinod K Chandran
Jan 14, 2022
Paulo Pinto
Jan 14, 2022
H. S. Teoh
Jan 12, 2022
H. S. Teoh
Jan 12, 2022
Elronnd
Jan 13, 2022
Stanislav Blinov
Jan 13, 2022
Araq
Jan 13, 2022
Paulo Pinto
Jan 13, 2022
Paulo Pinto
Jan 13, 2022
H. S. Teoh
Jan 13, 2022
zjh
Jan 13, 2022
zjh
Jan 13, 2022
forkit
Jan 13, 2022
Paulo Pinto
January 11, 2022
"Why I like D" is on the front page of HackerNews at the moment at number 11.

https://news.ycombinator.com/news
January 12, 2022
On 12.01.22 03:37, Walter Bright wrote:
> "Why I like D" is on the front page of HackerNews at the moment at number 11.
> 
> https://news.ycombinator.com/news

https://news.ycombinator.com/item?id=29863557

https://aradaelli.com/blog/why-i-like-d/
January 12, 2022

On Wednesday, 12 January 2022 at 02:37:47 UTC, Walter Bright wrote:

>

"Why I like D" is on the front page of HackerNews at the moment at number 11.

https://news.ycombinator.com/news

Nice article, especially this paragraph:

>

In case you are writing a performance critical piece of software, remember you
can turn off the garbage collector! People on forums like to bash that in such
case you cannot use many functions from standard library. So what? If
performances are essential for your system you are likely already writing you own
utility library with highly optimized algorithms and data structures for your use
case, so you won’t really miss the standard library much.

Good luck to the boys and girls in the HN comments as the dumpster fire is already raging.

January 12, 2022
On Wednesday, 12 January 2022 at 02:37:47 UTC, Walter Bright wrote:
> "Why I like D" is on the front page of HackerNews at the moment at number 11.
>
> https://news.ycombinator.com/news

surely this article needs to be balanced, with another article, titled 'why I don't like D' ;-) (..but written by someone who really knows D).

IMO... the next generation programming language (that will succeed) will be defined by it's tooling, and not just the language.

Language complexity increases the demands on tooling.

I remember Scott Meyers.. the last thing D needs.. 2014 talk.

We really need him now.. more than ever ;-)
January 12, 2022
On Wednesday, 12 January 2022 at 06:27:47 UTC, forkit wrote:
>
> surely this article needs to be balanced, with another article, titled 'why I don't like D' ;-) (..but written by someone who really knows D).
>

oh. btw. I'd love to see Walter (or Andrei, or both) write this article ;-)

January 12, 2022
On Tue, Jan 11, 2022 at 06:37:47PM -0800, Walter Bright via Digitalmars-d-announce wrote:
> "Why I like D" is on the front page of HackerNews at the moment at number 11.
> 
> https://news.ycombinator.com/news

Favorite quote:

	Some people may not consider the GC a feature, I certainly did
	not at the beginning. I came from a hard-core game developer
	mindset where you need to know the exact timing for every
	operation in your critical path. I lived by quotes like: “the
	programmer knows better how to manage memory” and “you cannot
	have unexpected pauses for GC collection”.

	However it turns out that unless you are writing a computer
	game, a high frequency trading system, a web server, or anything
	that really cares about sub-second latency, chances are that a
	garbage collector is your best friend. It will remove the burden
	of having to think about memory management at all and at the
	same time guarantee that you won’t have any memory leaks in your
	code.

*Flamesuit on.*


T

-- 
Insanity is doing the same thing over and over again and expecting different results.
January 12, 2022
On Wednesday, 12 January 2022 at 15:25:37 UTC, H. S. Teoh wrote:
> 	However it turns out that unless you are writing a computer
> 	game, a high frequency trading system, a web server

Most computer games and web servers use GC too.

idk about hf trading.
January 12, 2022
On Wednesday, 12 January 2022 at 15:41:03 UTC, Adam D Ruppe wrote:
> idk about hf trading

Per hearsay, some is c++, some is java, frequently it is fpga-assisted.  Certainly, gc is not unheard of in that domain.
January 12, 2022

On 1/12/22 10:41 AM, Adam D Ruppe wrote:

>

On Wednesday, 12 January 2022 at 15:25:37 UTC, H. S. Teoh wrote:

>

    However it turns out that unless you are writing a computer
    game, a high frequency trading system, a web server

Most computer games and web servers use GC too.

idk about hf trading.

Yeah, I had trouble agreeing with that statement too.

For computer gaming even, GC is not horrific as long as you aren't allocating and freeing loads of things every frame. And a web server works great I think with GC. vibe-d makes non-stop use of the GC (allocating a bunch of class objects for every request).

sub-second latency is also quite possible even with a stop-the-world GC.

Look at Sociomantic -- they still used the GC, just made sure to minimize the possibility of collections.

I wonder if there is just so much fear of the GC vs people who actually tried to use the GC and it failed to suit their needs. I've never been afraid of the GC in my projects, and it hasn't hurt me at all.

-Steve

January 12, 2022
On Wed, Jan 12, 2022 at 03:41:03PM +0000, Adam D Ruppe via Digitalmars-d-announce wrote:
> On Wednesday, 12 January 2022 at 15:25:37 UTC, H. S. Teoh wrote:
> > 	However it turns out that unless you are writing a computer
> > 	game, a high frequency trading system, a web server
> 
> Most computer games and web servers use GC too.
[...]

Depends on what kind of games, I guess. If you're writing a 60fps real-time raytraced 3D FPS running at 2048x1152 resolution, then *perhaps* you might not want a GC killing your framerate every so often.

(But even then, there's always GC.disable and @nogc... so it's not as if you *can't* do it in D. It's more a psychological barrier triggered by the word "GC" than anything else, IMNSHO.)


T

-- 
A mathematician is a device for turning coffee into theorems. -- P. Erdos
« First   ‹ Prev
1 2 3 4 5