Re:Green vs. Brown Programming Languages
by pjmlp on Friday April 23, 2021 @02:43AM
(#26911687)
This has been solved since Common Lisp using resource managment macros and similar approaches used by modern lacks.
What Go defer lacks, is the ability like e.g. .NET with IDispose, where I can make of Roslyn Analyzers to break builds when I forget to call using on such resources.
Rust is a good option for kernel code and drivers, beyond that there is no point in throwing away the productivity of having a GC around.
What Go defer lacks, is the ability like e.g. .NET with IDispose, where I can make of Roslyn Analyzers to break builds when I forget to call using on such resources.
Rust is a good option for kernel code and drivers, beyond that there is no point in throwing away the productivity of having a GC around.