Tech news from Canada · @TechNews
981 followers · 26386 posts · Server mastodon.roitsystems.ca
Jamie · @suprjami
229 followers · 730 posts · Server fosstodon.org

A Perlin noise terrain generator in C and Curses. This has been fun.

#roguelike #roguelikedev #cprogramming

Last updated 2 years ago

Jamie · @suprjami
225 followers · 709 posts · Server fosstodon.org

I love and actually looks pretty good too!
youtu.be/kxT8-C1vmd4

#cprogramming #zig

Last updated 2 years ago

N. T. Crotser 🔜 VCFMW · @ntcrotser
24 followers · 191 posts · Server social.linux.pizza

Ugh, that was a lot of effort learning a whole bunch of stuff I am unfortunately unlikely to retain. System Sizer has a GUI now, no longer trapped in CLI land.

I'm out! :win3_shut_down:

#cpp #linux #programming #qt #qt5 #cprogramming

Last updated 2 years ago

Paul (Goto 10) · @lefebvre
287 followers · 517 posts · Server hachyderm.io

As much as we love , we've always felt the lack of a convenient feature in the language. Yet, many compilers allow to implement such feature with relatively little effort.

So, @micia thought to share such implementation, and our point of view on the subject, in a article.

We’ll be glad to hear your feedback and suggestions before we publish it on our website.

codeberg.org/1414codeforge/art

#c #raii #cprogramming #programming #software

Last updated 2 years ago

As much as we love , we've always felt the lack of a convenient feature in the language. Yet, many compilers allow to implement such feature with relatively little effort.

So, @micia thought to share such implementation, and our point of view on the subject, in a article.

we’ll be glad to hear your feedback and suggestions before we publish it on our website.

codeberg.org/1414codeforge/art

#c #raii #cprogramming #programming #software

Last updated 2 years ago

1414 Code Forge :it: · @1414codeforge
181 followers · 983 posts · Server mastodon.uno

Il ci piace, ma sentiamo spesso la mancanza di un meccanismo di nel linguaggio. Per fortuna, molti compilatori consentono di implementarne uno con relativamente poco sforzo.

Perciò il buon @micia ha pensato di buttare giù un articolo per mostrare come farlo e spiegare il nostro punto di vista.

Qualcuno abbastanza volenteroso da condividere commenti e dirci se abbiamo sbagliato nulla, prima di pubblicarlo sul nostro sito?

codeberg.org/1414codeforge/art

#c #raii #cprogramming #programming

Last updated 2 years ago

mxk · @mxk
502 followers · 4328 posts · Server hachyderm.io

It's 2023 and there are still buildsystems, which do not warn about a empty list of source files as input.
If my glob does not match anything, I probably want a warning and not an empty shared library as output.

#workwork #cprogramming

Last updated 2 years ago

Today our community wants to share a minimal lightweight threading support *dfthread* (an inspired name, isn't it ;) ).

It mostly shares the same functionality of threads.h (en.cppreference.com/w/c/thread), from the standard, which is often and sadly overlooked in practice in our opinion.

codeberg.org/1414codeforge/dft

#library #c11 #c #programming #software #cprogramming #code

Last updated 2 years ago

Kakurady · @kakurady
248 followers · 155 posts · Server fursuits.online

@tilton you need to know that modern (post-2015) C++ is not like C. While much of C syntax is still accepted, don't write C in C++ unless you're interfacing with legacy code. In particular, avoid managing memory yourself, use containers and local variables instead.

On that note: C is not a "portable assembler", think of it as running on a VM that's just really good at generating code—the VM behavior (or "abstract machine") may or may not match your hardware.

#cplusplus #clanguage #cprogramming

Last updated 2 years ago

Lorenzo Cogotti · @micia
86 followers · 43 posts · Server mastodon.uno

Siamo agli ultimi ritocchi per un'altra libreria che sto covando da un bel po'.

dfstream, la soluzione in ogni mio progetto quando si tratta di leggere dati compressi.

Stavolta ho aggiunto la compressione zstd... andrà testata per bene, però. 😅

codeberg.org/1414codeforge/dfs

#c #cprogramming #foss

Last updated 2 years ago

1414 Code Forge :it: · @1414codeforge
179 followers · 965 posts · Server mastodon.uno

Eccoci di nuovo!

Portiamo con noi una nuova libreria : dfthread

Si tratta di una leggera e portabile che fornisce le primitive base per il multithreading.
Contiene grossomodo le stesse funzionalità dell'header threads.h(en.cppreference.com/w/c/thread) standard C11... che sfortunatamente non implementa quasi nessuno 🙄

Per sostenerci e darci la possibilità di creare nuovi progetti: ko-fi.com/1414codeforge

: codeberg.org/1414codeforge/dft

#c #libreria #cprogramming #programming #foss #opensource #codice

Last updated 2 years ago

Lorenzo Cogotti · @micia
87 followers · 38 posts · Server mastodon.uno

Finalmente mi son deciso a pubblicare una libreria per il multithreading che tenevo in serbo da mesi -_-"

codeberg.org/1414codeforge/dft

È praticamente la thread.h standard C11...

en.cppreference.com/w/c/thread

Quella che nessuno implementa (se non musl(musl.libc.org)), e
quella che lo standard stesso considera opzionale...

È una semplice libreria statica molto leggera, che implementa funzionalità minima per thread e sincronizzazione 🙂

#c #cprogramming #programming

Last updated 2 years ago

sourcerer · @sourcerer
12 followers · 151 posts · Server fosstodon.org
Baillehache Pascal · @baillehache_pascal
4 followers · 44 posts · Server hachyderm.io

Still using my tool to generate calligraphy, I've made a map for the Gion Matsuri parade (in two weeks in Kyoto). I hope it may be useful to some of those who plan to enjoy the festival.
More info and higher resolution on my website: baillehachepascal.dev/2023/gio

#cprogramming #procedural #generation #japanese #calligraphy #rendering #gion #kyoto #japan

Last updated 2 years ago

1414 Code Forge :it: · @1414codeforge
174 followers · 951 posts · Server mastodon.uno

#cprogramming #c

Last updated 2 years ago

sourcerer · @sourcerer
6 followers · 103 posts · Server fosstodon.org

/ journey continues.
I'm not sure what helped me to set toolchain.

I installed gcc-toolchain, tried to compile random code and i get error 'ld: cannot find crt1.o: No such file or directory' etc.
So, i installed binutils but still same result.

Then, i typed following:
GUIX_PROFILE="/home/sourcerer/.guix-profile"
and...
. "$GUIX_PROFILE/etc/profile"
now, everything works.
I'm supposed to keep these in .bashrc? still kinda confused.

#gnu #guix #cprogramming

Last updated 2 years ago

Baillehache Pascal · @baillehache_pascal
4 followers · 42 posts · Server hachyderm.io

New article on my website about my work on simulation of Japanese calligraphy, with a link to a formal article describing in details how I did it.

baillehachepascal.dev/2023/jap

#cprogramming #procedural #generation #japanese #calligraphy #rendering

Last updated 2 years ago

sourcerer · @sourcerer
1 followers · 10 posts · Server fosstodon.org

If you are on Gentoo and looking for "GNU C Language Intro and Reference Manual", you can emerge app-doc/gnu-c-intro-ref and then type info in terminal emulator, type / to search "Programming".

#cprogramming #gentoo #learning #howto #gnu #linux

Last updated 2 years ago