3 ms·
> Got mixed feelings on when to slam C or help its users out. All the same coin to me. Decry C, laud the tools that make it safer, and sympathize with the poo
by MaulingMonkey 10y ago
> Got mixed feelings on when to slam C or help its users out.
All the same coin to me. Decry C, laud the tools that make it safer, and sympathize with the poor bastards stuck with it all in one breath. I C++ for a living - you may pity me too. Games, you know.
> It might have effect of reducing number of people promoting safer C strategies.
It might have the effect of increasing the number of people promoting safer programming strategies. Maybe not contributing to the depressing statistics on buffer overflow CVEs by writing their startup's entire serverside stack in vanilla memory-unsafe C. Why, they could even use some kind of LISP variant...
(yes yes, here's some tinder, may any and all do with my strawman as they please...)
- nickpsecurity 10y ago" I C++ for a living - you may pity me too. Games, you know." I've had the displeasure of dealing with it myself. So, a little bit. It can give you a bit of extra safety and flexibility with acceptable performance. Side effect, as I noted for ZeroTier, is you forfeit almost all the static analysis, memory-safe compilers, and other goodies for C language. You're in the category that might benefit from experiments with Rust given it's the C++ competitor, but with more safety. Maybe those ridiculous bugs I see in AAA titles will go away without much extra QA. Nah, I'll be unlucky and they'll be algorithmic. ;) " Why, they could even use some kind of LISP variant..." That's so 90's. Next you're going to want them to try to round up all the hackers, programmers, and VC's on one discussion forum. Can't expect people to pull that kind of stuff off. Far as LISP, check out PreScheme: static LISP w/ manual, memory management and compiled to C at first. Got mathematically verified during VLISP project. Enhancement of that could do games or startups. (taps head) Actually, CARP Lisp is doing that with Rust-style safety if I recall. Has active contributors with an OpenGL snippet as demo: https://news.ycombinator.com/item?id=12039268 https://news.ycombinator.com/item?id=12039268