Re: C and C-style C++
Libraries sit at the system level.
C++ is fine for software running on top of heap/MMU. Less so in the kernel/restricted memory.
I use Erlang/OTP. For its niche - distributed state - its great. But is a niche not a general purpose language.
Im looking at using Haskell for test/verification.
AS far as dynamic scripting being a security risk ..... nuts. You secure the application/system levels.