frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Cloudflare Scrubs Aisuru Botnet from Top Domains List

https://krebsonsecurity.com/2025/11/cloudflare-scrubs-aisuru-botnet-from-top-domains-list/
63•jtbayly•2h ago•18 comments

Marko – A declarative, HTML‑based language that makes building web apps fun

https://markojs.com/
8•ulrischa•23m ago•1 comments

C++ move semantics from scratch (2022)

https://cbarrete.com/move-from-scratch.html
47•todsacerdoti•5d ago•24 comments

An Algebraic Language for the Manipulation of Symbolic Expressions (1958) [pdf]

https://softwarepreservation.computerhistory.org/LISP/MIT/AIM-001.pdf
41•swatson741•4h ago•4 comments

AI benchmarks are a bad joke – and LLM makers are the ones laughing

https://www.theregister.com/2025/11/07/measuring_ai_models_hampered_by/
196•pseudolus•4h ago•95 comments

Syntax and Semantics of Programming Languages

https://homepage.cs.uiowa.edu/~slonnegr/plf/Book/
20•nill0•1w ago•1 comments

52 Year old data tape could contain Unix history

https://www.theregister.com/2025/11/07/unix_fourth_edition_tape_rediscovered/
63•rbanffy•2h ago•16 comments

Driver livestreams on TikTok as she apparently hits and kills man in Chicago

https://www.theguardian.com/us-news/2025/nov/08/tiktok-live-stream-fatal-crash-chicago
42•c420•1h ago•34 comments

Valdi – A cross-platform UI framework that delivers native performance

https://github.com/Snapchat/Valdi
421•yehiaabdelm•18h ago•162 comments

Why is Zig so cool?

https://nilostolte.github.io/tech/articles/ZigCool.html
449•vitalnodo•20h ago•381 comments

Btop: A better modern alternative of htop with a gamified interface

https://github.com/aristocratos/btop
146•vismit2000•4h ago•95 comments

Making Democracy Work: Fixing and Simplifying Egalitarian Paxos

https://arxiv.org/abs/2511.02743
120•otrack•11h ago•35 comments

The modern homes hidden inside ancient ruins

https://www.ft.com/content/5f722a2e-71d8-430c-a476-95de2c4ad9a5
10•Stratoscope•5d ago•1 comments

Always Be Ready to Leave (Even If You Never Do)

https://andreacanton.dev/posts/2025-11-08-always-ready-to-leave/
44•andreacanton•7h ago•14 comments

Cekura (YC F24) Is Hiring

1•atarus•7h ago

Friendly attributes pattern in Ruby

https://brunosutic.com/blog/ruby-friendly-attributes-pattern
84•brunosutic•6d ago•55 comments

My friends and I accidentally faked the Ryzen 7 9700X3D leaks

https://old.reddit.com/r/pcmasterrace/comments/1orc6jl/my_friends_and_i_accidentally_faked_the_ry...
236•djrockstar1•7h ago•60 comments

Computational Complexity of Air Travel Planning (2003) [pdf]

http://www.ai.mit.edu/courses/6.034f/psets/ps1/airtravel.pdf
39•arnon•4d ago•2 comments

Ticker: Don't Die of Heart Disease

https://myticker.com/
199•colelyman•4h ago•179 comments

Myna: Monospace typeface designed for symbol-heavy programming languages

https://github.com/sayyadirfanali/Myna
337•birdculture•1d ago•162 comments

Reverse engineering a neural network's clever solution to binary addition (2023)

https://cprimozic.net/blog/reverse-engineering-a-small-neural-network/
49•Ameo•4d ago•12 comments

Immutable Software Deploys Using ZFS Jails on FreeBSD

https://conradresearch.com/articles/immutable-software-deploy-zfs-jails
144•vermaden•18h ago•40 comments

How did I get here?

https://how-did-i-get-here.net/
278•zachlatta•23h ago•54 comments

Why I love OCaml (2023)

https://mccd.space/posts/ocaml-the-worlds-best/
366•art-w•1d ago•262 comments

Nubeian Translation for Childhood Songs by Hamza El Din

https://nubianfoundation.org/translations/
7•tzury•6d ago•3 comments

The Medici Method

https://letter.palladiummag.com/p/early-article-the-medici-method
5•walterbell•14m ago•0 comments

Mullvad: Shutting down our search proxy Leta

https://mullvad.net/en/blog/shutting-down-our-search-proxy-leta
169•holysoles•18h ago•115 comments

The Initial Ideal Customer Profile Worksheet

https://www.reifyworks.com/writing/2023-01-30-iicp
76•mrbbk•5d ago•8 comments

Cerebras Code now supports GLM 4.6 at 1000 tokens/sec

https://www.cerebras.ai/code
154•nathabonfim59•19h ago•102 comments

YouTube Removes Windows 11 Bypass Tutorials, Claims 'Risk of Physical Harm'

https://news.itsfoss.com/youtube-removes-windows-11-bypass-tutorials/
810•WaitWaitWha•22h ago•344 comments
Open in hackernews

Zig is so cool, C is cooler

https://github.com/little-book-of/c/blob/main/articles/zig-is-cool-c-is-cooler.md
80•tamnd•4h ago

Comments

forgotpwd16•2h ago
Obviously the answer to https://nilostolte.github.io/tech/articles/ZigCool.html (discussed in https://news.ycombinator.com/item?id=45852328 ; currently both at first page alongside each other).
tamnd•2h ago
Yes, I wrote that because of the interesting discussion here, not because of the article content.
dj902ihda•1h ago
What a dumb writeup.
nepthar•1h ago
Friendly reminder to take a look at our posting guidelines, found at the bottom of the page.

What specifically did you find dumb about this?

jasonjmcghee•1h ago
Something I didn't see mentioned are alternative compilers like tcc that provide ~9x faster compilation - very useful during development etc

https://www.bellard.org/tcc/

scottlamb•1h ago
I'm not rooting for Zig [1] but I think there are some misses here, e.g.:

> Cross-compilation looks like a standout feature in Zig, although C developers have been doing the same thing for decades. ... You can target an embedded ARM board or a RISC-V chip with one flag:

Disagree: Zig's cross-compilation support is better than anything else. For one, installing a toolchain for a different OS/arch combo is not necessarily so easy with C. For another, with Zig you can target an arbitrary Linux glibc version with a commandline argument. Without Zig's toolchain, [2] the best I've seen is to run within a Docker container with that glibc version installed.

[1] almost entirely because I think all new languages should have memory safety (via GC or borrow checking).

[2] I see people linking Rust programs with Zig's toolchain for this reason: https://github.com/rust-cross/cargo-zigbuild

tamnd•1h ago
> [2] the best I've seen is to run within a Docker container with that glibc version installed.

Agreed. I will revise that section tomorrow. Also, for compiling Go with CGO enabled, using Docker is the only reliable way to produce a binary correctly linked against glibc, especially when working with RHEL.

binary132•1h ago
none of this needs to be batteries-included, and there is no reason it cannot be done just as straightforwardly for C-family languages as it has been for Zig and Rust.
estebank•1h ago
This is true of almost everything: it's not that Zig or Rust are unique on most features. Most of them have existed in one shape or another before. The praise they receive is because of the level of polish their design and implementation have and how they interact with their other features. There's no one stopping other projects from doing the same thing (modulo technical and organisational considerations), but they haven't yet, so it is reasonable to highlight them. If people talk about how good X is in language Y enough, people from language Z might notice and "steal" it. That's a good thing!
mtklein•1h ago
Zig is so good at this, it is also probably the easiest way to cross-compile C.
tamnd•1h ago
And it could be used as drop in replacement for gcc/clang

https://andrewkelley.me/post/zig-cc-powerful-drop-in-replace...

synergy20•1h ago
generally speaking, cross compilation is a solved problem for common cpus on the market. on linux it's an installation step away, prepackaged and ready to use.

for newer chips or some vendor-optimized-purpose etc, you have to rely on vendor's SDKs, zig can not help there either.

alexrp•57m ago
The selling point is not merely cross-compilation; as pointed out in the other thread, it's the any-to-any cross-compilation for any supported target. With Zig, you get to download the compiler for any supported host target and then build binaries for Linux, macOS, Windows, FreeBSD, and NetBSD. In the near future, I intend to expand that list to include OpenBSD, illumos, and SerenityOS too.
rootnod3•47m ago
Yeah, but doesn't that also apply to GCC or LLVM? Download the target-system version and go compiling away. That is not unique to ZIG.
tamnd•43m ago
I really appreciate the enormous amount of work that has gone into Zig.

Let me clarify my goal here: by writing this article I hope to hear solid counterpoints to the first one, which I didn't find very convincing, and to start a more constructive discussion.

I'm also curious, how hard is it to a new target in Zig? For example, FreeBSD and NetBSD are already supported, but OpenBSD isn't yet. What are the main challenges blocking that?

abnercoimbre•33m ago
Dude your article got flagged, which means it's no longer on the feed.

If you ever use LLMs for "technical accuracy" again, maybe actually test things on the command line.

tamnd•26m ago
Are you a moderator?

Sorry for all the negativity. I added some clarifications, but it might have been a bit too late.

n42•1h ago
It’s hard to see this article as being written in good faith. We’re at the point that we are responding to low quality LLM outputs with low quality LLM retorts and voting them both to the front page because of feelings.
averms•1h ago
the entire github organization looks to be ai slop books... why even do this?
n42•1h ago
As a fan and user of Zig I found the original post embarrassing, but chalked it up to the enthusiasm of a new user discovering the joy of something that clicked for them

Taking offense to that enthusiasm and generating this weirdly defensive and uninformed take is something else, though

fwip•1h ago
It's not "weirdly defensive and uninformed" to question the value of posting a bunch of inaccurate LLM slop, especially without any disclosures.

If you're pro-AI, you should be against this too, before these errors get used as training data.

wasabi991011•40m ago
I think you are misunderstanding, they are calling TFA a defensive and uninformed reply to the pro-Zig post from yesterday.
e2le•1h ago
I'm at the point now where I simply stop reading the article once it has too many red flags, something that is happening increasingly often.

I don't enjoy reading AI slop but it feels worse when users of AI tools have chosen not to disclose the authors of these articles as Claude/ChatGPT/etc. Rather than being honest upfront, they choose to hide this fact.

tamnd•52m ago
I added some sentences at the top, so it wont waste people's time:

Some parts of this article were refined with help from LLMs to improve clarity and technical accuracy. These are just personal notes, but I would really appreciate feedback: feel free to share your thoughts, open an issue, or send a pull request!

If you prefer to read only fully human-written articles, feel free to skip this one.

abnercoimbre•45m ago
We've flagged it. Please don't waste our time in the future.
detaro•26m ago
It clearly wasn't "refined" using LLMs when it contained commands that plainly don't work. Don't lie.
pyrolistical•1h ago
The main reason why C is used everywhere is because the C ABI is the de facto ABI.

This is why Zig was smart to have first party support for C libs.

In fact the fact Zig pointer types are more precise, it allows imported C libs to be more correct than the original C.

do_not_redeem•1h ago
Not a single mention of defer? There's no way I'll ever go back to writing goto towers.

Yes, I'm aware that some specific C toolchains have nonstandard extensions that accomplish the same thing, but if you lock yourself into one of those, the "Portability and Presence" section (and really, the first 20% of the article) goes out the window.

0x696C6961•39m ago
C is actually getting defer!
benatkin•1h ago
This feels wrong.

> Zig's compiler is self-contained. It includes a build system, cross-compilers, and package management features. This makes it simple for small projects or single-language codebases.

> C follows a different philosophy. Its toolchain is composable. The compiler, linker, build system, and package manager are independent pieces. You can use GCC or Clang, build with Make or Ninja, manage dependencies with apt or brew, and link with ld, lld, or mold.

Zig would be more composable, as rather than being separate programs, you can write code to compose them in different ways. You are composing in zig rather than bash.

tamnd•1h ago
I see it a bit differently. Zig's toolchain is self-contained: one binary gives you the compiler, build system, cross-compilers, and a package manager. It doesnt depend on the system toolchain, which makes builds reproducible and easy to move between machines.

C's ecosystem is the opposite. It is modular, built from separate tools like GCC, ld, Make, and apt. You compose them externally.

omgtehlion•1h ago
I have read both articles (this and zig-cool), and I regret the time wasted.

IMO, both articles fail to deliver on their titles :(

Both fail to list really cool parts, and both reiterate same arguments several times. This one even looks like an LLM output, but I'm not sure.

tamnd•1h ago
Sorry you felt that way.

Which parts did you feel were missing or didn't live up to the title? What kind of points or examples would have made it feel more worthwhile to you?

mzajc•15m ago
Nice dodge.
201984•1h ago
>You can target an embedded ARM board or a RISC-V chip with one flag:

  gcc main.c --target=arm-linux-gnueabihf -o app
AI hallucination? --target does not exist in GCC. Clang has -target, but you still need to install libc for the target architecture.
cesarb•1h ago
> AI hallucination? --target does not exist in GCC.

It might also be someone used to a system which symlinks "gcc" to clang for compatibility (IIRC, that's the case at least on OS X).

201984•1h ago
It's still just a single hyphen on clang, double hyphen like in the post does not work on clang either.
abnercoimbre•1h ago
Unfortunate to say the article does smell like LLMs had a heavy hand in it.
e2le•1h ago
They fixed this "mistake" a few minutes ago.

https://github.com/little-book-of/c/commit/43b0a89852a507bdd...

201984•1h ago
And that "fix" is not "one flag" any more either since you have to install that compiler somehow.
e2le•54m ago
I wonder if they are simply pasting your criticism into an AI prompt.

https://github.com/little-book-of/c/commit/349d475a5922cf005...

201984•28m ago
Lmao, probably. I'm not going to trust anything else this person has written, since this has proven to me he's writing about things he has little experience with.
ramon156•55m ago
https://github.com/little-book-of/c/commit/aa7496f9ba58ac11a...

just got updated with some clarity

> *Some parts of this article were refined with help from LLMs to improve clarity and technical accuracy. These are just personal notes, but I would really appreciate feedback: feel free to share your thoughts, open an issue, or send a pull request!*

201984•22m ago
Seems the technical accuracy wasn't improved very much, if at all.
synergy20•1h ago
gcc main.c --target=arm-linux-gnueabihf -o app

this is definitely wrong, the correct way is to use arm-linux-gnueabihf-gcc main.c instead, there is no such flag called --target per se

tamnd•1h ago
Fixed, thanks for pointing this out.
201984•1h ago
Did you not even try the original command? As you've now updated it (https://github.com/little-book-of/c/commit/43b0a89852a507bdd...), it is definitely not one simple flag since arm-linux-gnueabihf-gcc has to be installed from somewhere. It doesn't exist in a default installation of GCC that only targets the host, and you'll need to install a GCC version for every architecture you want to target.
laxd•1h ago
> But before Zig, there was C. For fifty years, C has been the foundation of modern computing.

And for fifty years, language theory has made progress. While C, brilliant as it once was, has given us never ending problems with security and reliability. The software world is saturated anyways. It's time to revise rather than just layering new junk in chase of profit.

> This article does not aim to dismiss Zig. Its focus is on the fact that C never stopped evolving.

It didn't stop but it certainly slowed down to glacial pace. There's plenty of fundamental issues that will never be fixed.

That said. I wish the software world would just keep its cool and not commit to Rust so fast. Rust was the first in a trend of new low level languages. It snowballed and now we may not get to make an informed decision on how the future of low level programming should be. I personally like Zig a lot more. Unfortunately people seem to be neither adequately scared of complexity nor sufficiently impressed by simplicity.

stephc_int13•1h ago
The Zig self-contained toolchain is one of the most appealing feature IMO, and it can also be used to compile C.

That said, I was very interested in Zig 2-3 years ago but that has mostly cooled off, C is not perfect but good/flexible enough for what I am building.

Zig has some opinionated language features/idiosyncrasies that I don't like and the syntax feels somewhat less clean.

Also, while I really like the memory management approach (passing allocators as parameters) the way it is implemented is conflicting some of my needs. There are probably some workarounds but I don't feel the need to invest much time in this language as the added QoL benefits are not simply not outweighing the cost for me.

bbkane•1h ago
I feel like passing allocators is the most flexible design (if cumbersome to use). What needs does it conflict with?
Cieric•1h ago
I really wish I could like zig more, I started using it heavily around 0.11, but I feel like as more features get implemented there is more that I like and more that I hate.

They've recently fallen into the trap of the wrong whitespace will now error compilation, which has effected me directly.

All the none blocking IO was stuck behind async, which when I was trying to use it it literally didn't exist (this might have changed in 0.15 from the videos I've seen, but all my code fails to compile now do to the former issue with whitespace).

I might come back at Zig 1.0 as long as some of the stupid decisions can be reverted or worked around in some way I find acceptable, otherwise I might just fork it myself to fix it so I can still have some fun with the language.

TheMagicHorsey•1h ago
This is like that situation where a kid goes up to the dad who abandoned him and says, "You have given me nothing! I had to do everything myself."

And the dad says back, "By giving you nothing I have given you everything. Look at the tough guy you have become!"

xigoi•41m ago
Ah yes, the “portable” language where different implementations can’t even agree on how big an integer is. Don’t get me started about the “transparency in behavior” that’s not even close to how any modern computer works.
jokoon•30m ago
I like neither C nor zig

C is too verbose, Zig has too many features and things.

I would rather have some sort of "improved C", without the complexity of C++, but with things map, string, vector math, etc, just standard quality-of-life stuff.

Zig has the same problems rust has: its syntax is too complicated, too modern and sophisticated.

Language designers need to understand that programmers are not always patient, smart or motivated to learn all those things. It's the 101 of user experience: make it easy and intuitive.

The programming language who dominate, dominate because they are accessible to lesser skilled people.

The more complex it is, the fewer chance it will reach adoption.

Too•25m ago
> It includes some of the most advanced tools in computing

Half of them which shouldn’t be needed if the language didn’t let you shoot yourself in the foot in the first place.

> Transparency in Behavior

Undefined behavior has entered the chat

> Loop structures are clean and readable

If you like fiddling with i-variables and sizeof like foreach never happened.

> Error handling and optional results use simple, explicit patterns.

Proceeds and ignores the return code of fread(), leaving errors unhandled.

At this point I lost it as became more and more obvious it’s both AI slop and it’s ignoring the past 20 years of progress in programming languages. C may have its uses but jeez don’t pretend it is ergonomic.

em-bee•18m ago
the part where C syntax examples are shown misses the same examples in zig to really allow a comparison. i am already familiar with C. giving me a C example and telling me it's better than zig does not tell me anything. i'd need to see the equivalent zig example too.