News for hackers. Stuff that matters.
Re:On Apple's Love Affair with Swift by kartan on Saturday August 11, 2018 @10:22PM (#17742607)
> If a bug is allowed, someone will perpetrate it sooner or later. Sacrificing correctness and safety for the speed and complicity of C is not a valid tradeoff for the industry in my opinion.

It depends on what you are building. For an app it is not a big deal to be slower. But you will not write a kernel in Swift as you will lose performance all over the place.

Python/Javascript/Lua are used as scripting languages to create video games. But the 3D engines are written in C or C++.

Each tool has its use.

Re:On Apple's Love Affair with Swift by pjmlp on Sunday August 12, 2018 @12:47PM (#17745179)
> But you will not write a kernel in Swift as you will lose performance all over the place.

That used to be the argument against C and C++ in the 80 and 90's regarding 16 bit home computers.

Any serious developer would know that Assembly was the only proper way to write software that required real performance.

Yet a couple of decades later.

> But the 3D engines are written in C or C++.