[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip / qa] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]


File: ansic.png (256 KB, 897x1161)
256 KB
256 KB PNG
It's been a while, so let's have a C thread.
Post what you're working on! Show what you're interested in!

WIKI: https://igwiki.lyci.de/wiki//chad/

Don't know how to write C? Start here:
K&R: https://files.catbox.moe/rfhegv.pdf
KING: https://files.catbox.moe/a875c2.pdf
Modern C: https://files.catbox.moe/xeb93p.pdf

Have an in-depth question, or deep wondering? Ask here, or see the standards:
C89: https://libgen.is/book/index.php?md5=12FCC3ACEBF54480768E7417485E802F
C99: https://libgen.is/book/index.php?md5=FF8DC9D8F109111A91A70CC29FB16168
C11: https://libgen.is/book/index.php?md5=4CC5C8494FDC76ECB56A927E802FF25E
C23: https://www.open-std.org/jtc1/sc22/wg14/www/docs/n3088.pdf
>>
>>103251344
bump
>>
Damn, seriously no C programmers today? Kinda sad desu, maybe Rust really is winning.
>>
>>103253764
the tragedy.
Its all hype driven development these days. People are learning programming languages that offer them a job, not out of passion. And it is the big corpos that offer them jobs and most of there are also web shitter roles. Since big corpos shill Rust, C#, Swift, Go, Java and what not for their own profit, all the new devs buy those ads and rant "C is useless. C is not memory safe. C is old. C is bad". Truly Epic.

Keeping that aside, I'm currently working on setting up a http authentication system using openssl and nghttp2. After that I'll try to implement async with nghttp2 for doing parallel requests. Not sure if I'll want to use libevent for that instead. gotta see.
>>
>>103254748
>C is useless. C is not memory safe. C is old. C is bad
I usually just ask these people how many cycles their code spends in memcpy. At first they never answer, and then they completely melt down. Ego defense mechanisms at their finest.
>>
>>103254748
>People are learning programming languages that offer them a job, not out of passion
passion doesn't pay the bills
if it did, i wouldn't need a 9 to 5; i could just make money by fapping to traps all day

anyway, i'm writing a little patch for Bash to avoid having to install direnv

when changing to a directory, if there is an .envrc file in the directory, it will read it and load any environment variables set in the file into the environment

upon changing directory again, it will unload the environment variables set from .envrc and check the new directory for another .envrc file
>>
File: normies_get_frustrated.png (77 KB, 1844x477)
77 KB
77 KB PNG
>>103254931
>passion doesn't pay the bills
It does. But you need to be good, and most people aren't.
>>
>>103254941
i dunno, i'm really good at fapping to traps
i have impeccable taste in boipussi
i'm a barely adequate C programmer, though
>>
>>103255041
Maybe you should find something that allows you to monetize your homosexuality. C won't.
>>
File: rustpride.png (850 KB, 1024x1024)
850 KB
850 KB PNG
>>103255133
Rust it is, then
after i finish my Bash patch
>>
File: dust_is_truly_garbage.png (471 KB, 1834x2781)
471 KB
471 KB PNG
>>103255216
Sure, enjoy mediocrity.
>>
>>103253764
It’s just like book authorship. The people that are really good at C are already gainfully employed and have no time to post about it let alone write books.
>>
File: compilers_are_garbage_3.png (192 KB, 1920x4120)
192 KB
192 KB PNG
>>103255245
Now you know why I only sleep four hours a day.
Praise be to hyperthyroidism.



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.