On Tuesday, 19 December 2017 at 11:03:37 UTC, Joakim wrote:
On Tuesday, 19 December 2017 at 10:54:12 UTC, w0rp wrote:
On Tuesday, 19 December 2017 at 09:54:05 UTC, Walter Bright
wrote:
"C, Python, Go, and the Generalized Greenspun Law"
http://esr.ibiblio.org/?p=7804
I think D and the GC are highly appropriate for developing
high performance application software. That's where D really
shines. It's a shame that Qt is such a nightmare to use in
anything that isn't C++. GTK is easy enough to use at least.
What's funny is that both frameworks implement their own
memory management schemes. That points to a need for automatic
memory management.
Why only application software? The point of that blog post is
that whole swathes of system programming should be done with
mostly GC, leaving only OS kernels, some real-time apps, and
the highly-constrained embedded space to the betterC mode.
Which is actually how Android works.
NDK is quite constrained and its only purpose is for high
performance 3D graphics (Vulkan), real-time audio, SIMD/NEON and
integrating existing C and C++ code into Java.
Everything else is done in Java, and on Android Things even user
space drivers are implemented in Java.
Also where Microsoft is driving UWP into, C++ for kernel,
graphics and performance critical UWP components, and everything
else in .NET Native.
Even the UI team does their Fluent UI graphical effect demos in
C#.
--
Paulo