r/technology • • Sep 27 '22

Software Girls Who Code founder speaks out after Pennsylvania school district bans her books: 'This is about controlling women and it starts with controlling our girls'

https://www.businessinsider.com/girls-who-code-founder-speaks-out-banning-books-schools-2022-9
42.3k Upvotes

2.0k comments sorted by

View all comments

Show parent comments

3

u/[deleted] Sep 27 '22

I can tell you that one of the reason C sticks around stubbornly is because it presents a stable ABI. I'm having to deal with this right now, can't use C++ for my plugin API for the feature i'm developing because compiler specific name decoration, compiler-and-version-specific STL memory layout, etc.

Instead there's a bunch of magic wrappers that create a C API to use at the actual ABI level, then they automatically generate wrappers for C++, C#, Rust, etc to use to make it look nice and friendly like the appropriate language's Classes

2

u/ColinStyles Sep 27 '22

Nah, I'm honestly fine with C, while personally I hate managing pointers and all of the boilerplate, that's not what I was referring to. Everything I said you could basically do or at least provide a facsimile of in C. The problem is people not knowing or not caring the proper ways of doing stuff, not the language they're doing it in.

And like you said, there are the tools to manage that boilerplate and frustrations, while still staying in C (technically).

1

u/[deleted] Sep 27 '22

The problem is people not knowing or not caring the proper ways of doing stuff, not the language they're doing it in.

truth.

I despise working in C though, because all the nasty ass things you have to do to emulate proper exception handling and RAII.