Jump to page: 1 2
Thread overview
World needs a safe language
Apr 09, 2021
Independent
Apr 10, 2021
evilrat
Apr 10, 2021
Independent
Apr 10, 2021
Dylan Graham
Apr 11, 2021
Paulo Pinto
Apr 11, 2021
Dylan Graham
Apr 11, 2021
Paulo Pinto
Apr 11, 2021
Dylan Graham
Apr 11, 2021
Imperatorn
Apr 11, 2021
Imperatorn
Apr 10, 2021
Imperatorn
Apr 10, 2021
evilrat
Apr 10, 2021
Imperatorn
Apr 10, 2021
Paulo Pinto
Apr 10, 2021
aberba
Apr 10, 2021
Dylan Graham
Apr 10, 2021
Max Haughton
Apr 10, 2021
Dylan Graham
April 09, 2021

World needs a safe language statically typed language without GC but simpler than rust. D's biggest win against rust is that it has much better interop than rust with C++. If we make D a no GC,safe language it can easily beat rust. GC can be optional. No company wants to rip and replace existing c++ code. Why would some want to use D since go with GC is already there which is backed by a big corp. Their marketing made GC good. However good D is compared to Go, its hard to suceed with GC. This is just my opinion. well wisher.

April 10, 2021

On Friday, 9 April 2021 at 21:37:51 UTC, Independent wrote:

>

World needs a safe language statically typed language without GC but simpler than rust. D's biggest win against rust is that it has much better interop than rust with C++. If we make D a no GC,safe language it can easily beat rust. GC can be optional. No company wants to rip and replace existing c++ code. Why would some want to use D since go with GC is already there which is backed by a big corp. Their marketing made GC good. However good D is compared to Go, its hard to suceed with GC. This is just my opinion. well wisher.

Just don't use it if you hate it so much.
Compilers provided you with tools to track implicit GC runs(dmd -vgc, ldc -nogc flags), use RAII or whatever for memory allocations, make your own containers that handles its memory or find existing one on dub. Done.

No need to waste time and money inventing what's already there.

April 10, 2021

On Friday, 9 April 2021 at 21:37:51 UTC, Independent wrote:

>

World needs a safe language statically typed language without GC but simpler than rust. D's biggest win against rust is that it has much better interop than rust with C++. If we make D a no GC,safe language it can easily beat rust. GC can be optional. No company wants to rip and replace existing c++ code. Why would some want to use D since go with GC is already there which is backed by a big corp. Their marketing made GC good. However good D is compared to Go, its hard to suceed with GC. This is just my opinion. well wisher.

If we got seamless reuse of existing c++ or translation to D, that would be the big thing imo.

Actually, if the porting process could be improved/highly automated that would probably be the biggest win since then you'd have D all the way = nirvana.

April 10, 2021

On Friday, 9 April 2021 at 21:37:51 UTC, Independent wrote:

>

World needs a safe language statically typed language without GC but simpler than rust. D's biggest win against rust is that it has much better interop than rust with C++. If we make D a no GC,safe language it can easily beat rust. GC can be optional. No company wants to rip and replace existing c++ code. Why would some want to use D since go with GC is already there which is backed by a big corp. Their marketing made GC good. However good D is compared to Go, its hard to suceed with GC. This is just my opinion. well wisher.

Here is C# beating C++ on gRPC parsing, because .NET team started to be more serious about their optimisation efforts,

https://devblogs.microsoft.com/aspnet/grpc-performance-improvements-in-net-5/

Not only that, they started to port runtime code from C++ into C#, an endeavour that they keep on ramping up on .NET 6.

https://devblogs.microsoft.com/dotnet/announcing-net-6-preview-3/

Unity keeps their effort to migrate core engine code from C++ into HPC#, a C# subset which is basically like using D with @nogc, while leaving the remaining part of the engine to regular C#, just like regular D.

What D needs is fixing bugs, finishing some language feature and be the best at its thing.

Doing a D vs Rust vs C++ feature check list, won't go anywhere, mainstream languages get picked due to ecosystems and OS SDKs, not due to whatever language feature makes to the frontage of hacker news.

April 10, 2021

On Saturday, 10 April 2021 at 07:07:19 UTC, Imperatorn wrote:

>

If we got seamless reuse of existing c++ or translation to D, that would be the big thing imo.

Actually, if the porting process could be improved/highly automated that would probably be the biggest win since then you'd have D all the way = nirvana.

Oh I've seen you on github gentool discussion, actually you can try to convert C++ code using gentool by adding .cpp to sources list, it is not restricted to headers and might work for standalone libraries that doesn't rely on STL too much.

April 10, 2021

On Saturday, 10 April 2021 at 09:20:27 UTC, evilrat wrote:

>

On Saturday, 10 April 2021 at 07:07:19 UTC, Imperatorn wrote:

>

If we got seamless reuse of existing c++ or translation to D, that would be the big thing imo.

Actually, if the porting process could be improved/highly automated that would probably be the biggest win since then you'd have D all the way = nirvana.

Oh I've seen you on github gentool discussion, actually you can try to convert C++ code using gentool by adding .cpp to sources list, it is not restricted to headers and might work for standalone libraries that doesn't rely on STL too much.

Yeah, I haven't really tried it yet. Will do in the coming week 🍀

April 10, 2021

On Friday, 9 April 2021 at 21:37:51 UTC, Independent wrote:

>

World needs a safe language statically typed language without GC but simpler than rust. D's biggest win against rust is that it has much better interop than rust with C++. If we make D a no GC,safe language it can easily beat rust. GC can be optional. No company wants to rip and replace existing c++ code. Why would some want to use D since go with GC is already there which is backed by a big corp. Their marketing made GC good. However good D is compared to Go, its hard to suceed with GC. This is just my opinion. well wisher.

If you want absolute safety, just use Rust. Let D be D.

April 10, 2021

On Saturday, 10 April 2021 at 15:50:51 UTC, Dylan Graham wrote:

>

On Friday, 9 April 2021 at 21:37:51 UTC, Independent wrote:

>

World needs a safe language statically typed language without GC but simpler than rust. D's biggest win against rust is that it has much better interop than rust with C++. If we make D a no GC,safe language it can easily beat rust. GC can be optional. No company wants to rip and replace existing c++ code. Why would some want to use D since go with GC is already there which is backed by a big corp. Their marketing made GC good. However good D is compared to Go, its hard to suceed with GC. This is just my opinion. well wisher.

If you want absolute safety, just use Rust. Let D be D.

Why should D be unsafe?

April 10, 2021

Sorry I dont hate, instead I have lot of respect for the community. I was just sharing my thoughts. I wish D gets more success in the future. What I felt is that D needs a plan, roadmoap, goal and shout it outside to the world and the community can help in small pieces. It needs a small makeover.

April 10, 2021

On Saturday, 10 April 2021 at 08:06:15 UTC, Paulo Pinto wrote:

>

On Friday, 9 April 2021 at 21:37:51 UTC, Independent wrote:

>

[...]

Here is C# beating C++ on gRPC parsing, because .NET team started to be more serious about their optimisation efforts,

[...]

Why do I agree with you this much? 🤔

« First   ‹ Prev
1 2