2 ms·
D is general purpose programming language similar to Python but most would agree that in computing sense it is more general than Python since the latter is rath
by teleforce 3y ago
D is general purpose programming language similar to Python but most would agree that in computing sense it is more general than Python since the latter is rather limited in hardcore HPC domain (bit twiddling, etc).
The fact that most of today's programmer or in the future will be just fine and better off with GC based languages compiled or interpreted, as modern drivers are better off with auto transmission than the manual. Heck, even F1 drivers now compete in auto transmission (DCT).
The fact that D is embracing GC as a default is not a disadvantage but it is advantage for majority of the programmers [1]. Imagine a world in the near future where D is as popular as Python due to its intuitive syntax thus more library will be written for D and thus the library eco-system is flourishing regardless you are using enabled the GC or not with D [2]. Imagine a world where you don't need to write in Python and interface in a wrapper for library in foreign language that only selected few can understand because most of original library authors have passed away since the core are using language originated from the 50s and the library was developed in the 70s [3]. Imagine a world where only programming language with GC can be JIT to wasm [4].
[1]Go: What we got right, what we got wrong:
https://news.ycombinator.com/item?id=38874952 https://news.ycombinator.com/item?id=38874952
[2]Stop Designing Languages. Write Libraries Instead:
https://lbstanza.org/purpose_of_programming_languages.html https://lbstanza.org/purpose_of_programming_languages.html
[3]Programming in Modern Fortran:
https://cyber.dabamos.de/programming/modernfortran/blas.html https://cyber.dabamos.de/programming/modernfortran/blas.html
[4] WebAssembly Garbage Collection (WasmGC) now enabled by default in Chrome:
https://developer.chrome.com/blog/wasmgc https://developer.chrome.com/blog/wasmgc