#C Language
Explore tagged Tumblr posts
Text
Ubuntu to Explore Rust-Based “uutils” as Potential GNU Core Utilities Replacement
14 notes
·
View notes
Text
Writing a programming language in C. How is this syntax:

Join the discord server, I will be posting updates and asking for suggestions and providing beta builds: https://discord.gg/JxnKn9jd
#compblr#codeblr#progblr#programming#programmer#software engineering#code#developer#c#c language#programming languages
55 notes
·
View notes
Text
What is the code that can be seen from April's assignment in The Purple Jacket?
I looked into it, because I wanted to know if it was just gibberish pseudo-coding or if it was actually something.
Here's the answer:
The language is C.
It's a very generic code.
The part that can be seen in the clip serves to allocate memory to go through a list of groups. (The rest is missing.)
It is an excerpt of Linux kernel code. It is from the function groups_allocate within the groups.c unit. It allocates memory of the proper size so it can be filled with the result of a group info query.
Furthermore, the code is featured on Hackertyper. The producers likely took a screenshot of that website to use as generic source code for that scene.
#“i looked into it” actually means “I asked my brother”#tmnt#rottmnt#tmnt donnie#tmnt april#tmnt details#tmnt easter eggs#rottmnt easter eggs#contribution#code#coding#c language#coding in medias
58 notes
·
View notes
Text
I decided to sit my ass down and learn what a linked list is finally 🫣
It was shockingly uncomplicated 💀
I ended up implementing my own doubly linked list for integers in C and it was super helpful for understanding the data structure as well as a nice reminder about using pointers and manual memory allocation.
Of course, I wrote a few functions to do the following:
- Add to start of list
- Add to end of list
- Remove from start of list
- Remove from end of list
- Delete specific value
Of course, there's much more I can do, but I'm happy with where I'm at so far. Definitely a good exercise to get back into things before uni starts properly 😁
75 notes
·
View notes
Note
hello! i'm a new college student, and the syllabus says c and java are the languages they'll teach in the first two semester. could you direct me to some resources or someone who could help if you're not interested? no pressure, thank you!
hey! i'm unsure how helpful my advice will be because i've only dabbled in c and java, but i can certainly point you in the right direction. i know how much of a pain searching for beginner-friendly resources can be. good luck in your studies, and welcome to college!
GENERAL:
there are a lot of community-curated resources in the tag awesome-list on github. check it out here, and have fun going through them all because you'll never escape
w3schools is great for referencing
this basically gives you the equivalent to a bachelor's degree in computer science and is completely free
freecomputerbooks has a c and java language category. i can't recommend you specific books though
i only discovered wikiversity was a thing when i became an adult, which is a right shame. there's free courses for computer science and information technology
C LANGUAGE:
harvard has an online course called cs50 you can find for free on freecodecamp's youtube channel (the cs50 website also includes notes for the course). it introduces computer science (and the basics of c) pretty nicely
wikiversity's "C Programming" and its wikibook companion
freecodecamp's "C Programming Handbook for Beginners"
if you ever get confused about pointers: A Tutorial on Pointers and Arrays in C
commonly asked c programming questions & answers are in this FAQ
the article "What A C Programmer Should Know About Memory" (a bit more intermediate)
JAVA LANGUAGE:
the wikibook "Java Programming"
wikiversity's java portal has links to both internal and external java resources. i'd recommend looking through it
freecodecamp's "The Java Handbook – Learn Java Programming for Beginners"
freecodecamp's online course "Java Programming for Beginners"
dev.java's "Learn Java"
the free training course offered by oracle
if anyone else has anything to add, feel free to chime in! i hope this helps :)
18 notes
·
View notes
Text
Learning any programming language from scratch is deeply confusing, it's really just like being an alien trying to understand the whole world and navigating through Wikipedia pages to do so
#progblr#programming#codeblr#c language#its like there is MORE to know about?? it just never ends#its hard to focus i feel like i have adhd when i'm in the thick of it
16 notes
·
View notes
Text
every time I think C is done being hackishly cursed (affectionate) something else comes along. today it's shift/pop_left macro. array decays to ptr, increment takes precedence over dereference, ensuring it incs the ptr and not the value, and post-inc ensures deref happens on the old value. and it's a macro bc arrays aren't first-class and templates don't exist. stupid language and I love it
6 notes
·
View notes
Text
Zoey's YouTube! 🐝💗
youtube
Just wanted to promote @zoeythebee's videos she's made recently since I have been watching them and enjoying them! They're doing a series on programming a physics engine in the C programming language~!
Now I have zero knowledge of the C language but it's still cool for me to see her trying to code and explain what she's doing! I
If you haven't already, I highly recommend visiting @zoeythebee's profile and diving into their video series! ヽ(‘ ∇‘ )ノ
The video above is episode 1, here are the rest so far:
episode 2
episode 3
Have a nice day! 🐝🙌🏾💗
#codeblr#coding#programming#progblr#c programming#c language#youtube videos#well done Zoey!#comp sci#programmer#tech#Youtube
56 notes
·
View notes
Text
i’m playing with C these days and wanna try some (fun) beginner project.
here, abzu basking shark gif for your attention
19 notes
·
View notes
Text
Do any of y’all know how to code in C, I need help
I have this stupid fucking zybooks due in 2 hours and I can’t figure it out + I have other hw
24 notes
·
View notes
Text
day 10/100
today was my first day (well not technically first because i started this forever ago and only finished week 0 lmao) doing cs50!! as i said, i completed the week 0 exercises a while ago and i also am very familiar with scratch and how it works, so i figured it wouldn't be a huge deal to move straight into C. honestly, i thought it would be more confusing but it's not quite as bad as i thought yet. i like how straightforward and specific it is, even if it is a little roundabout at times.
the lecture i watched today taught me about basic syntax, function libraries (and how to create your own), conditionals, variables, loops, and some basic terminal commands <3
#im feeling really motivated now that im a bit less busy#and im super excited to work on the practice problems for this lecture#which is not typical for me to be excited about homework lmao#100 days of code#codeblr#studyblr#progblr#c language
26 notes
·
View notes
Text
Visual guide on how memory allocation works:
104 notes
·
View notes
Text
Okay, fine, we'll TALK about Nouveau Thuille...
Nouveau Thuille is a city settled in a fertile valley under the Upper Continent run by a collection of mafia-like families -- and of those, there are four (kinda) primary House with the most influence:
House d'Magnia — The Spec Ops & Research
House d'Aramitz — The Military & Production
House d'Fealtoire — BIG old money folks
House d'Romanach — The Factory Workers & Agriculturalists
House d'Solais (Deceased) — The local-equivalent of King Arthur's house
The nobles collectively tell the people that they are holding power until their Emperor Under the Mountain, the Once and Future Emperor, Riavh Solais, returns to lead the world to eternal peace. And they definitely all believe that and it isn't propaganda. Definitely. 🙂
Anyway, without a very clear central authority, there are functionally no laws for nobles or those affiliated with them -- this includes this like murder and using corpses for science experiments and so forth. And so... there are basically laws for no one, because even the commonfolk farmers will pay taxes to (read: Get extorted by) at least one of the nobles families. That being said, you cannot be SEEN just MURDERING PEOPLE in the streets. You have to SEEM respectable. Openly murdering or kidnapping or robbing people? That's uncouth and you're properly stupid and dangerous if you can't HIDE your crimes. So, perhaps it's better to say, "There are no laws if you don't get caught breaking them."
Somehow, despite this relative anarchy and decentralized government, technology advances steadily. (Probably because competition between the Houses has led to growth!) And, recently, increased contact with the South has led to rapid industrialization over the last 50ish years here, which has led to the creation of a middle class. House d'Magnia and House d'Romanach both appeared into the last three or four generations or so.
So, with all that said, let's get into the thing WE ALL CARE ABOUT the most: What do people even EAT? Here's just a handful of foods:
- Stroganina -- Cut frozen fish into strips, eat raw
- Salmon Roe
- Frozen Rumateur Liver -- Freeze a Rumateur lamb liver, eat raw
- Eider Foie Gra -- (Force) feed an eider a diet of mostly black pine nuts, blood, and meat scraps, kill it at a year old, fry the liver on a rock slab, salt and top with thyme
- Rumateur jerky
- Rabbit Stew -- Every family has a unique stew recipe.
- Frozen Cream -- Rumateur cream is whipped and mixed with wild berries frozen or dried from the summer
- Bechamel Sauce -- Butter, barley flour, warmed and whipped. Add salt or honey for different flavors, frequently put on bread
- Barley Bread -- Both risen and flattened
- Fermented Rumateur Milk -- Has a vodka/soda like taste, sometimes warmed before drinking
- Barley-based Beer
- Rumateur Tongue Sandwich -- Traditionally on a barley bread bun with rumateur cheese, Tongue is grilled, roasted, or fried in lard, Lightly salted, sometimes dusted with thyme, sometimes eaten with bechamel sauce
- Barm Cake
- Blood pudding
- Scrap Meatloaf -- Made of scraps of meats from other meals, ground up, frozen into a cube, and then fried in lard
- Honey Mead
- Berry-Wines/Champagne/Ciders -- Every family has unique fermenting process for their Wild Berries
The Evolution of Theatre in Nouveau Thuille
This might seem random but hear me out: What could be more important to a culture than HOW THEY TELL STORIES about themselves?
See, for the longest time, across the North, they would tell stories of legendary figures, animals (particularly seals), and stock characters in song-form -- with funny voices for each of the characters. Sometimes puppets would be involved, particularly with children.
Then, around the time of Riavh Solais, the oral tradition just evolved to have more specific forms of songs -- and more people were expected to learn to sing songs or at least have their own, unique verse to a song -- but the melodies became more standardized, as a means of telling history. Character voices and accents became very specific, and some costumes became iconic. However, sorta like Opera, you didn't have to move around -- you just entered, exited, maybe even only stood up and sat down, and sang/played your instrument to play your role -- maybe with some, minor hand gestures or props. This means that they often explicitly said what they were doing, rather than demonstrating.
Today in Nouveau Thuille, shadow plays are popular -- typically set to music, sometimes with the help of tiny music boxes that cast shadows -- but dolls are considered crude and for children. This evolved into shadow dances briefly before just becoming actual dances, set to music, with poetry being recited -- sometimes by the actors themselves but usually by the chorus or the musicians. But the body language -- intended to be slightly stylized but with realistic facial expressions (much like their paintings being stylized but leaning towards realism these days) -- is supposed to do most of the work. And sometimes, there will be extended periods of no-speaking, only dance, and music.
These are performed in people's homes or the streets, but special effects in Ysse contraptions, alchemy, and other such special effects are used to enhance the performance and Nobles particularly are expected to tip to learn the secrets of how it was done -- and so, theatre is just an extension of the industrial military complex.
Nouveau Thuillean Language
For all 2 of the Conlangers who follow me (unless you've come over from YouTube... in which case, hello all ~650 of you lol), Nouveau Thuillean is intended to look and sound Franco-Irish. It has two grammatical genders (Normal or Transcendent), a definitive and subjunctive mood, and special Timeless conjugation -- for things that are happening regardless of time.
Since I have a whole language breakdown on my website, I won't dig into it here but here's just some sample sentences for you:
If you had loved me, none of this would have happened! = The ev'vatoirias eu, flavon s'de eblivui. I hear the call of the Abyss. (I.e. I feel self-destructive, I want to do/know something that will hurt me. "Call of the void" refers to something that will hurt you but you MUST do) = Nenne theillan d'flavoneisse. It's a flower. (i.e. It's really simple/easy.) = Zaira peo.
AND WITH THAT, I will leave you for the day. This was such a long post lol and I didn't even cover everything XDDDD
#fantasy city#noble houses#conlang#conlanger#c language#fantasy food#fantasy art#writerslife#fantasy writing#worldbuilding#mafia#writerblr#writing#Yssaia#Amaiguri
25 notes
·
View notes
Text
i spent the last two days making a compatibility layer-ish thing for running simple c programs with rlgl on wasm, without having to use a fucking 1.2GB compiler
but neocities doesn't allow wasm files, so i'll have to host that externally,, on github pages perhaps??
9 notes
·
View notes
Text
Should I actually make meaningful posts? Like maybe a few series of computer science related topics?
I would have to contemplate format, but I would take suggestions for topics, try and compile learning resources, subtopics to learn and practice problems
#computer science#embedded systems#linux#linuxposting#arch linux#gcc#c language#programming#python#infosecawareness#cybersecurity#object oriented programming#arduino#raspberry pi#computer building#amd#assembly#code#software#software engineering#debugging#rtfm#documentation#learning#machine learning#artificial intelligence#cryptology#terminal#emacs#vscode
4 notes
·
View notes