C lang logo

C lang

One of the most widely used programming languages of all time
13.7K
4.2K
+ 1
252

What is C lang?

C lang is a tool in the Languages category of a tech stack.

Who uses C lang?

Companies
1178 companies reportedly use C lang in their tech stacks, including Twitch, GitHub, and Telegram Messenger.

Developers
4968 developers on StackShare have stated that they use C lang.

C lang Integrations

Julia, WebAssembly, Nim, Conan, and KDevelop are some of the popular tools that integrate with C lang. Here's a list of all 31 tools that integrate with C lang.
Pros of C lang
68
Performance
49
Low-level
36
Portability
29
Hardware level
19
Embedded apps
13
Pure
9
Performance of assembler
8
Ubiquity
6
Great for embedded
4
Compiles quickly
4
Old
3
No garbage collection to slow it down
2
Gnu/linux interoperable
2
OpenMP
Decisions about C lang

Here are some stack decisions, common use cases and reviews by companies and developers who chose C lang in their tech stack.

Pablo Largo
Software Developer at AvaiBook · | 7 upvotes · 20.5K views
Needs advice
on
C langC langPHPPHP
and
WindowsWindows

Hi! I'm working on some components in PHP for system administration to be released as reusable packages, to build some kind of server control panel with some time and patience.

I'm working on a credentials component to check things like the current user running the PHP process, the ability to change the password (which I would do through a shell command), and a very important feature: the ability to login with OS credentials.

For that purpose I'm already considering LDAP, but I want to support first an easy setup, like I would do for a small VPS. I want to login to my future panel with my Linux root credentials. This is very easy by parsing the /etc/passwd and /etc/shadow files, but I want to be multiplatform from the beginning.

How could I check a username/password in a similar way to login on Windows without having to configure Active Directory and similar things? I allow myself to use FFI to make external calls to native DLLs, so if the answer is on a Windows internal API it will not be a problem.

So, here is the question: is there any shell/C /C++ way to check if a given username and password matches a real Windows credential? Is there any way to check if that account is a root user? Thank you so much!

EDIT: If there's not any API to check a login, could it be done through reading the hashed password of a user, and hashing the provided one to check if they match? If so, how can you get the hashed password of a user, and how can you encode a password to compare both hashes?

See more
Needs advice
on
C++C++
and
Node.jsNode.js

I want to make a website but im learning C and C++, and i dont know what language should i use.

See more
Needs advice
on
AngularJSAngularJSFlutterFlutter
and
IonicIonic

Hi, I am currently doing my Final Year Project for uni. Basically, I would like to build an android mobile application that has features such as translation from picture to text to synthetic speech (using google cloud API) and also integration with other IoT devices and Google AIY Voice Kit. I am wondering which framework will be best to use.

As for language, I have some experience with HTML, JavaScript, PHP, MySQL from creating a website for a school project and also very basic experience with Python and C. I have to complete this project by February. Hope I can get some help. Thank you in advance!

See more
Needs advice
on
SpringSpring
and
Spring BootSpring Boot

Hello Guys

I am a newbie here and not very well experienced with different stacks. I have primarily programmed in C lang/C++ and am somewhat proficient in it.

I am now considering taking up Spring as a new framework to learn to get into Web dev as I know a little Java. But I have concerns about choosing it and am confused with JavaScript frameworks.

Could you please tell me which stack should I choose from?

See more
Needs advice
on
C langC langJavaJava
and
PythonPython

Actually, I'll add, C++ and C# as well.

Well, I'm into Computer Science since 1996, so I understand a bit of everything plus a lot of different OSs, I study 10 hours per day every day. However back in the 90s we didn't have books or universities about programming, all were passed through if you knew somebody in that profession. Which I did and in that time, he showed me .NET and MySQL, and that offered a lot of jobs also Java. Today you have a lot of options but I'm already discarding new languages as I believe they will jot succeed.

My always dream was to create game, and software. I don't understand all programming concepts and I'm studying all languages at the same time, so I'm heavy loaded. But that keeps me more aware.

I made a choice: use Python for everything but if you want performance, apps, security, compatibility, Multiplatform. What should I choose? The real question here is: which language should I go 100% and that language will teach me all I need about programming BUT without getting lost in that language forever (I discard any Assembly possibility) and one that has full documentation, support and libraries.

In my experience: I found a lot of info for python and java. But hardly I have ever found anything for C lang, C++ and, what about C# (it's only for Windows, is it easy, I saw a lot of documentation). Thanks!!

See more
Needs advice
on
C#C#JavaJava
and
JavaScriptJavaScript

I studied C lang/C++ and G (lab view) for 2 years at my previous university, the university where I study now teaches me C#, I am interested in web development (frontend and backend), embedded (for the Internet of Things, for Arduino), mobile development (Android, iOS), game development, The science of data and ML. I studied mathematics (discrete mathematics, analytical geometry, mathematical analysis).

I ask the developers for advice: what should I learn to be able to do everything I want (websites, games, drivers, sockets, desktop applications and others)?

I am looking for a universal solution, and I am limited in training time, and the number of vacancies is also important.

P.S. I used Google translator

See more

Blog Posts

C lang Alternatives & Comparisons

What are some alternatives to C lang?
Java
Java is a programming language and computing platform first released by Sun Microsystems in 1995. There are lots of applications and websites that will not work unless you have Java installed, and more are created every day. Java is fast, secure, and reliable. From laptops to datacenters, game consoles to scientific supercomputers, cell phones to the Internet, Java is everywhere!
Python
Python is a general purpose programming language created by Guido Van Rossum. Python is most praised for its elegant syntax and readable code, if you are just beginning your programming career python suits you best.
C#
C# (pronounced "See Sharp") is a simple, modern, object-oriented, and type-safe programming language. C# has its roots in the C family of languages and will be immediately familiar to C, C++, Java, and JavaScript programmers.
Objective-C
Objective-C is a superset of the C programming language and provides object-oriented capabilities and a dynamic runtime. Objective-C inherits the syntax, primitive types, and flow control statements of C and adds syntax for defining classes and methods. It also adds language-level support for object graph management and object literals while providing dynamic typing and binding, deferring many responsibilities until runtime.
Rust
Rust is a systems programming language that combines strong compile-time correctness guarantees with fast performance. It improves upon the ideas of other systems languages like C++ by providing guaranteed memory safety (no crashes, no data races) and complete control over the lifecycle of memory.
See all alternatives

C lang's Followers
4174 developers follow C lang to keep up with related blogs and decisions.