frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Interfaces and Traits in C

https://antonz.org/interfaces-in-c/
12•ibobev•1h ago

Comments

jamesmunns•59m ago
Speaking as someone familiar with C and Rust (not so much Go!), although there's a parallel here to Rust's Traits, this actually is much closer to dyn Trait in Rust, which uses vtables and runtime polymorphism, rather than "regular" Traits in Rust, which are monomorphized versions of similar interface constraints, much closer to C++'s templates (or concepts, I'm hand waving here).

This isn't necessarily a negative, sometimes you actually prefer vtables and runtime polymorphism for various reasons like flexibility, or code size reasons. Just wanted to add some flavor for folks that aren't as familiar with Rust, that this isn't exactly how things usually work, as "regular" Trait usage is much more common than dyn Trait usage, which you have to explicitly opt-in to.

EPWN3D•32m ago
I've wound up just putting the protocol state in a struct and making the "conforming" action to have that struct in the conforming object with a standardized field name. Then just use a macro to get the protocol pointer and pass it to the protocol's implementation functions.

But I really, really wish we could have a lightweight protocol/trait feature in C. It would remove a large source of unsafe code that has to cast back and forth between void *.

Autodesk cuts 7% of workforce (~1k jobs) to redirect investments to AI, cloud

https://finance.yahoo.com/news/design-software-maker-autodesk-lay-140722710.html
1•smurda•43s ago•0 comments

Show HN: Use Git credentials stored on your host inside a dev container

https://github.com/sam-mfb/git-credential-forwarder
1•sam256•1m ago•0 comments

Settle down, nerds. AI is a normal technology (2025)

https://stackoverflow.blog/2025/12/23/settle-down-nerds-ai-is-a-normal-technology/
1•BerislavLopac•1m ago•0 comments

Pruning in Snowflake: Working Smarter, Not Harder

https://arxiv.org/abs/2504.11540
1•mooreds•1m ago•0 comments

AI, Laravel, and the Gap Between Code and Architecture

https://www.galahadsixteen.com/blog/ai-laravel-and-the-gap-between-code-and-architecture
1•bdlowery•2m ago•0 comments

We should probably stop disarming our future armed resistance

https://www.readtheline.ca/p/matt-gurney-we-should-probably-stop
1•Teever•2m ago•0 comments

Ruby Weekly #784

https://rubyweekly.com/issues/784
1•brandrick•2m ago•0 comments

Railway secures $100M to challenge AWS

https://venturebeat.com/infrastructure/railway-secures-usd100-million-to-challenge-aws-with-ai-na...
1•dban•2m ago•0 comments

Speculative Decoding Is Not a Heuristic

https://reedmeyerson.com/posts/speculative_decoding_not_heuristic/
1•reedmeyerson•2m ago•0 comments

Build an agent into any app with the GitHub Copilot SDK

https://github.blog/news-insights/company-news/build-an-agent-into-any-app-with-the-github-copilo...
1•friggeri•5m ago•0 comments

Tesla FSD give 50% on insurance price

https://twitter.com/sawyermerritt/status/2013998338790535320
1•punnerud•5m ago•0 comments

Show HN: New Website: Maravel-Framework.com/

https://maravel-framework.com/
1•marius-ciclistu•6m ago•0 comments

ClickHouse launches native Postgres service

https://clickhouse.com/blog/postgres-managed-by-clickhouse
1•samaysharma•8m ago•0 comments

Free AI Image Upscaler and Video Generator

https://waifu2x.live
1•Nancy1230•9m ago•0 comments

Show HN: AI Code Guard – Detect security flaws in Copilot/ChatGPT generated code

https://github.com/ThorneShadowbane/ai-code-guard
1•ajujaans•10m ago•0 comments

Snakes and Ladders: A Statistical Analysis

https://emiruz.com/post/2026-01-04-snakes-and-ladders/
1•usgroup•12m ago•0 comments

Single Entry Point Layer Is Underrated

https://medium.com/@HobokenDays/single-entry-point-layer-is-underrated-e116eab03b53
1•HideInNews•13m ago•0 comments

Minifeed – a curated blog reader and search engine

https://minifeed.net/welcome
1•Curiositry•13m ago•0 comments

Learn NumPy in 40 Minutes – Python NumPy Tutorial [video]

https://www.youtube.com/watch?v=zI5ducyfyNc
1•rbanffy•13m ago•0 comments

Sean's List of Open Source and Free Graphics Software

https://docs.google.com/document/d/1yNXpuy5tVP0q-El0DqoY-AwmPHT6K09NEZG-Pf0KJ7E/edit?tab=t.0
1•whit537•13m ago•1 comments

AI Assisted Development: Real World Patterns, Pitfalls, and Production Readiness

https://www.infoq.com/articles/ai-assisted-development-series/
1•rbanffy•14m ago•0 comments

First Claude Code client for Ollama local models

https://twitter.com/serafimcloud/status/2014266928853110862
1•SerafimKorablev•15m ago•0 comments

Ask HN: What is your opinion on non-mainstream mobile OS options (e.g. /e/OS)?

1•sendes•15m ago•0 comments

Show HN: Token Count – multi-agent AI comedy podcast with Temporal and GraphRAG

https://open.spotify.com/episode/2pksKPgS2C6kpW8ahdMMaN
1•helsinki•15m ago•0 comments

AI Gossip

https://link.springer.com/article/10.1007/s10676-025-09871-0
1•PaulHoule•15m ago•0 comments

How llms.txt makes your docs AI-Discoverable

https://docsalot.dev/blog/how-to-make-your-docs-ai-readable
1•fazkan•16m ago•0 comments

Energy demand and decarbonization in 2025 and beyond

https://www.nature.com/articles/s44359-025-00139-w
1•doener•16m ago•0 comments

Grok Created Sexualized Images

https://www.nytimes.com/2026/01/22/technology/grok-x-ai-elon-musk-deepfakes.html
3•carefulfungi•16m ago•2 comments

Amazon Launching Its Largest-Ever Store

https://www.wsj.com/real-estate/amazon-launching-its-largest-ever-store-c94920d8
1•bookofjoe•17m ago•1 comments

HUD - Voice Assisted Canvas with heads up display style nav

https://hud.arach.dev/
1•arach•20m ago•1 comments