News for hackers. Stuff that matters.
Re:Qt Creator 4.6 Beta Released by skrebbel on Thursday February 08, 2018 @09:28AM (#16332185)
Nim is perfectly good for embedded. Also, GC is fine for the vast majority of systems programming. Finally, lots and lots of embedded programming doesn't need to be hard real-time. I'd wager that the majority of embedded projects are in C++ not because of any technical requirement but because the people in the field know only 1 language. (Note: I already addressed OS-less microcontroller programming in my top comment.)

I agree that I was wrong about gamedev, in the sense that popular game engines are also, currently, written in C++ (so play a role in keeping C++ alive by legacy, just like Qt does)

Re:Qt Creator 4.6 Beta Released by planteen on Thursday February 08, 2018 @10:00AM (#16332390)
> Also, GC is fine for the vast majority of systems programming. Finally, lots and lots of embedded programming doesn't need to be hard real-time.

Even soft real-time can be difficult with a GC in my experience. You end up doing all kinds of hacks to workaround the GC.

Re:Qt Creator 4.6 Beta Released by pjmlp on Thursday February 08, 2018 @12:58PM (#16334075)
Have you experience with the likes of PERC, JamaicaVM, WebSphere Real Time?
Re:Qt Creator 4.6 Beta Released by planteen on Thursday February 08, 2018 @01:30PM (#16334344)
No, I haven't, and I am sure it is possible to do reliable real-time with those. It looks like all of those are commercial solutions (no open source).

I remember reading a paper about the IBM implementation (I assume that it turned into WebSphere). If I remember correctly, you still need to do some memory management like allocations up front compared to a "normal" Java program. Those guidelines seem a lot like what game programmers in Java end up doing.

I remember in college for a project that a team did a ping-pong playing robot in Java. It worked fine for maybe ~15 seconds then suddenly froze for a GC pause.