News for hackers. Stuff that matters.
Re:Apple is looking for engineers to convert its code from C... by dep_b on Saturday March 21, 2020 @07:40AM (#22645870)
> There's nothing sad about it.

Why? It's a drop-in replacement for Objective-C that allowed you to dip into C and C++ code in the same code file, even in one function.

Now Swift is faster for most higher level scenarios a front-end developer deals with but it's slower than the C performance Objective-C allowed.

Re:Apple is looking for engineers to convert its code from C... by abjKT26nO8 on Saturday March 21, 2020 @08:53AM (#22646181)
I.e. it isn't a drop-in replacement. There is nothing wrong about a language not being good at something. When you want to have everything, you get C++. And working with C++ is just sad.
Re:Apple is looking for engineers to convert its code from C... by rumanator on Sunday March 22, 2020 @07:43AM (#22654270)
> you want to have everything, you get C++.

C++ is an excellent example on the perils of developing a tool that's good at everything, because the cognitive load to do anything with it is simply not manageable.

Picking the right tool for the job is always the solution.