• 0 Posts
  • 2 Comments
Joined 1 year ago
cake
Cake day: July 10th, 2023

help-circle
  • If you don’t want memory-safe buffer overruns, don’t write C/C++.

    Fixed further?

    It’s perfectly possible to write C++ code that won’t fall prey to buffer overruns. C is a lot harder. However yes it’s far from memory safe, you can still do stupid things with pointers and freed memory if you want to.

    I’ll admit as I grew up with C I still have a love for some of its oh so simple features like structs. For embedded work, give me a packed struct over complex serialization libraries any day.

    I tend to write a hybrid of the two languages for my own projects, and I’ll be honest I’ve forgotten where exactly the line lies between them.


  • Ugh, Gnome 3… I used to be all in on Gnome, then went to Mate after the Gnome Shell days. Last year I came full circle to KDE and for whatever reasons I had to dislike it in the past, KDE Plasma is a damn good environment these days.

    Gnome used to be better for being simple and effective. Now you have to tweak it so much to get what you want, you might as well go with KDE.

    Qt feels more dominant in the cross platform space these days too, with more new projects choosing Qt over GTK