C23 chính thức giới thiệu kiểu boolean `bool` với `true` và `false` là từ khóa, thay thế hoàn toàn `int` cho giá trị luận lý. Đây là bước tiến lớn sau 51 năm chờ đợi, khắc phục vấn đề tương thích, kích thước và hành vi chuyển đổi không rõ ràng. `bool` giờ an toàn, rõ nghĩa và hoạt động tốt với `_Generic`. #C23 #bool #Boolean #CProgramming #NgônNgữC #LậpTrình #KiếnThứcC

https://dev.to/pauljlucas/bool-in-c23-4kj4

bool in C23

The new bool keyword in C23.

DEV Community
Using VSCode to Create a Commodore C64 BASIC Interpreter - The Oasis BBS

C64 BASIC Interpreter built in VSCode with Codex. Dave ports it to 2.11 BSD on a PDP-11 and fixes timing and TAB.

The Oasis BBS
🎩 Ah yes, the classic "I discovered something cool in C and now we're going to awkwardly jam it into Java" maneuver. 😂 Spoiler alert: it's a 14-minute read that will make you question life choices more than it will optimize your hash table. 🚀
https://bluuewhale.github.io/posts/building-a-fast-and-memory-efficient-hash-table-in-java-by-borrowing-the-best-ideas/ #CProgramming #JavaIntegration #LifeChoices #TechHumor #14MinuteRead #HackerNews #ngated
Building a Fast, Memory-Efficient Hash Table in Java (by borrowing the best ideas)

One day, I ran into SwissTable—the kind of design that makes you squint, grin, and immediately regret every naive linear-probing table you’ve ever shipped. This post is the story of how I tried to bring that same “why is this so fast?” feeling into Java. It’s part deep dive, part engineering diary, and part cautionary tale about performance work. 1) The SwissTable project, explained the way it feels when you first understand it SwissTable is an open-addressing hash table design that came out of Google’s work and was famously presented as a new C++ hash table approach (and later shipped in Abseil).

Bluue Whale

Today I added new features to Goophy:

- Keep alive config param in order to disconnect idle connections after the configured time.

- Disconnect new connections on max connections reached until there is an available connection slot.

New version up and running on my gopher hole. This will be the last version with all the code in one single file. It's time to refactor and split things 😉

#Goophy #gopher #GopherProtocol #cprogramming #c #programming #devlog

Dependable C

If You’re Going to Vibe Code, Why Not Do It in C?

Brent's manifesto on how to write C code is so deeply innovative that it’s basically just assembly with a fancier hat. 🤓💻 Apparently, he's so committed to "perfect encapsulation" that he forgot to encapsulate his own #verbosity. 🙄
https://retroscience.net/brents-c-programming-rules.html #CProgramming #Innovation #CodingTips #AssemblyLanguage #HackerNews #ngated
Brent’s Encapsulated C Programming Rules

A bunch of tips and rules I’ve created for myself for developing programs in the C programming language

Brent’s Website

I've found a use to the bad bots that scrape the internet 24/7. Finally my friends from China managed to break Goophy 😆

Because of it I've discovered a bug managing the max connections of the server. I knew I have a bug somewhere and I was waiting to find and fix it before continue to add new features and improvements. New version up and running. Let's see if my testers from China will find something else 😂

#Goophy #gopher #GopherProtocol #cprogramming #c #programming #devlog

For only €13/month, CLion will automatically include "math.h" for you, saving you hours of work.

#cprogramming #jetbrains #programming #cpp