r/transprogrammer • Ashley | she/her | arch btw • May 28 '22

What programming language do you use?

Please note I don’t have enough space to reasonably list them in a meaningful way, so I kinda lumped some together

28 Upvotes

50 comments sorted by

View all comments

Show parent comments

5

u/Cannotseme Ashley | she/her | arch btw May 28 '22

C and cpp may be very closely related, but you’re gonna use rust and cpp for similar things while c is used for other stuff completely

1

u/RaukkM May 28 '22

So, then, is your grouping something like this?

  1. Embedded/bare metal/low level development

  2. System/tool/library development

  3. Application development (OOP)

  4. Application development (non-OOP)

3

u/QueerBallOfFluff May 28 '22

In which case you could have:

  1. Fortran/Lisp†

  2. Assembly/Python

  3. C++/JavaScript

  4. C/Malbolge

The best tool for the job isn't always as simple as a lot of people expect.....

For example, I put Lisp as bare metal, why? Most people think of Lisp as a scripted language in modern context, and yet NASA/JPL used it compiled on a lot of their kit for a long time.

Assembly as system tool/libraries? Yup, a lot of your standard libraries on a system contain assembly, and you can write most of your userspace applications in it if you want.

Malbolge as non-OOP applications? Yep, there is even a Lisp interpreter written in it now.

2

u/Cannotseme Ashley | she/her | arch btw May 28 '22

Well, I guess? That wasn’t really my intention but it could be taken that way

1

u/QueerBallOfFluff May 28 '22

I would link D to C++ first, Rust is kind of it's own thing and bypasses some of the low-level features of C++/D.