Tag c
31 bookmarks have this tag.
31 bookmarks have this tag.
Rob Pike's notes from 1989. Some of these recommendations are still found in modern Go recommendations.
If strcpy is not easily replaced with memcpy then the code is
fundamentally wrong. Either it’s not using strcpy correctly or it’s
doing something dumb and should be rewritten. Highlighting such problems
is part of what makes memcpy such an effective replacement.
Strict guidelines!
Fighting the undefined behaviors.
Сравнение частых паттернов в си и ди. Ди получше получается.
TIGR - the TIny GRaphics library for Windows, macOS, Linux, iOS and Android. - erkkah/tigr
Aika is a repository of mine dedicated to Arvelie and Neralie utilities, in an effort to make these time systems more accessible.
BSD, C, httpd, SQLite: an open software stack for web applications
Classic MacOS & GS/OS widget library for linux (and other?) - buserror/libmui
Replacing all magic numbers with variables/constants is not always good. Think.
Ken describes how he injected a virus into a compiler. Not only did his compiler know it was compiling the login function and inject a backdoor, but it also knew when it was compiling itself and injected the backdoor generator into the compiler it was creating. The source code for the compiler thereafter contains no evidence of either virus.
A small C compiler… for uxn.
Why in C = means assignment
Кому хочется впихнуть как можно больше, могут взглянуть на "Hello, world" в ELF всего 114 байт (это я знаю достаточно давно). А вот сегодня встретил компиляторы с Forth, Lisp и C всего 512 байт!
https://github.com/cesarblum/sectorforth
https://github.com/jart/sectorlisp
https://github.com/xorvoid/sectorc
Прикольный сабсет C, который вмещается в бут-сектор. Евгений хороший цикл заметок написал.
Initially, I did not want to save this article, but 4 months later I wanted to share it. I guess it only makes sense to save it here, for the next 4 months.
long long does not exist there! It is all extensions.
What does it take to bring functional programming to a stack-based assembly language?
About nito, 181.
nito, a proof-of-concept compiler from Uxntal to C
It is written in Raku!
An overview of Holy C, the programming language for Temple OS.
Dusk OS is a 32-bit Forth and big brother to Collapse OS. It does everything Collapse OS does, has the same laser sharp focus on simplicity, but has a widened scope