You are viewing a single thread.
View all comments View context
7 points

Anything that is drop-in replacement for C (or C++ for that matter) is going to be awful because of the same compatibility burden, imo

permalink
report
parent
reply
2 points

D is a mostly drop-in replacement (type renaming and such needed though), and it doesn’t have that issue. D even has a mode called BetterC, where the D standard library and the garbage collector is left out.

permalink
report
parent
reply
1 point

What about Zig?

permalink
report
parent
reply
1 point

I was planning to check it out, but don’t have any experience yet. I thought it is more of a replacement than drop-in replacement, I may have been wrong

permalink
report
parent
reply
3 points

Oh boy, Zig is just uglier C++ with memory safety, and it still has those awful header files…

permalink
report
parent
reply
0 points

IIRC it’s garbage collected, so really it’s just a version of Java.

permalink
report
parent
reply

Programmer Humor

!programmer_humor@programming.dev

Create post

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

  • Keep content in english
  • No advertisements
  • Posts must be related to programming or programmer topics

Community stats

  • 3.3K

    Monthly active users

  • 806

    Posts

  • 12K

    Comments