Skip to main content

dev-c

Dev C Articles

  • 2022-03-05 Beginner's Guide to Linkers

    This article is intended to help C & C++ programmers understand the essentials of what the linker does. I've explained this to a number of colleagues over the years, so I decided it was time to write it down so that it's more widely available.

  • 2022-11-28 Everything I wish I knew when learning C - Tom M

    Learning C was quite difficult for me. The basics of the language itself weren’t so bad, but “programming in C” requires a lot of other kinds of knowledge which aren’t as easy to pick up on:

    • C has no environment which smooths out platform or OS differences; you need to know about your platform too
    • there are many C compiler options and build tools, making even running a simple program involve lots of decisions
    • there are important concepts related to CPUs, OSes, compiled code in general
    • it’s used in such varied ways that there’s far less a centralised “community” or style than other languages

Dev C Tools

Dev C Libs

C language development

  • 2022-03-05 Cello • High Level C

    Cello is a library that brings higher level programming to C. New C syntax for New Era!

#include "Cello.h"

int main(int argc, char** argv) {

/* Stack objects are created using "$" */
var i0 = $(Int, 5);
var i1 = $(Int, 3);
var i2 = $(Int, 4);

/* Heap objects are created using "new" */
var items = new(Array, Int, i0, i1, i2);

/* Collections can be looped over */
foreach (item in items) {
print("Object %$ is of type %$\n",
item, type_of(item));
}

/* Heap objects destructed via Garbage Collection */
return 0;
}
  • 2022-03-16 libmill Libmill is a library that introduces Go-style concurrency to C
go(foo(arg1, arg2, arg3));
chan ch = chmake(int, 0);
chan ch = chmake(int, 1000);
chs(ch, int, 42);